Lines Matching refs:k_poll_event
40 static int signal_poller(struct k_poll_event *event, uint32_t state);
41 static int signal_triggered_work(struct k_poll_event *event, uint32_t status);
43 void k_poll_event_init(struct k_poll_event *event, uint32_t type, in k_poll_event_init()
63 static inline bool is_condition_met(struct k_poll_event *event, uint32_t *state) in is_condition_met()
112 static inline void add_event(sys_dlist_t *events, struct k_poll_event *event, in add_event()
115 struct k_poll_event *pending; in add_event()
117 pending = (struct k_poll_event *)sys_dlist_peek_tail(events); in add_event()
137 static inline void register_event(struct k_poll_event *event, in register_event()
175 static inline void clear_event_registration(struct k_poll_event *event) in clear_event_registration()
217 static inline void clear_event_registrations(struct k_poll_event *events, in clear_event_registrations()
228 static inline void set_event_ready(struct k_poll_event *event, uint32_t state) in set_event_ready()
234 static inline int register_events(struct k_poll_event *events, in register_events()
265 static int signal_poller(struct k_poll_event *event, uint32_t state) in signal_poller()
288 int z_impl_k_poll(struct k_poll_event *events, int num_events, in z_impl_k_poll()
356 static inline int z_vrfy_k_poll(struct k_poll_event *events, in z_vrfy_k_poll()
361 struct k_poll_event *events_copy = NULL; in z_vrfy_k_poll()
372 sizeof(struct k_poll_event), in z_vrfy_k_poll()
394 struct k_poll_event *e = &events_copy[i]; in z_vrfy_k_poll()
441 static int signal_poll_event(struct k_poll_event *event, uint32_t state) in signal_poll_event()
469 struct k_poll_event *poll_event; in z_handle_obj_poll_events()
472 poll_event = (struct k_poll_event *)sys_dlist_get(events); in z_handle_obj_poll_events()
530 struct k_poll_event *poll_event; in z_impl_k_poll_signal_raise()
535 poll_event = (struct k_poll_event *)sys_dlist_get(&sig->poll_events); in z_impl_k_poll_signal_raise()
606 static int signal_triggered_work(struct k_poll_event *event, uint32_t status) in signal_triggered_work()
668 struct k_poll_event *events, in k_work_poll_submit_to_queue()
780 struct k_poll_event *events, in k_work_poll_submit()