Lines Matching refs:result_mdec
98 u16 adc_code, int *result_mdec);
102 u16 adc_code, int *result_mdec);
106 u16 adc_code, int *result_mdec);
110 u16 adc_code, int *result_mdec);
200 int *result_mdec) in qcom_vadc_scale_therm() argument
212 voltage, result_mdec); in qcom_vadc_scale_therm()
216 *result_mdec *= 1000; in qcom_vadc_scale_therm()
224 u16 adc_code, int *result_mdec) in qcom_vadc_scale_die_temp() argument
240 *result_mdec = voltage; in qcom_vadc_scale_die_temp()
248 u16 adc_code, int *result_mdec) in qcom_vadc_scale_chg_temp() argument
259 *result_mdec = result; in qcom_vadc_scale_chg_temp()
308 u16 adc_code, int *result_mdec) in qcom_vadc_scale_hw_calib_therm() argument
318 voltage, result_mdec); in qcom_vadc_scale_hw_calib_therm()
324 u16 adc_code, int *result_mdec) in qcom_vadc_scale_hw_calib_die_temp() argument
326 *result_mdec = qcom_vadc_scale_code_voltage_factor(adc_code, in qcom_vadc_scale_hw_calib_die_temp()
328 *result_mdec -= KELVINMIL_CELSIUSMIL; in qcom_vadc_scale_hw_calib_die_temp()
336 u16 adc_code, int *result_mdec) in qcom_vadc_scale_hw_smb_temp() argument
338 *result_mdec = qcom_vadc_scale_code_voltage_factor(adc_code * 100, in qcom_vadc_scale_hw_smb_temp()
340 *result_mdec = PMIC5_SMB_TEMP_CONSTANT - *result_mdec; in qcom_vadc_scale_hw_smb_temp()
348 u16 adc_code, int *result_mdec) in qcom_vadc_scale_hw_chg5_temp() argument
350 *result_mdec = qcom_vadc_scale_code_voltage_factor(adc_code, in qcom_vadc_scale_hw_chg5_temp()
352 *result_mdec = PMIC5_CHG_TEMP_SCALE_FACTOR - *result_mdec; in qcom_vadc_scale_hw_chg5_temp()