Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/iio/accel/
Dadxl355_core.c556 int odr_idx, hpf_idx, calibbias; in adxl355_write_raw() local
560 odr_idx = adxl355_find_match(adxl355_odr_table, in adxl355_write_raw()
563 if (odr_idx < 0) in adxl355_write_raw()
564 return odr_idx; in adxl355_write_raw()
566 return adxl355_set_odr(data, odr_idx); in adxl355_write_raw()
/Linux-v6.6/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()