Home
last modified time | relevance | path

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

/u-boot/board/google/chromebook_coral/
A Dvariant_ec.h15 (EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_CLOSED) |\
16 EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_OPEN) |\
17 EC_HOST_EVENT_MASK(EC_HOST_EVENT_AC_CONNECTED) |\
18 EC_HOST_EVENT_MASK(EC_HOST_EVENT_AC_DISCONNECTED) |\
19 EC_HOST_EVENT_MASK(EC_HOST_EVENT_BATTERY_LOW) |\
29 EC_HOST_EVENT_MASK(EC_HOST_EVENT_MODE_CHANGE))
32 (EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_CLOSED))
36 (EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_OPEN) |\
37 EC_HOST_EVENT_MASK(EC_HOST_EVENT_POWER_BUTTON))
42 EC_HOST_EVENT_MASK(EC_HOST_EVENT_KEY_PRESSED))
[all …]
/u-boot/test/dm/
A Dcros_ec.c125 ut_asserteq(EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_OPEN), events); in dm_test_cros_ec_events()
136 EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_OPEN))); in dm_test_cros_ec_events()
/u-boot/drivers/misc/
A Dcros_ec_sandbox.c374 resp->mask |= EC_HOST_EVENT_MASK( in process_cmd()
379 EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_OPEN); in process_cmd()
386 if (req->mask & EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_OPEN)) in process_cmd()
A Dcros_ec.c716 if (resp->mask & EC_HOST_EVENT_MASK(EC_HOST_EVENT_INVALID)) in cros_ec_get_host_events()
1533 return !!(mask & EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_CLOSED)); in cros_ec_get_lid_shutdown_mask()
1548 mask |= EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_CLOSED); in cros_ec_set_lid_shutdown_mask()
1550 mask &= ~EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_CLOSED); in cros_ec_set_lid_shutdown_mask()
/u-boot/cmd/
A Dcros_ec.c247 u64 mask = EC_HOST_EVENT_MASK(code); in do_show_events()
/u-boot/include/
A Dec_commands.h587 #define EC_HOST_EVENT_MASK(event_code) (1ULL << ((event_code) - 1)) macro

Completed in 26 milliseconds