Home
last modified time | relevance | path

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

/openbmc/linux/Documentation/devicetree/bindings/power/supply/
H A Dstericsson,ab8500-btemp.yaml35 - const: BTEMP_HIGH
71 "BTEMP_HIGH",
/openbmc/linux/drivers/power/supply/
H A 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()
628 {"BTEMP_HIGH", ab8500_btemp_temphigh_handler},
H A 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()
H A Dab8500_charger.c1415 * Due to a bug in AB8500, BTEMP_HIGH/LOW interrupts in ab8500_charger_ac_en()
1588 * Due to a bug in AB8500, BTEMP_HIGH/LOW interrupts in ab8500_charger_usb_en()
3449 * is a charger connected to avoid erroneous BTEMP_HIGH/LOW in ab8500_charger_probe()
/openbmc/linux/drivers/iio/adc/
H A 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()
/openbmc/linux/arch/arm/boot/dts/st/
H A Dste-ab8505.dtsi129 "BTEMP_HIGH",
H A Dste-ab8500.dtsi157 "BTEMP_HIGH",