Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/iio/adc/
Dqcom-vadc-common.c98 s64 *scale_voltage) in qcom_vadc_scale_calib() argument
100 *scale_voltage = (adc_code - calib_graph->gnd); in qcom_vadc_scale_calib()
101 *scale_voltage *= calib_graph->dx; in qcom_vadc_scale_calib()
102 *scale_voltage = div64_s64(*scale_voltage, calib_graph->dy); in qcom_vadc_scale_calib()
104 *scale_voltage += calib_graph->dx; in qcom_vadc_scale_calib()
106 if (*scale_voltage < 0) in qcom_vadc_scale_calib()
107 *scale_voltage = 0; in qcom_vadc_scale_calib()
/linux-4.19.296/drivers/cpufreq/
Dlonghaul.c77 static int scale_voltage; variable
894 if ((longhaul_version != TYPE_LONGHAUL_V1) && (scale_voltage != 0)) in longhaul_cpu_init()
986 module_param(scale_voltage, int, 0644);
987 MODULE_PARM_DESC(scale_voltage, "Scale voltage of processor");