Home
last modified time | relevance | path

Searched refs:gpadc_cal (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/iio/adc/
Dab8500-gpadc.c670 u8 gpadc_cal[ARRAY_SIZE(otp_cal_regs)]; in ab8500_gpadc_read_calibration_data() local
682 AB8500_OTP_EMUL, otp_cal_regs[i], &gpadc_cal[i]); in ab8500_gpadc_read_calibration_data()
764 vmain_high = (((gpadc_cal[1] & 0xFF) << 2) | in ab8500_gpadc_read_calibration_data()
765 ((gpadc_cal[2] & 0xC0) >> 6)); in ab8500_gpadc_read_calibration_data()
766 vmain_low = ((gpadc_cal[2] & 0x3E) >> 1); in ab8500_gpadc_read_calibration_data()
833 vmain_high = (((gpadc_cal[0] & 0x03) << 8) | in ab8500_gpadc_read_calibration_data()
834 ((gpadc_cal[1] & 0x3F) << 2) | in ab8500_gpadc_read_calibration_data()
835 ((gpadc_cal[2] & 0xC0) >> 6)); in ab8500_gpadc_read_calibration_data()
836 vmain_low = ((gpadc_cal[2] & 0x3E) >> 1); in ab8500_gpadc_read_calibration_data()
856 btemp_high = (((gpadc_cal[2] & 0x01) << 9) | in ab8500_gpadc_read_calibration_data()
[all …]