Lines Matching refs:tbl
212 const struct bmi160_scale *tbl; member
218 .tbl = bmi160_accel_scale,
222 .tbl = bmi160_gyro_scale,
254 const struct bmi160_odr *tbl; member
260 .tbl = bmi160_accel_odr,
264 .tbl = bmi160_gyro_odr,
333 if (bmi160_scale_table[t].tbl[i].uscale == uscale) in bmi160_set_scale()
340 bmi160_scale_table[t].tbl[i].bits); in bmi160_set_scale()
354 if (bmi160_scale_table[t].tbl[i].bits == val) { in bmi160_get_scale()
355 *uscale = bmi160_scale_table[t].tbl[i].uscale; in bmi160_get_scale()
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()
398 bmi160_odr_table[t].tbl[i].bits); in bmi160_set_odr()
413 if (val == bmi160_odr_table[t].tbl[i].bits) in bmi160_get_odr()
419 *odr = bmi160_odr_table[t].tbl[i].odr; in bmi160_get_odr()
420 *uodr = bmi160_odr_table[t].tbl[i].uodr; in bmi160_get_odr()