Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/iio/adc/
Dqcom-vadc-common.c357 int qcom_vadc_scale(enum vadc_scale_fn_type scaletype, in qcom_vadc_scale() argument
363 switch (scaletype) { in qcom_vadc_scale()
387 int qcom_adc5_hw_scale(enum vadc_scale_fn_type scaletype, in qcom_adc5_hw_scale() argument
392 if (!(scaletype >= SCALE_HW_CALIB_DEFAULT && in qcom_adc5_hw_scale()
393 scaletype < SCALE_HW_CALIB_INVALID)) { in qcom_adc5_hw_scale()
394 pr_err("Invalid scale type %d\n", scaletype); in qcom_adc5_hw_scale()
398 return scale_adc5_fn[scaletype].scale_fn(prescale, data, in qcom_adc5_hw_scale()
Dqcom-vadc-common.h145 int qcom_vadc_scale(enum vadc_scale_fn_type scaletype,
156 int qcom_adc5_hw_scale(enum vadc_scale_fn_type scaletype,