Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/platform/x86/
Dcompal-laptop.c227 static u8 ec_read_u8(u8 addr) in ec_read_u8() function
236 return (s8)ec_read_u8(addr); in ec_read_s8()
242 lo = ec_read_u8(addr); in ec_read_u16()
243 hi = ec_read_u8(addr + 1); in ec_read_u16()
273 return (int) ec_read_u8(BACKLIGHT_LEVEL_ADDR); in get_backlight_level()
343 u8 result = ec_read_u8(WIRELESS_ADDR); in compal_rfkill_set()
357 u8 result = ec_read_u8(WIRELESS_ADDR); in compal_rfkill_poll()
373 return sprintf(buf, "%d\n", ((ec_read_u8(ADDR) & MASK) != 0)); \
379 u8 old_val = ec_read_u8(ADDR); \
494 u8 status0 = ec_read_u8(BAT_STATUS0); in bat_status()
[all …]