Searched refs:EC_HOST_EVENT_MASK (Results 1 – 6 of 6) sorted by relevance
15 (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 …]
125 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()
374 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()
716 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()
247 u64 mask = EC_HOST_EVENT_MASK(code); in do_show_events()
587 #define EC_HOST_EVENT_MASK(event_code) (1ULL << ((event_code) - 1)) macro
Completed in 26 milliseconds