Searched refs:vmain_high (Results 1 – 1 of 1) sorted by relevance
673 int vmain_high, vmain_low; in ab8500_gpadc_read_calibration_data() local764 vmain_high = (((gpadc_cal[1] & 0xFF) << 2) | in ab8500_gpadc_read_calibration_data()769 (u16)vmain_high; in ab8500_gpadc_read_calibration_data()774 (19500 - 315) / (vmain_high - vmain_low); in ab8500_gpadc_read_calibration_data()777 (vmain_high - vmain_low)) * vmain_high; in ab8500_gpadc_read_calibration_data()833 vmain_high = (((gpadc_cal[0] & 0x03) << 8) | in ab8500_gpadc_read_calibration_data()839 (u16)vmain_high; in ab8500_gpadc_read_calibration_data()844 (19500 - 315) / (vmain_high - vmain_low); in ab8500_gpadc_read_calibration_data()848 (vmain_high - vmain_low)) * vmain_high; in ab8500_gpadc_read_calibration_data()