Searched refs:ADC_INPUT_IBAT (Results 1 – 1 of 1) sorted by relevance
125 ADC_INPUT_IBAT, enumerator276 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()[all …]