Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/iio/imu/bmi160/
Dbmi160_core.c258 static const struct bmi160_odr_item bmi160_odr_table[] = { variable
387 for (i = 0; i < bmi160_odr_table[t].num; i++) in bmi160_set_odr()
388 if (bmi160_odr_table[t].tbl[i].odr == odr && in bmi160_set_odr()
389 bmi160_odr_table[t].tbl[i].uodr == uodr) in bmi160_set_odr()
392 if (i >= bmi160_odr_table[t].num) in bmi160_set_odr()
398 bmi160_odr_table[t].tbl[i].bits); in bmi160_set_odr()
412 for (i = 0; i < bmi160_odr_table[t].num; i++) in bmi160_get_odr()
413 if (val == bmi160_odr_table[t].tbl[i].bits) in bmi160_get_odr()
416 if (i >= bmi160_odr_table[t].num) in bmi160_get_odr()
419 *odr = bmi160_odr_table[t].tbl[i].odr; in bmi160_get_odr()
[all …]