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

/linux-4.1.27/drivers/platform/x86/
H A Dcompal-laptop.c147 #define BAT_TEMP 0xD6 macro
611 * the number of degrees, whereas BAT_TEMP is somewhat more bat_get_property()
614 * experimentally by comparing BAT_TEMP and BAT_TEMP_AVG. */ bat_get_property()
616 val->intval = ((222 - (int)ec_read_u8(BAT_TEMP)) * 1000) >> 8; bat_get_property()

Completed in 51 milliseconds