Home
last modified time | relevance | path

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

/Zephyr-latest/modules/openthread/platform/
Dradio_spinel.cpp50 enum pending_events { enum
55 ATOMIC_DEFINE(pending_events, PENDING_EVENT_COUNT);
69 static inline bool is_pending_event_set(enum pending_events event) in is_pending_event_set()
71 return atomic_test_bit(pending_events, event); in is_pending_event_set()
74 static void set_pending_event(enum pending_events event) in set_pending_event()
76 atomic_set_bit(pending_events, event); in set_pending_event()
80 static void reset_pending_event(enum pending_events event) in reset_pending_event()
82 atomic_clear_bit(pending_events, event); in reset_pending_event()
Dradio.c73 enum pending_events { enum
115 ATOMIC_DEFINE(pending_events, PENDING_EVENT_COUNT);
145 static inline bool is_pending_event_set(enum pending_events event) in is_pending_event_set()
147 return atomic_test_bit(pending_events, event); in is_pending_event_set()
150 static void set_pending_event(enum pending_events event) in set_pending_event()
152 atomic_set_bit(pending_events, event); in set_pending_event()
156 static void reset_pending_event(enum pending_events event) in reset_pending_event()
158 atomic_clear_bit(pending_events, event); in reset_pending_event()
163 atomic_clear(pending_events); in clear_pending_events()