Home
last modified time | relevance | path

Searched refs:BAT_TEMP (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/power/supply/
H A Daxp288_fuel_gauge.c101 BAT_TEMP = 0, enumerator
279 ret = iio_read_channel_raw(info->iio_channel[BAT_TEMP], &raw_val); in fuel_gauge_debug_show()
752 [BAT_TEMP] = "axp288-batt-temp", in axp288_fuel_gauge_probe()
/kernel/linux/linux-5.10/drivers/platform/x86/
H A Dcompal-laptop.c134 #define BAT_TEMP 0xD6 macro
606 * the number of degrees, whereas BAT_TEMP is somewhat more in bat_get_property()
609 * experimentally by comparing BAT_TEMP and BAT_TEMP_AVG. */ in bat_get_property()
611 val->intval = ((222 - (int)ec_read_u8(BAT_TEMP)) * 1000) >> 8; in bat_get_property()
/kernel/linux/linux-6.6/drivers/platform/x86/
H A Dcompal-laptop.c134 #define BAT_TEMP 0xD6 macro
604 * the number of degrees, whereas BAT_TEMP is somewhat more in bat_get_property()
607 * experimentally by comparing BAT_TEMP and BAT_TEMP_AVG. */ in bat_get_property()
609 val->intval = ((222 - (int)ec_read_u8(BAT_TEMP)) * 1000) >> 8; in bat_get_property()

Completed in 5 milliseconds