Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/power/supply/
Dab8500_btemp.c66 bool btemp_low; member
646 di->events.btemp_low = true; in ab8500_btemp_templow_handler()
672 di->events.btemp_low = false; in ab8500_btemp_temphigh_handler()
694 di->events.btemp_low = false; in ab8500_btemp_lowmed_handler()
716 di->events.btemp_low = false; in ab8500_btemp_medhigh_handler()
762 if (di->events.btemp_low) { in ab8500_btemp_get_temp()
/Linux-v5.15/drivers/iio/adc/
Dab8500-gpadc.c674 int btemp_high, btemp_low; in ab8500_gpadc_read_calibration_data() local
858 btemp_low = ((gpadc_cal[4] & 0x7C) >> 2); in ab8500_gpadc_read_calibration_data()
861 gpadc->cal_data[AB8500_CAL_BTEMP].otp_calib_lo = (u16)btemp_low; 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()