Lines Matching refs:decimation
167 unsigned int *decimation;
185 * @decimation: sampling rate supported for the channel.
201 unsigned int decimation; /* For Gen2 ADC_TM */
218 * @decimation: sampling rate supported for the channel.
235 unsigned int decimation;
593 buf[2] |= FIELD_PREP(ADC_TM_GEN2_CTL_DEC_RATIO_MASK, channel->decimation);
710 buf[0] = chip->decimation;
740 buf[0] = chip->decimation;
872 ret = of_property_read_u32(node, "qcom,decimation", &value);
874 ret = qcom_adc5_decimation_from_dt(value, adc_tm->data->decimation);
876 dev_err(dev, "invalid decimation %d\n", value);
879 channel->decimation = ret;
881 channel->decimation = ADC5_DECIMATION_DEFAULT;
902 .decimation = (unsigned int []) { 250, 420, 840 },
916 .decimation = (unsigned int []) { 256, 512, 1024 },
929 .decimation = (unsigned int []) { 85, 340, 1360 },
964 ret = of_property_read_u32(node, "qcom,decimation", &value);
966 ret = qcom_adc5_decimation_from_dt(value, adc_tm->data->decimation);
968 dev_err(dev, "invalid decimation %d\n", value);
971 adc_tm->decimation = ret;
973 adc_tm->decimation = ADC5_DECIMATION_DEFAULT;