Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/power/supply/
Dab8500_btemp.c65 bool btemp_low; member
365 di->events.btemp_low = true; in ab8500_btemp_templow_handler()
391 di->events.btemp_low = false; in ab8500_btemp_temphigh_handler()
413 di->events.btemp_low = false; in ab8500_btemp_lowmed_handler()
435 di->events.btemp_low = false; in ab8500_btemp_medhigh_handler()
481 if (di->events.btemp_low) { in ab8500_btemp_get_temp()
Dab8500_chargalg.c152 bool btemp_low; member
688 di->events.btemp_low = false; in ab8500_chargalg_check_temp()
704 di->events.btemp_low = true; in ab8500_chargalg_check_temp()
711 di->events.btemp_low = false; in ab8500_chargalg_check_temp()
1319 else if (di->events.btemp_low || di->events.btemp_high) { in ab8500_chargalg_algorithm()
1516 if (di->events.btemp_low) { in ab8500_chargalg_algorithm()
1536 if (!di->events.btemp_low && !di->events.btemp_high) in ab8500_chargalg_algorithm()
/linux-5.19.10/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()