Searched refs:btemp_high (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/mfd/
H A Dab8500-gpadc.c641 int btemp_high, btemp_low; ab8500_gpadc_read_calibration_data() local
664 * bt_h/l = btemp_high/low ab8500_gpadc_read_calibration_data()
720 * btemp_high: Vin = 1300mV / ADC ideal code = 985 ab8500_gpadc_read_calibration_data()
824 btemp_high = (((gpadc_cal[2] & 0x01) << 9) | ab8500_gpadc_read_calibration_data()
828 gpadc->cal_data[ADC_INPUT_BTEMP].otp_calib_hi = (u16)btemp_high; ab8500_gpadc_read_calibration_data()
832 CALIB_SCALE * (1300 - 21) / (btemp_high - btemp_low); ab8500_gpadc_read_calibration_data()
834 (CALIB_SCALE * (1300 - 21) / (btemp_high - btemp_low)) ab8500_gpadc_read_calibration_data()
835 * btemp_high; ab8500_gpadc_read_calibration_data()
/linux-4.4.14/drivers/power/
H A Dab8500_btemp.c60 bool btemp_high; member in struct:ab8500_btemp_events
712 di->events.btemp_high = false; ab8500_btemp_templow_handler()
734 di->events.btemp_high = true; ab8500_btemp_temphigh_handler()
758 di->events.btemp_high = false; ab8500_btemp_lowmed_handler()
780 di->events.btemp_high = false; ab8500_btemp_medhigh_handler()
832 } else if (di->events.btemp_high) { ab8500_btemp_get_temp()

Completed in 78 milliseconds