Searched refs:btemp_high (Results 1 – 2 of 2) sorted by relevance
60 bool btemp_high; member651 di->events.btemp_high = false; in ab8500_btemp_templow_handler()673 di->events.btemp_high = true; in ab8500_btemp_temphigh_handler()697 di->events.btemp_high = false; in ab8500_btemp_lowmed_handler()719 di->events.btemp_high = false; in ab8500_btemp_medhigh_handler()771 } else if (di->events.btemp_high) { in ab8500_btemp_get_temp()
641 int btemp_high, btemp_low; in ab8500_gpadc_read_calibration_data() local825 btemp_high = (((gpadc_cal[2] & 0x01) << 9) | in ab8500_gpadc_read_calibration_data()829 gpadc->cal_data[ADC_INPUT_BTEMP].otp_calib_hi = (u16)btemp_high; in ab8500_gpadc_read_calibration_data()833 CALIB_SCALE * (1300 - 21) / (btemp_high - btemp_low); in ab8500_gpadc_read_calibration_data()835 (CALIB_SCALE * (1300 - 21) / (btemp_high - btemp_low)) in ab8500_gpadc_read_calibration_data()836 * btemp_high; in ab8500_gpadc_read_calibration_data()