Home
last modified time | relevance | path

Searched refs:odr_idx (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/iio/accel/
Dadxl355_core.c510 int odr_idx, hpf_idx, calibbias; in adxl355_write_raw() local
514 odr_idx = adxl355_find_match(adxl355_odr_table, in adxl355_write_raw()
517 if (odr_idx < 0) in adxl355_write_raw()
518 return odr_idx; in adxl355_write_raw()
520 return adxl355_set_odr(data, odr_idx); in adxl355_write_raw()
/linux-5.19.10/drivers/misc/lis3lv02d/
Dlis3lv02d.c224 int odr_idx = lis3lv02d_get_odr_index(lis3); in lis3lv02d_get_pwron_wait() local
225 int div = lis3->odrs[odr_idx]; in lis3lv02d_get_pwron_wait()
228 if (odr_idx == 0) { in lis3lv02d_get_pwron_wait()
233 dev_err(&lis3->pdev->dev, "Error unknown odrs-index: %d\n", odr_idx); in lis3lv02d_get_pwron_wait()
827 int odr_idx; in lis3lv02d_rate_show() local
831 odr_idx = lis3lv02d_get_odr_index(lis3); in lis3lv02d_rate_show()
832 return sprintf(buf, "%d\n", lis3->odrs[odr_idx]); in lis3lv02d_rate_show()