Searched refs:ADC_INPUT_BTEMP (Results 1 – 1 of 1) sorted by relevance
123 ADC_INPUT_BTEMP, enumerator218 if (!gpadc->cal_data[ADC_INPUT_BTEMP].gain) { in ab8500_gpadc_ad_to_voltage()225 res = (int) (ad_value * gpadc->cal_data[ADC_INPUT_BTEMP].gain + in ab8500_gpadc_ad_to_voltage()226 gpadc->cal_data[ADC_INPUT_BTEMP].offset) / CALIB_SCALE; in ab8500_gpadc_ad_to_voltage()829 gpadc->cal_data[ADC_INPUT_BTEMP].otp_calib_hi = (u16)btemp_high; in ab8500_gpadc_read_calibration_data()830 gpadc->cal_data[ADC_INPUT_BTEMP].otp_calib_lo = (u16)btemp_low; in ab8500_gpadc_read_calibration_data()832 gpadc->cal_data[ADC_INPUT_BTEMP].gain = in ab8500_gpadc_read_calibration_data()834 gpadc->cal_data[ADC_INPUT_BTEMP].offset = CALIB_SCALE * 1300 - in ab8500_gpadc_read_calibration_data()838 gpadc->cal_data[ADC_INPUT_BTEMP].gain = 0; in ab8500_gpadc_read_calibration_data()863 gpadc->cal_data[ADC_INPUT_BTEMP].gain, in ab8500_gpadc_read_calibration_data()[all …]