Lines Matching refs:ADC_INPUT_IBAT
125 ADC_INPUT_IBAT, enumerator
276 if (!gpadc->cal_data[ADC_INPUT_IBAT].gain) { in ab8500_gpadc_ad_to_voltage()
283 res = (int) (ad_value * gpadc->cal_data[ADC_INPUT_IBAT].gain + in ab8500_gpadc_ad_to_voltage()
284 gpadc->cal_data[ADC_INPUT_IBAT].offset) in ab8500_gpadc_ad_to_voltage()
765 gpadc->cal_data[ADC_INPUT_IBAT].otp_calib_hi = in ab8500_gpadc_read_calibration_data()
767 gpadc->cal_data[ADC_INPUT_IBAT].otp_calib_lo = in ab8500_gpadc_read_calibration_data()
788 gpadc->cal_data[ADC_INPUT_IBAT].gain = in ab8500_gpadc_read_calibration_data()
790 gpadc->cal_data[ADC_INPUT_IBAT].offset = in ab8500_gpadc_read_calibration_data()
793 gpadc->cal_data[ADC_INPUT_IBAT].gain = 0; in ab8500_gpadc_read_calibration_data()
797 gpadc->cal_data[ADC_INPUT_IBAT].gain, in ab8500_gpadc_read_calibration_data()
798 gpadc->cal_data[ADC_INPUT_IBAT].offset); in ab8500_gpadc_read_calibration_data()
1073 *ibat_l = gpadc->cal_data[ADC_INPUT_IBAT].otp_calib_lo; in ab8540_gpadc_get_otp()
1074 *ibat_h = gpadc->cal_data[ADC_INPUT_IBAT].otp_calib_hi; in ab8540_gpadc_get_otp()