Home
last modified time | relevance | path

Searched refs:vmain_low (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
731 vmain_low = ((gpadc_cal[2] & 0x3E) >> 1); in ab8500_gpadc_read_calibration_data()
736 (u16)vmain_low; 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()
805 vmain_low = ((gpadc_cal[2] & 0x3E) >> 1); in ab8500_gpadc_read_calibration_data()
810 (u16)vmain_low; 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()