Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/mfd/
Dab8500-gpadc.c642 int vbat_high, vbat_low; in ab8500_gpadc_read_calibration_data() local
843 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()