Searched refs:trig_cfg (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/iio/accel/ |
D | adxl380.c | 449 unsigned int trig_cfg, odr_idx; in adxl380_get_odr() local 451 ret = regmap_read(st->regmap, ADXL380_TRIG_CFG_REG, &trig_cfg); in adxl380_get_odr() 455 odr_idx = (FIELD_GET(ADXL380_TRIG_CFG_SINC_RATE_MSK, trig_cfg) << 1) | in adxl380_get_odr() 456 (FIELD_GET(ADXL380_TRIG_CFG_DEC_2X_MSK, trig_cfg) & 1); in adxl380_get_odr() 570 unsigned int trig_cfg, lpf_idx; in adxl380_get_lpf() local 574 ret = regmap_read(st->regmap, ADXL380_FILTER_REG, &trig_cfg); in adxl380_get_lpf() 578 lpf_idx = FIELD_GET(ADXL380_FILTER_LPF_MODE_MSK, trig_cfg); in adxl380_get_lpf() 617 unsigned int trig_cfg, hpf_idx; in adxl380_get_hpf() local 621 ret = regmap_read(st->regmap, ADXL380_FILTER_REG, &trig_cfg); in adxl380_get_hpf() 625 hpf_idx = FIELD_GET(ADXL380_FILTER_HPF_CORNER_MSK, trig_cfg); in adxl380_get_hpf()
|