Home
last modified time | relevance | path

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

/drivers/iio/adc/
Dab8500-gpadc.c676 int ibat_high, ibat_low; in ab8500_gpadc_read_calibration_data() local
795 ibat_high = (((gpadc_otp4[0] & 0x07) << 7) | in ab8500_gpadc_read_calibration_data()
801 (u16)ibat_high; 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()
811 * ibat_high; in ab8500_gpadc_read_calibration_data()