Home
last modified time | relevance | path

Searched refs:k_poll_event (Results 1 – 25 of 50) sorted by relevance

12

/Zephyr-latest/tests/kernel/poll/src/
Dtest_poll_fail.c27 struct k_poll_event events; in ZTEST_USER()
61 struct k_poll_event event[] = { in ZTEST_USER()
83 struct k_poll_event event[] = { in ZTEST_USER()
105 struct k_poll_event event[] = { in ZTEST_USER()
127 struct k_poll_event event[] = { in ZTEST_USER()
Dtest_poll.c81 struct k_poll_event events[] = { in ZTEST_USER()
113 struct k_poll_event bad_events[] = { in ZTEST_USER()
123 struct k_poll_event bad_events2[] = { in ZTEST_USER()
200 struct k_poll_event wait_events[] = {
245 void check_results(struct k_poll_event *events, uint32_t event_type, in check_results()
546 struct k_poll_event cancel_events[] = { in test_poll_cancel()
615 struct k_poll_event event; in multi_lowprio()
632 struct k_poll_event event; in multi()
660 struct k_poll_event events[] = { in ZTEST()
747 struct k_poll_event event; in ZTEST()
[all …]
/Zephyr-latest/kernel/
Dpoll.c40 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()
[all …]
/Zephyr-latest/drivers/modem/
Dmodem_socket.h83 struct k_poll_event **pev);
85 struct zsock_pollfd *pfd, struct k_poll_event **pev,
86 struct k_poll_event *pev_end);
Dmodem_socket.c275 struct k_poll_event events[nfds]; in modem_socket_poll()
342 struct zsock_pollfd *pfd, struct k_poll_event **pev, in modem_socket_poll_prepare()
343 struct k_poll_event *pev_end) in modem_socket_poll_prepare()
370 struct k_poll_event **pev) in modem_socket_poll_update()
Dquectel-bg9x.c659 struct k_poll_event **pev; in offload_ioctl()
660 struct k_poll_event *pev_end; in offload_ioctl()
663 pev = va_arg(args, struct k_poll_event **); in offload_ioctl()
664 pev_end = va_arg(args, struct k_poll_event *); in offload_ioctl()
670 struct k_poll_event **pev; in offload_ioctl()
673 pev = va_arg(args, struct k_poll_event **); in offload_ioctl()
/Zephyr-latest/lib/os/zvfs/
Dzvfs_eventfd.c52 struct k_poll_event **pev, in zvfs_eventfd_poll_prepare()
53 struct k_poll_event *pev_end) in zvfs_eventfd_poll_prepare()
86 struct k_poll_event **pev) in zvfs_eventfd_poll_update()
260 struct k_poll_event **pev; in zvfs_eventfd_ioctl_op()
261 struct k_poll_event *pev_end; in zvfs_eventfd_ioctl_op()
264 pev = va_arg(args, struct k_poll_event **); in zvfs_eventfd_ioctl_op()
265 pev_end = va_arg(args, struct k_poll_event *); in zvfs_eventfd_ioctl_op()
272 struct k_poll_event **pev; in zvfs_eventfd_ioctl_op()
275 pev = va_arg(args, struct k_poll_event **); in zvfs_eventfd_ioctl_op()
Dzvfs_poll.c26 struct k_poll_event poll_events[CONFIG_ZVFS_POLL_MAX]; in zvfs_poll_internal()
27 struct k_poll_event *pev; in zvfs_poll_internal()
28 struct k_poll_event *pev_end = poll_events + ARRAY_SIZE(poll_events); in zvfs_poll_internal()
/Zephyr-latest/subsys/portability/cmsis_rtos_v2/
Dwrapper.h24 struct k_poll_event poll_event;
68 struct k_poll_event poll_event;
/Zephyr-latest/samples/bluetooth/encrypted_advertising/include/
Dcommon.h25 struct k_poll_event events[] = { in await_signal()
/Zephyr-latest/subsys/net/lib/sockets/
Dsocketpair.c487 struct k_poll_event events[] = { in spair_write()
678 struct k_poll_event events[] = { in spair_read()
753 struct k_poll_event **pev, in zsock_poll_prepare_ctx()
754 struct k_poll_event *pev_end) in zsock_poll_prepare_ctx()
827 struct k_poll_event **pev) in zsock_poll_update_ctx()
916 struct k_poll_event **pev; in spair_ioctl()
917 struct k_poll_event *pev_end; in spair_ioctl()
978 pev = va_arg(args, struct k_poll_event **); in spair_ioctl()
979 pev_end = va_arg(args, struct k_poll_event *); in spair_ioctl()
987 pev = va_arg(args, struct k_poll_event **); in spair_ioctl()
/Zephyr-latest/drivers/net/
Dnsos_sockets.c289 struct k_poll_event **pev, struct k_poll_event *pev_end, in nsos_poll_prepare()
326 struct k_poll_event **pev, struct nsos_socket_poll *poll) in nsos_poll_update()
361 struct k_poll_event **pev; in nsos_ioctl()
362 struct k_poll_event *pev_end; in nsos_ioctl()
365 pev = va_arg(args, struct k_poll_event **); in nsos_ioctl()
366 pev_end = va_arg(args, struct k_poll_event *); in nsos_ioctl()
373 struct k_poll_event **pev; in nsos_ioctl()
376 pev = va_arg(args, struct k_poll_event **); in nsos_ioctl()
564 struct k_poll_event poll_events[1]; in nsos_wait_for_poll()
565 struct k_poll_event *pev = poll_events; in nsos_wait_for_poll()
[all …]
/Zephyr-latest/doc/kernel/services/
Dpolling.rst73 of type :c:struct:`k_poll_event`. Each entry in the array represents one
87 :c:struct:`k_poll_event` data structure. If an event in the array is to be
93 struct k_poll_event events[4] = {
112 struct k_poll_event events[4];
218 must be attached to a k_poll_event, similar to a semaphore or FIFO. It must
243 struct k_poll_event events[1] = {
280 struct k_poll_event events[1] = {
/Zephyr-latest/tests/drivers/stepper/stepper_api/src/
Dmain.c16 struct k_poll_event stepper_event;
/Zephyr-latest/samples/bluetooth/hci_uart_async/src/
Dhci_uart_async.c57 struct k_poll_event done[] = { in uart_c2h_tx()
125 struct k_poll_event done[] = { in uart_h2c_rx()
/Zephyr-latest/samples/bluetooth/extended_adv/advertiser/src/
Dmain.c30 static struct k_poll_event poll_evt = K_POLL_EVENT_INITIALIZER(K_POLL_TYPE_SIGNAL,
/Zephyr-latest/drivers/lora/
Dsx12xx_common.c199 struct k_poll_event evt = K_POLL_EVENT_INITIALIZER( in sx12xx_lora_send()
263 struct k_poll_event evt = K_POLL_EVENT_INITIALIZER( in sx12xx_lora_recv()
/Zephyr-latest/drivers/ipm/
Dipm_ivshmem.c37 struct k_poll_event events[] = { in ivshmem_ipm_event_loop_thread()
/Zephyr-latest/drivers/mbox/
Dmbox_ivshmem.c38 struct k_poll_event events[] = { in ivshmem_mbox_event_loop_thread()
/Zephyr-latest/samples/bluetooth/extended_adv/scanner/src/
Dmain.c37 static struct k_poll_event poll_evt = K_POLL_EVENT_INITIALIZER(K_POLL_TYPE_SIGNAL,
/Zephyr-latest/subsys/bluetooth/mesh/
Dadv.c177 static struct bt_mesh_adv *process_events(struct k_poll_event *ev, int count) in process_events()
200 struct k_poll_event events[] = { in bt_mesh_adv_get()
/Zephyr-latest/include/zephyr/portability/
Dcmsis_os.h174 struct k_poll_event *poll_event;
293 static struct k_poll_event wait_events_##name; \
/Zephyr-latest/samples/drivers/counter/maxim_ds3231/src/
Dmain.c201 struct k_poll_event sevt = K_POLL_EVENT_INITIALIZER(K_POLL_TYPE_SIGNAL, in set_aligned_clock()
267 struct k_poll_event sevt = K_POLL_EVENT_INITIALIZER(K_POLL_TYPE_SIGNAL, in main()
/Zephyr-latest/drivers/virtualization/
Dvirt_ivshmem_shell.c18 static struct k_poll_event doorbell_evt =
/Zephyr-latest/samples/drivers/virtualization/ivshmem/doorbell/src/
Divshmem.c74 struct k_poll_event events[] = { in wait_for_int()

12