Home
last modified time | relevance | path

Searched full:btemp_high (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/power/supply/
Dstericsson,ab8500-btemp.yaml35 - const: BTEMP_HIGH
71 "BTEMP_HIGH",
/linux-6.12.1/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()
627 {"BTEMP_HIGH", ab8500_btemp_temphigh_handler},
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()
1317 else if (di->events.btemp_low || di->events.btemp_high) { in ab8500_chargalg_algorithm()
1534 } else if (di->events.btemp_high) { in ab8500_chargalg_algorithm()
1550 if (!di->events.btemp_low && !di->events.btemp_high) in ab8500_chargalg_algorithm()
Dab8500_charger.c1427 * Due to a bug in AB8500, BTEMP_HIGH/LOW interrupts in ab8500_charger_ac_en()
1600 * Due to a bug in AB8500, BTEMP_HIGH/LOW interrupts in ab8500_charger_usb_en()
3460 * is a charger connected to avoid erroneous BTEMP_HIGH/LOW in ab8500_charger_probe()
/linux-6.12.1/drivers/iio/adc/
Dab8500-gpadc.c674 int btemp_high, btemp_low; in ab8500_gpadc_read_calibration_data() local
699 * bt_h/l = btemp_high/low in ab8500_gpadc_read_calibration_data()
755 * btemp_high: Vin = 1300mV / ADC ideal code = 985 in ab8500_gpadc_read_calibration_data()
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()
/linux-6.12.1/arch/arm/boot/dts/st/
Dste-ab8505.dtsi129 "BTEMP_HIGH",
Dste-ab8500.dtsi157 "BTEMP_HIGH",