ADXL380_ACTIVITY
ret = adxl380_read_act_inact_int(st, ADXL380_ACTIVITY, &int_en);
return adxl380_act_inact_config(st, ADXL380_ACTIVITY, state);
ADXL380_ACTIVITY, val);
ADXL380_ACTIVITY, val_ms);
[ADXL380_ACTIVITY] = ADXL380_THRESH_ACT_H_REG,
[ADXL380_ACTIVITY] = ADXL380_TIME_ACT_H_REG,
if (act == ADXL380_ACTIVITY)
if (act == ADXL380_ACTIVITY)
ret = adxl380_write_act_inact_threshold(st, ADXL380_ACTIVITY,
if (type == ADXL380_ACTIVITY)
if (type == ADXL380_ACTIVITY)
if (act == ADXL380_ACTIVITY)