Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A 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()
/openbmc/linux/include/linux/iio/adc/
H A 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,