Searched refs:bmi160_scale_table (Results 1 – 1 of 1) sorted by relevance
221 static const struct bmi160_scale_item bmi160_scale_table[] = { variable337 for (i = 0; i < bmi160_scale_table[t].num; i++) in bmi160_set_scale()338 if (bmi160_scale_table[t].tbl[i].uscale == uscale) in bmi160_set_scale()341 if (i == bmi160_scale_table[t].num) in bmi160_set_scale()345 bmi160_scale_table[t].tbl[i].bits); in bmi160_set_scale()358 for (i = 0; i < bmi160_scale_table[t].num; i++) in bmi160_get_scale()359 if (bmi160_scale_table[t].tbl[i].bits == val) { in bmi160_get_scale()360 *uscale = bmi160_scale_table[t].tbl[i].uscale; in bmi160_get_scale()