Searched refs:vbat_high (Results 1 – 1 of 1) sorted by relevance
642 int vbat_high, vbat_low; in ab8500_gpadc_read_calibration_data() local843 vbat_high = (((gpadc_cal[4] & 0x03) << 8) | gpadc_cal[5]); in ab8500_gpadc_read_calibration_data()846 gpadc->cal_data[ADC_INPUT_VBAT].otp_calib_hi = (u16)vbat_high; in ab8500_gpadc_read_calibration_data()850 (4700 - 2380) / (vbat_high - vbat_low); in ab8500_gpadc_read_calibration_data()853 (vbat_high - vbat_low)) * vbat_high; in ab8500_gpadc_read_calibration_data()