Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/iio/gyro/
Dbmg160_core.c130 } bmg160_scale_table[] = { { 1065, BMG160_RANGE_2000DPS}, variable
471 for (i = 0; i < ARRAY_SIZE(bmg160_scale_table); ++i) { in bmg160_set_scale()
472 if (bmg160_scale_table[i].scale == val) { in bmg160_set_scale()
474 bmg160_scale_table[i].dps_range); in bmg160_set_scale()
479 data->dps_range = bmg160_scale_table[i].dps_range; in bmg160_set_scale()
586 for (i = 0; i < ARRAY_SIZE(bmg160_scale_table); ++i) { in bmg160_read_raw()
587 if (bmg160_scale_table[i].dps_range == in bmg160_read_raw()
590 *val2 = bmg160_scale_table[i].scale; in bmg160_read_raw()