Home
last modified time | relevance | path

Searched full:btemp_low (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/Documentation/devicetree/bindings/power/supply/
H A Dstericsson,ab8500-btemp.yaml34 - const: BTEMP_LOW
70 "BTEMP_LOW",
/openbmc/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()
627 {"BTEMP_LOW", ab8500_btemp_templow_handler},
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()
/openbmc/linux/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()
/openbmc/linux/arch/arm/boot/dts/st/
H A Dste-ab8505.dtsi128 "BTEMP_LOW",
H A Dste-ab8500.dtsi156 "BTEMP_LOW",