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

/linux-4.4.14/drivers/iio/gyro/
H A Dbmg160_core.c133 } bmg160_scale_table[] = { { 1065, BMG160_RANGE_2000DPS}, variable in typeref:struct:__anon5147
406 for (i = 0; i < ARRAY_SIZE(bmg160_scale_table); ++i) { bmg160_set_scale()
407 if (bmg160_scale_table[i].scale == val) { bmg160_set_scale()
409 bmg160_scale_table[i].dps_range); bmg160_set_scale()
415 data->dps_range = bmg160_scale_table[i].dps_range; bmg160_set_scale()
519 for (i = 0; i < ARRAY_SIZE(bmg160_scale_table); ++i) { bmg160_read_raw()
520 if (bmg160_scale_table[i].dps_range == bmg160_read_raw()
522 *val2 = bmg160_scale_table[i].scale; bmg160_read_raw()

Completed in 66 milliseconds