Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iio/imu/bmi160/
Dbmi160_core.c263 static const struct bmi160_odr_item bmi160_odr_table[] = { variable
392 for (i = 0; i < bmi160_odr_table[t].num; i++) in bmi160_set_odr()
393 if (bmi160_odr_table[t].tbl[i].odr == odr && in bmi160_set_odr()
394 bmi160_odr_table[t].tbl[i].uodr == uodr) in bmi160_set_odr()
397 if (i >= bmi160_odr_table[t].num) in bmi160_set_odr()
403 bmi160_odr_table[t].tbl[i].bits); in bmi160_set_odr()
417 for (i = 0; i < bmi160_odr_table[t].num; i++) in bmi160_get_odr()
418 if (val == bmi160_odr_table[t].tbl[i].bits) in bmi160_get_odr()
421 if (i >= bmi160_odr_table[t].num) in bmi160_get_odr()
424 *odr = bmi160_odr_table[t].tbl[i].odr; in bmi160_get_odr()
[all …]