Home
last modified time | relevance | path

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

/drivers/iio/adc/
Dqcom-vadc-common.c292 static const struct u32_fract adc5_prescale_ratios[] = { variable
670 const struct u32_fract *prescale = &adc5_prescale_ratios[prescale_ratio]; in qcom_adc_tm5_temp_volt_scale()
696 const struct u32_fract *prescale = &adc5_prescale_ratios[prescale_ratio]; in qcom_adc5_hw_scale()
713 for (pre = 0; pre < ARRAY_SIZE(adc5_prescale_ratios); pre++) in qcom_adc5_prescaling_from_dt()
714 if (adc5_prescale_ratios[pre].numerator == numerator && in qcom_adc5_prescaling_from_dt()
715 adc5_prescale_ratios[pre].denominator == denominator) in qcom_adc5_prescaling_from_dt()
718 if (pre == ARRAY_SIZE(adc5_prescale_ratios)) in qcom_adc5_prescaling_from_dt()