D | qcom-vadc-common.c | 413 s64 voltage = 0, result = 0; in qcom_vadc_scale_volt() local 415 qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); in qcom_vadc_scale_volt() 417 voltage *= prescale->denominator; in qcom_vadc_scale_volt() 418 result = div64_s64(voltage, prescale->numerator); in qcom_vadc_scale_volt() 429 s64 voltage = 0; in qcom_vadc_scale_therm() local 432 qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); in qcom_vadc_scale_therm() 435 voltage = div64_s64(voltage, 1000); in qcom_vadc_scale_therm() 439 voltage, result_mdec); in qcom_vadc_scale_therm() 451 s64 voltage = 0; in qcom_vadc_scale_die_temp() local 454 qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); in qcom_vadc_scale_die_temp() [all …]
|