Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/power/supply/
Dab8500_btemp.c63 bool btemp_low; member
650 di->events.btemp_low = true; in ab8500_btemp_templow_handler()
676 di->events.btemp_low = false; in ab8500_btemp_temphigh_handler()
698 di->events.btemp_low = false; in ab8500_btemp_lowmed_handler()
720 di->events.btemp_low = false; in ab8500_btemp_medhigh_handler()
766 if (di->events.btemp_low) { in ab8500_btemp_get_temp()
/Linux-v5.4/drivers/mfd/
Dab8500-gpadc.c641 int btemp_high, btemp_low; in ab8500_gpadc_read_calibration_data() local
827 btemp_low = ((gpadc_cal[4] & 0x7C) >> 2); in ab8500_gpadc_read_calibration_data()
830 gpadc->cal_data[ADC_INPUT_BTEMP].otp_calib_lo = (u16)btemp_low; 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()