Lines Matching refs:gpadc_cal
637 u8 gpadc_cal[ARRAY_SIZE(otp_cal_regs)]; in ab8500_gpadc_read_calibration_data() local
652 AB8500_OTP_EMUL, otp_cal_regs[i], &gpadc_cal[i]); in ab8500_gpadc_read_calibration_data()
729 vmain_high = (((gpadc_cal[1] & 0xFF) << 2) | in ab8500_gpadc_read_calibration_data()
730 ((gpadc_cal[2] & 0xC0) >> 6)); in ab8500_gpadc_read_calibration_data()
731 vmain_low = ((gpadc_cal[2] & 0x3E) >> 1); in ab8500_gpadc_read_calibration_data()
802 vmain_high = (((gpadc_cal[0] & 0x03) << 8) | in ab8500_gpadc_read_calibration_data()
803 ((gpadc_cal[1] & 0x3F) << 2) | in ab8500_gpadc_read_calibration_data()
804 ((gpadc_cal[2] & 0xC0) >> 6)); in ab8500_gpadc_read_calibration_data()
805 vmain_low = ((gpadc_cal[2] & 0x3E) >> 1); in ab8500_gpadc_read_calibration_data()
825 btemp_high = (((gpadc_cal[2] & 0x01) << 9) | in ab8500_gpadc_read_calibration_data()
826 (gpadc_cal[3] << 1) | ((gpadc_cal[4] & 0x80) >> 7)); in ab8500_gpadc_read_calibration_data()
827 btemp_low = ((gpadc_cal[4] & 0x7C) >> 2); in ab8500_gpadc_read_calibration_data()
843 vbat_high = (((gpadc_cal[4] & 0x03) << 8) | gpadc_cal[5]); in ab8500_gpadc_read_calibration_data()
844 vbat_low = ((gpadc_cal[6] & 0xFC) >> 2); in ab8500_gpadc_read_calibration_data()