Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/accel/
H A Dbma220_spi.c58 static const int bma220_scale_table[][2] = { variable
135 *val = bma220_scale_table[range_idx][0]; in bma220_read_raw()
136 *val2 = bma220_scale_table[range_idx][1]; in bma220_read_raw()
154 for (i = 0; i < ARRAY_SIZE(bma220_scale_table); i++) in bma220_write_raw()
155 if (val == bma220_scale_table[i][0] && in bma220_write_raw()
156 val2 == bma220_scale_table[i][1]) { in bma220_write_raw()
186 *vals = (int *)bma220_scale_table; in bma220_read_avail()
188 *length = ARRAY_SIZE(bma220_scale_table) * 2; in bma220_read_avail()