Home
last modified time | relevance | path

Searched refs:ec_read_s16 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/platform/x86/
H A Dcompal-laptop.c247 static s16 ec_read_s16(u8 addr) in ec_read_s16() function
577 val->intval = ec_read_s16(BAT_CURRENT_NOW) * 1000; in bat_get_property()
580 val->intval = ec_read_s16(BAT_CURRENT_AVG) * 1000; in bat_get_property()