Home
last modified time | relevance | path

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

/linux/drivers/iio/accel/
H A Dadxl313_core.c161 static const int adxl313_odr_freqs[][2] = { variable
201 for (i = 0; i < ARRAY_SIZE(adxl313_odr_freqs); i++) { in adxl313_set_odr()
202 if (adxl313_odr_freqs[i][0] == freq1 && in adxl313_set_odr()
203 adxl313_odr_freqs[i][1] == freq2) in adxl313_set_odr()
207 if (i == ARRAY_SIZE(adxl313_odr_freqs)) in adxl313_set_odr()
242 *vals = (const int *)adxl313_odr_freqs; in adxl313_read_freq_avail()
243 *length = ARRAY_SIZE(adxl313_odr_freqs) * 2; in adxl313_read_freq_avail()
291 *val = adxl313_odr_freqs[ret][0]; in adxl313_read_raw()
292 *val2 = adxl313_odr_freqs[ret][1]; in adxl313_read_raw()