Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/mfd/
Dab8500-gpadc.c640 int vmain_high, vmain_low; in ab8500_gpadc_read_calibration_data() local
729 vmain_high = (((gpadc_cal[1] & 0xFF) << 2) | in ab8500_gpadc_read_calibration_data()
734 (u16)vmain_high; in ab8500_gpadc_read_calibration_data()
739 (19500 - 315) / (vmain_high - vmain_low); in ab8500_gpadc_read_calibration_data()
742 (vmain_high - vmain_low)) * vmain_high; in ab8500_gpadc_read_calibration_data()
802 vmain_high = (((gpadc_cal[0] & 0x03) << 8) | in ab8500_gpadc_read_calibration_data()
808 (u16)vmain_high; in ab8500_gpadc_read_calibration_data()
813 (19500 - 315) / (vmain_high - vmain_low); in ab8500_gpadc_read_calibration_data()
817 (vmain_high - vmain_low)) * vmain_high; in ab8500_gpadc_read_calibration_data()