Searched refs:avg_samples (Results 1 – 3 of 3) sorted by relevance
81 u32 avg_samples; member153 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()
102 unsigned int avg_samples; member245 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()
506 enum meson_sar_adc_num_samples avg_samples, in meson_sar_adc_get_sample() argument518 meson_sar_adc_set_averaging(indio_dev, chan, avg_mode, avg_samples); in meson_sar_adc_get_sample()