Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Dab8500_btemp.c65 bool btemp_low; member
364 di->events.btemp_low = true; in ab8500_btemp_templow_handler()
390 di->events.btemp_low = false; in ab8500_btemp_temphigh_handler()
412 di->events.btemp_low = false; in ab8500_btemp_lowmed_handler()
434 di->events.btemp_low = false; in ab8500_btemp_medhigh_handler()
480 if (di->events.btemp_low) { in ab8500_btemp_get_temp()
H A Dab8500_chargalg.c152 bool btemp_low; member
662 di->events.btemp_low = false; in ab8500_chargalg_check_temp()
678 di->events.btemp_low = true; in ab8500_chargalg_check_temp()
685 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()
1532 if (di->events.btemp_low) { in ab8500_chargalg_algorithm()
1552 if (!di->events.btemp_low && !di->events.btemp_high) in ab8500_chargalg_algorithm()
/linux/drivers/iio/adc/
H A Dab8500-gpadc.c673 int btemp_high, btemp_low; in ab8500_gpadc_read_calibration_data() local
857 btemp_low = ((gpadc_cal[4] & 0x7C) >> 2); in ab8500_gpadc_read_calibration_data()
860 gpadc->cal_data[AB8500_CAL_BTEMP].otp_calib_lo = (u16)btemp_low; in ab8500_gpadc_read_calibration_data()
863 AB8500_GPADC_CALIB_SCALE * (1300 - 21) / (btemp_high - btemp_low); in ab8500_gpadc_read_calibration_data()
865 (AB8500_GPADC_CALIB_SCALE * (1300 - 21) / (btemp_high - btemp_low)) in ab8500_gpadc_read_calibration_data()