Lines Matching full:decimation
73 * Conversion time varies based on the decimation, clock rate, fast average
107 * @decimation: sampling rate supported for the channel.
122 unsigned int decimation; member
221 const unsigned int *decimation) in adc5_decimation_from_dt() argument
226 if (value == decimation[i]) in adc5_decimation_from_dt()
291 /* Update decimation ratio select */ in adc5_update_dig_param()
293 *data |= (prop->decimation << ADC5_USR_DIG_PARAM_DEC_RATIO_SEL_SHIFT); in adc5_update_dig_param()
718 ret = of_property_read_u32(node, "qcom,decimation", &value); in adc5_get_dt_channel_data()
720 ret = adc5_decimation_from_dt(value, data->decimation); in adc5_get_dt_channel_data()
722 dev_err(dev, "%02x invalid decimation %d\n", in adc5_get_dt_channel_data()
726 prop->decimation = ret; in adc5_get_dt_channel_data()
728 prop->decimation = ADC5_DECIMATION_DEFAULT; in adc5_get_dt_channel_data()
812 .decimation = (unsigned int [ADC5_DECIMATION_SAMPLES_MAX])
826 .decimation = (unsigned int [ADC5_DECIMATION_SAMPLES_MAX])
839 .decimation = (unsigned int [ADC5_DECIMATION_SAMPLES_MAX])