Searched refs:gpadc_cal (Results 1 – 1 of 1) sorted by relevance
637 u8 gpadc_cal[ARRAY_SIZE(otp_cal_regs)]; in ab8500_gpadc_read_calibration_data() local652 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()[all …]