Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iio/adc/
Dad7192.c213 u32 oversampling_ratio_avail[4]; member
640 st->oversampling_ratio_avail[0] = 1; in ad7192_setup()
641 st->oversampling_ratio_avail[1] = 2; in ad7192_setup()
642 st->oversampling_ratio_avail[2] = 8; in ad7192_setup()
643 st->oversampling_ratio_avail[3] = 16; in ad7192_setup()
733 oversampling_ratio = st->oversampling_ratio_avail[avg_factor_selected]; in ad7192_compute_f_order()
939 *val = st->oversampling_ratio_avail[FIELD_GET(AD7192_MODE_AVG_MASK, st->mode)]; in ad7192_read_raw()
1001 for (i = 0; i < ARRAY_SIZE(st->oversampling_ratio_avail); i++) in ad7192_write_raw()
1002 if (val == st->oversampling_ratio_avail[i]) { in ad7192_write_raw()
1066 *vals = (int *)st->oversampling_ratio_avail; in ad7192_read_avail()
[all …]