Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/iio/adc/
Dspear_adc.c81 u32 avg_samples; member
153 SPEAR_ADC_STATUS_AVG_SAMPLE(st->avg_samples) | in spear_adc_read_raw()
328 of_property_read_u32(np, "average-samples", &st->avg_samples); in spear_adc_probe()
Dqcom-spmi-vadc.c102 unsigned int avg_samples; member
245 ret = vadc_write(vadc, VADC_FAST_AVG_CTL, prop->avg_samples); in vadc_configure()
249 if (prop->avg_samples) in vadc_configure()
332 timeout = BIT(prop->avg_samples) * VADC_CONV_TIME_MIN_US * 2; in vadc_do_conversion()
728 prop->avg_samples = ret; in vadc_get_dt_channel_data()
730 prop->avg_samples = VADC_DEF_AVG_SAMPLES; in vadc_get_dt_channel_data()
Dmeson_saradc.c506 enum meson_sar_adc_num_samples avg_samples, in meson_sar_adc_get_sample() argument
518 meson_sar_adc_set_averaging(indio_dev, chan, avg_mode, avg_samples); in meson_sar_adc_get_sample()