Searched refs:hpf_idx (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/iio/gyro/ |
D | adxrs290.c | 205 const unsigned int hpf_idx) in adxrs290_set_filter_freq() argument 210 val = ADXRS290_HPF(hpf_idx) | ADXRS290_LPF(lpf_idx); in adxrs290_set_filter_freq() 367 int ret, lpf_idx, hpf_idx; in adxrs290_write_raw() local 386 hpf_idx = st->hpf_3db_freq_idx; in adxrs290_write_raw() 387 ret = adxrs290_set_filter_freq(indio_dev, lpf_idx, hpf_idx); in adxrs290_write_raw() 391 hpf_idx = adxrs290_find_match(adxrs290_hpf_3db_freq_hz_table, in adxrs290_write_raw() 394 if (hpf_idx < 0) { in adxrs290_write_raw() 400 st->hpf_3db_freq_idx = hpf_idx; in adxrs290_write_raw() 403 ret = adxrs290_set_filter_freq(indio_dev, lpf_idx, hpf_idx); in adxrs290_write_raw()
|
/linux-5.19.10/drivers/iio/accel/ |
D | adxl355_core.c | 510 int odr_idx, hpf_idx, calibbias; in adxl355_write_raw() local 522 hpf_idx = adxl355_find_match(data->adxl355_hpf_3db_table, in adxl355_write_raw() 525 if (hpf_idx < 0) in adxl355_write_raw() 526 return hpf_idx; in adxl355_write_raw() 528 return adxl355_set_hpf_3db(data, hpf_idx); in adxl355_write_raw()
|