Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/iio/gyro/
Dbmg160_core.c136 } bmg160_scale_table[] = { { 1065, BMG160_RANGE_2000DPS}, variable
477 for (i = 0; i < ARRAY_SIZE(bmg160_scale_table); ++i) { in bmg160_set_scale()
478 if (bmg160_scale_table[i].scale == val) { in bmg160_set_scale()
480 bmg160_scale_table[i].dps_range); in bmg160_set_scale()
485 data->dps_range = bmg160_scale_table[i].dps_range; in bmg160_set_scale()
592 for (i = 0; i < ARRAY_SIZE(bmg160_scale_table); ++i) { in bmg160_read_raw()
593 if (bmg160_scale_table[i].dps_range == in bmg160_read_raw()
596 *val2 = bmg160_scale_table[i].scale; in bmg160_read_raw()