Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/iio/adc/
Dab8500-gpadc.c673 int vmain_high, vmain_low; in ab8500_gpadc_read_calibration_data() local
766 vmain_low = ((gpadc_cal[2] & 0x3E) >> 1); in ab8500_gpadc_read_calibration_data()
771 (u16)vmain_low; 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()
836 vmain_low = ((gpadc_cal[2] & 0x3E) >> 1); in ab8500_gpadc_read_calibration_data()
841 (u16)vmain_low; 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()