Searched refs:btemp_low (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
721 * btemp_low: Vin = 21mV / ADC ideal code = 16 ab8500_gpadc_read_calibration_data()
826 btemp_low = ((gpadc_cal[4] & 0x7C) >> 2); ab8500_gpadc_read_calibration_data()
829 gpadc->cal_data[ADC_INPUT_BTEMP].otp_calib_lo = (u16)btemp_low; 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()
/linux-4.4.14/drivers/power/
H A Dab8500_btemp.c63 bool btemp_low; member in struct:ab8500_btemp_events
711 di->events.btemp_low = true; ab8500_btemp_templow_handler()
737 di->events.btemp_low = false; ab8500_btemp_temphigh_handler()
759 di->events.btemp_low = false; ab8500_btemp_lowmed_handler()
781 di->events.btemp_low = false; ab8500_btemp_medhigh_handler()
827 if (di->events.btemp_low) { ab8500_btemp_get_temp()

Completed in 109 milliseconds