Searched refs:scale_voltage (Results 1 – 2 of 2) sorted by relevance
396 s64 *scale_voltage) in qcom_vadc_scale_calib() argument398 *scale_voltage = (adc_code - calib_graph->gnd); in qcom_vadc_scale_calib()399 *scale_voltage *= calib_graph->dx; in qcom_vadc_scale_calib()400 *scale_voltage = div64_s64(*scale_voltage, calib_graph->dy); in qcom_vadc_scale_calib()402 *scale_voltage += calib_graph->dx; in qcom_vadc_scale_calib()404 if (*scale_voltage < 0) in qcom_vadc_scale_calib()405 *scale_voltage = 0; in qcom_vadc_scale_calib()
77 static int scale_voltage; variable894 if ((longhaul_version != TYPE_LONGHAUL_V1) && (scale_voltage != 0)) in longhaul_cpu_init()984 module_param(scale_voltage, int, 0644);985 MODULE_PARM_DESC(scale_voltage, "Scale voltage of processor");