Home
last modified time | relevance | path

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

/drivers/power/supply/
Dab8500_btemp.c62 bool btemp_high; member
365 di->events.btemp_high = false; in ab8500_btemp_templow_handler()
387 di->events.btemp_high = true; in ab8500_btemp_temphigh_handler()
411 di->events.btemp_high = false; in ab8500_btemp_lowmed_handler()
433 di->events.btemp_high = false; in ab8500_btemp_medhigh_handler()
485 } else if (di->events.btemp_high) { in ab8500_btemp_get_temp()
Dab8500_chargalg.c153 bool btemp_high; member
660 di->events.btemp_high = false; in ab8500_chargalg_check_temp()
668 di->events.btemp_high = true; in ab8500_chargalg_check_temp()
683 di->events.btemp_high = false; in ab8500_chargalg_check_temp()
1318 else if (di->events.btemp_low || di->events.btemp_high) { in ab8500_chargalg_algorithm()
1535 } else if (di->events.btemp_high) { in ab8500_chargalg_algorithm()
1551 if (!di->events.btemp_low && !di->events.btemp_high) in ab8500_chargalg_algorithm()
/drivers/iio/adc/
Dab8500-gpadc.c674 int btemp_high, btemp_low; in ab8500_gpadc_read_calibration_data() local
856 btemp_high = (((gpadc_cal[2] & 0x01) << 9) | in ab8500_gpadc_read_calibration_data()
860 gpadc->cal_data[AB8500_CAL_BTEMP].otp_calib_hi = (u16)btemp_high; 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()
867 * btemp_high; in ab8500_gpadc_read_calibration_data()