Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A Dti_am335x_adc.c51 u32 open_delay[8], sample_delay[8], step_avg[8]; member
126 if (adc_dev->step_avg[i]) in tiadc_step_config()
127 stepconfig = STEPCONFIG_AVG(ffs(adc_dev->step_avg[i]) - 1) | in tiadc_step_config()
579 adc_dev->step_avg[channels] = 16; in tiadc_parse_dt()
587 adc_dev->step_avg, channels); in tiadc_parse_dt()
598 if (adc_dev->step_avg[i] > STEPCONFIG_AVG_16) { in tiadc_parse_dt()
602 adc_dev->step_avg[i] = STEPCONFIG_AVG_16; in tiadc_parse_dt()