Searched refs:vbat_high (Results 1 – 1 of 1) sorted by relevance
675 int vbat_high, vbat_low; in ab8500_gpadc_read_calibration_data() local874 vbat_high = (((gpadc_cal[4] & 0x03) << 8) | gpadc_cal[5]); in ab8500_gpadc_read_calibration_data()877 gpadc->cal_data[AB8500_CAL_VBAT].otp_calib_hi = (u16)vbat_high; in ab8500_gpadc_read_calibration_data()881 (4700 - 2380) / (vbat_high - vbat_low); in ab8500_gpadc_read_calibration_data()884 (vbat_high - vbat_low)) * vbat_high; in ab8500_gpadc_read_calibration_data()