Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/imu/bmi160/
H A Dbmi160_core.c215 static const struct bmi160_scale_item bmi160_scale_table[] = { variable
331 for (i = 0; i < bmi160_scale_table[t].num; i++) in bmi160_set_scale()
332 if (bmi160_scale_table[t].tbl[i].uscale == uscale) in bmi160_set_scale()
335 if (i == bmi160_scale_table[t].num) in bmi160_set_scale()
339 bmi160_scale_table[t].tbl[i].bits); in bmi160_set_scale()
352 for (i = 0; i < bmi160_scale_table[t].num; i++) in bmi160_get_scale()
353 if (bmi160_scale_table[t].tbl[i].bits == val) { in bmi160_get_scale()
354 *uscale = bmi160_scale_table[t].tbl[i].uscale; in bmi160_get_scale()