Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/iio/adc/
Dqcom-vadc-common.c637 int qcom_vadc_scale(enum vadc_scale_fn_type scaletype, in qcom_vadc_scale() argument
643 switch (scaletype) { in qcom_vadc_scale()
691 int qcom_adc5_hw_scale(enum vadc_scale_fn_type scaletype, in qcom_adc5_hw_scale() argument
698 if (!(scaletype >= SCALE_HW_CALIB_DEFAULT && in qcom_adc5_hw_scale()
699 scaletype < SCALE_HW_CALIB_INVALID)) { in qcom_adc5_hw_scale()
700 pr_err("Invalid scale type %d\n", scaletype); in qcom_adc5_hw_scale()
704 return scale_adc5_fn[scaletype].scale_fn(prescale, data, in qcom_adc5_hw_scale()
/linux-5.19.10/include/linux/iio/adc/
Dqcom-vadc-common.h136 int qcom_vadc_scale(enum vadc_scale_fn_type scaletype,
147 int qcom_adc5_hw_scale(enum vadc_scale_fn_type scaletype,