Searched refs:poll_event (Results 1 – 10 of 10) sorted by relevance
/Zephyr-latest/subsys/portability/cmsis_rtos_v2/ |
D | thread_flags.c | 113 retval = k_poll(&tid->poll_event, 1, K_NO_WAIT); in osThreadFlagsWait() 116 retval = k_poll(&tid->poll_event, 1, K_FOREVER); in osThreadFlagsWait() 119 retval = k_poll(&tid->poll_event, 1, in osThreadFlagsWait() 133 __ASSERT(tid->poll_event.state == K_POLL_STATE_SIGNALED, in osThreadFlagsWait() 135 __ASSERT(tid->poll_event.signal->signaled == 1U, in osThreadFlagsWait() 139 tid->poll_event.signal->signaled = 0U; in osThreadFlagsWait() 140 tid->poll_event.state = K_POLL_STATE_NOT_READY; in osThreadFlagsWait()
|
D | event_flags.c | 46 k_poll_event_init(&events->poll_event, K_POLL_TYPE_SIGNAL, in osEventFlagsNew() 162 events->poll_event.signal->signaled = 0U; in osEventFlagsWait() 163 events->poll_event.state = K_POLL_STATE_NOT_READY; in osEventFlagsWait() 187 retval = k_poll(&events->poll_event, 1, poll_timeout); in osEventFlagsWait() 199 __ASSERT(events->poll_event.state == K_POLL_STATE_SIGNALED, in osEventFlagsWait() 201 __ASSERT(events->poll_event.signal->signaled == 1U, in osEventFlagsWait()
|
D | wrapper.h | 24 struct k_poll_event poll_event; member 68 struct k_poll_event poll_event; member
|
D | thread.c | 184 k_poll_event_init(&tid->poll_event, K_POLL_TYPE_SIGNAL, in osThreadNew()
|
/Zephyr-latest/subsys/portability/cmsis_rtos_v1/ |
D | cmsis_signal.c | 97 retval = k_poll(thread_def->poll_event, 1, K_NO_WAIT); in osSignalWait() 100 retval = k_poll(thread_def->poll_event, 1, K_FOREVER); in osSignalWait() 103 retval = k_poll(thread_def->poll_event, 1, in osSignalWait() 124 __ASSERT(thread_def->poll_event->state in osSignalWait() 127 __ASSERT(thread_def->poll_event->signal->signaled == 1, in osSignalWait() 131 thread_def->poll_event->signal->signaled = 0; in osSignalWait() 132 thread_def->poll_event->state = K_POLL_STATE_NOT_READY; in osSignalWait()
|
D | cmsis_thread.c | 114 k_poll_event_init(thread_def->poll_event, K_POLL_TYPE_SIGNAL, in osThreadCreate()
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_ivshmem.c | 229 struct k_poll_event poll_event; in eth_ivshmem_thread() local 234 k_poll_event_init(&poll_event, in eth_ivshmem_thread() 240 k_poll(&poll_event, 1, K_FOREVER); in eth_ivshmem_thread() 241 poll_event.signal->signaled = 0; in eth_ivshmem_thread() 242 poll_event.state = K_POLL_STATE_NOT_READY; in eth_ivshmem_thread()
|
/Zephyr-latest/kernel/ |
D | poll.c | 469 struct k_poll_event *poll_event; in z_handle_obj_poll_events() local 472 poll_event = (struct k_poll_event *)sys_dlist_get(events); in z_handle_obj_poll_events() 473 if (poll_event != NULL) { in z_handle_obj_poll_events() 474 (void) signal_poll_event(poll_event, state); in z_handle_obj_poll_events() 530 struct k_poll_event *poll_event; in z_impl_k_poll_signal_raise() local 535 poll_event = (struct k_poll_event *)sys_dlist_get(&sig->poll_events); in z_impl_k_poll_signal_raise() 536 if (poll_event == NULL) { in z_impl_k_poll_signal_raise() 544 int rc = signal_poll_event(poll_event, K_POLL_STATE_SIGNALED); in z_impl_k_poll_signal_raise()
|
/Zephyr-latest/include/zephyr/portability/ |
D | cmsis_os.h | 174 struct k_poll_event *poll_event; member
|
/Zephyr-latest/include/zephyr/ |
D | kernel.h | 5736 #define _INIT_OBJ_POLL_EVENT(obj) do { (obj)->poll_event = NULL; } while (false)
|