Home
last modified time | relevance | path

Searched refs:btemp_low (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-6.6/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
659 di->events.btemp_low = false; in ab8500_chargalg_check_temp()
675 di->events.btemp_low = true; in ab8500_chargalg_check_temp()
682 di->events.btemp_low = false; in ab8500_chargalg_check_temp()
1318 else if (di->events.btemp_low || di->events.btemp_high) { in ab8500_chargalg_algorithm()
1531 if (di->events.btemp_low) { in ab8500_chargalg_algorithm()
1551 if (!di->events.btemp_low && !di->events.btemp_high) in ab8500_chargalg_algorithm()
/kernel/linux/linux-5.10/drivers/power/supply/
H A Dab8500_btemp.c63 bool btemp_low; member
652 di->events.btemp_low = true; in ab8500_btemp_templow_handler()
678 di->events.btemp_low = false; in ab8500_btemp_temphigh_handler()
700 di->events.btemp_low = false; in ab8500_btemp_lowmed_handler()
722 di->events.btemp_low = false; in ab8500_btemp_medhigh_handler()
768 if (di->events.btemp_low) { in ab8500_btemp_get_temp()
/kernel/linux/linux-5.10/drivers/iio/adc/
H A Dab8500-gpadc.c674 int btemp_high, btemp_low; in ab8500_gpadc_read_calibration_data() local
756 * btemp_low: Vin = 21mV / ADC ideal code = 16 in ab8500_gpadc_read_calibration_data()
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()
/kernel/linux/linux-6.6/drivers/iio/adc/
H A Dab8500-gpadc.c674 int btemp_high, btemp_low; in ab8500_gpadc_read_calibration_data() local
756 * btemp_low: Vin = 21mV / ADC ideal code = 16 in ab8500_gpadc_read_calibration_data()
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()

Completed in 9 milliseconds