Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iio/accel/
Dbma220_spi.c119 u8 range_idx; in bma220_read_raw() local
134 range_idx = ret & BMA220_RANGE_MASK; in bma220_read_raw()
135 *val = bma220_scale_table[range_idx][0]; in bma220_read_raw()
136 *val2 = bma220_scale_table[range_idx][1]; in bma220_read_raw()
Dfxls8962af-core.c367 u8 range_idx; in fxls8962af_read_full_scale() local
373 range_idx = FXLS8962AF_SC1_FSR_GET(reg); in fxls8962af_read_full_scale()
375 *val = fxls8962af_scale_table[range_idx][1]; in fxls8962af_read_full_scale()
403 u8 range_idx; in fxls8962af_read_samp_freq() local
409 range_idx = FXLS8962AF_SC3_WAKE_ODR_GET(reg); in fxls8962af_read_samp_freq()
411 *val = fxls8962af_samp_freq_table[range_idx][0]; in fxls8962af_read_samp_freq()
412 *val2 = fxls8962af_samp_freq_table[range_idx][1]; in fxls8962af_read_samp_freq()