Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A Dab8500-gpadc.c676 int ibat_high, ibat_low; in ab8500_gpadc_read_calibration_data() local
797 ibat_low = (((gpadc_otp4[1] & 0x01) << 5) | in ab8500_gpadc_read_calibration_data()
803 (u16)ibat_low; in ab8500_gpadc_read_calibration_data()
806 << AB8500_GPADC_CALIB_SHIFT_IBAT) / (ibat_high - ibat_low); in ab8500_gpadc_read_calibration_data()
810 AB8500_GPADC_CALIB_SHIFT_IBAT) / (ibat_high - ibat_low)) in ab8500_gpadc_read_calibration_data()