Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/accel/
H A Dfxls8962af-core.c139 static const int fxls8962af_scale_table[FXLS8962AF_SCALE_TABLE_LEN][2] = { variable
291 *vals = (int *)fxls8962af_scale_table; in fxls8962af_read_avail()
292 *length = ARRAY_SIZE(fxls8962af_scale_table) * 2; in fxls8962af_read_avail()
348 for (i = 0; i < ARRAY_SIZE(fxls8962af_scale_table); i++) in fxls8962af_set_full_scale()
349 if (scale == fxls8962af_scale_table[i][1]) in fxls8962af_set_full_scale()
352 if (i == ARRAY_SIZE(fxls8962af_scale_table)) in fxls8962af_set_full_scale()
373 *val = fxls8962af_scale_table[range_idx][1]; in fxls8962af_read_full_scale()