Searched refs:btemp_high (Results 1 – 2 of 2) sorted by relevance
674 int btemp_high, btemp_low; in ab8500_gpadc_read_calibration_data() local 699 * bt_h/l = btemp_high/low in ab8500_gpadc_read_calibration_data() 755 * btemp_high: Vin = 1300mV / ADC ideal code = 985 in ab8500_gpadc_read_calibration_data() 856 btemp_high = (((gpadc_cal[2] & 0x01) << 9) | in ab8500_gpadc_read_calibration_data() 860 gpadc->cal_data[AB8500_CAL_BTEMP].otp_calib_hi = (u16)btemp_high; in ab8500_gpadc_read_calibration_data() 864 AB8500_GPADC_CALIB_SCALE * (1300 - 21) / (btemp_high - btemp_low); in ab8500_gpadc_read_calibration_data() 866 (AB8500_GPADC_CALIB_SCALE * (1300 - 21) / (btemp_high - btemp_low)) in ab8500_gpadc_read_calibration_data() 867 * btemp_high; in ab8500_gpadc_read_calibration_data()
153 bool btemp_high; member 660 di->events.btemp_high = false; in ab8500_chargalg_check_temp() 668 di->events.btemp_high = true; in ab8500_chargalg_check_temp() 683 di->events.btemp_high = false; in ab8500_chargalg_check_temp() 1316 else if (di->events.btemp_low || di->events.btemp_high) { in ab8500_chargalg_algorithm() 1533 } else if (di->events.btemp_high) { in ab8500_chargalg_algorithm() 1549 if (!di->events.btemp_low && !di->events.btemp_high) in ab8500_chargalg_algorithm()