/Zephyr-latest/subsys/net/ip/ |
D | Kconfig.mgmt | 12 bool "Add support for runtime network event notifications" 17 (or else) needs to be notified on a specific network event 23 prompt "Network event scheduling" 29 Create a dedicated thread for network event callback handlers. 37 event callback handlers. 42 bool "Trigger callback on event emit" 44 Call network event handlers when the event is emitted. 55 Hidden option to enable the network event's queue if asynchronous 59 int "Stack size for the inner thread handling event callbacks" 71 int "Size of event queue" [all …]
|
D | net_mgmt.c | 30 uint32_t event; member 97 new_event.event = mgmt_event; in mgmt_push_event() 131 static inline void mgmt_push_event(uint32_t event, struct net_if *iface, in mgmt_push_event() argument 143 .event = event, in mgmt_push_event() 192 NET_MGMT_GET_LAYER(mgmt_event->event) + 1, in mgmt_run_slist_callbacks() 193 NET_MGMT_GET_LAYER_CODE(mgmt_event->event), in mgmt_run_slist_callbacks() 194 NET_MGMT_GET_COMMAND(mgmt_event->event)); in mgmt_run_slist_callbacks() 197 if (!(NET_MGMT_GET_LAYER(mgmt_event->event) == in mgmt_run_slist_callbacks() 199 !(NET_MGMT_GET_LAYER_CODE(mgmt_event->event) == in mgmt_run_slist_callbacks() 201 (NET_MGMT_GET_COMMAND(mgmt_event->event) && in mgmt_run_slist_callbacks() [all …]
|
/Zephyr-latest/tests/posix/eventfd/src/ |
D | ioctl.c | 19 short event; in ZTEST_F() local 25 event = POLLIN; in ZTEST_F() 26 ret = is_blocked(fixture->fd, &event); in ZTEST_F() 45 event = POLLOUT; in ZTEST_F() 46 ret = is_blocked(fixture->fd, &event); in ZTEST_F() 66 event = POLLIN; in ZTEST_F() 67 ret = is_blocked(fixture->fd, &event); in ZTEST_F()
|
D | nonblocking.c | 46 short event; in ZTEST_F() local 51 event = POLLOUT; in ZTEST_F() 52 ret = is_blocked(fixture->fd, &event); in ZTEST_F() 62 event = POLLOUT; in ZTEST_F() 63 ret = is_blocked(fixture->fd, &event); in ZTEST_F()
|
/Zephyr-latest/subsys/mgmt/osdp/src/ |
D | osdp_pd.c | 119 struct osdp_event *event = NULL; in pd_event_alloc() local 121 if (k_mem_slab_alloc(&pd->event.slab, (void **)&event, K_MSEC(100))) { in pd_event_alloc() 125 return event; in pd_event_alloc() 128 static void pd_event_free(struct osdp_pd *pd, struct osdp_event *event) in pd_event_free() argument 130 k_mem_slab_free(&pd->event.slab, (void *)event); in pd_event_free() 133 static void pd_event_enqueue(struct osdp_pd *pd, struct osdp_event *event) in pd_event_enqueue() argument 135 sys_slist_append(&pd->event.queue, &event->node); in pd_event_enqueue() 138 static int pd_event_dequeue(struct osdp_pd *pd, struct osdp_event **event) in pd_event_dequeue() argument 142 node = sys_slist_peek_head(&pd->event.queue); in pd_event_dequeue() 146 sys_slist_remove(&pd->event.queue, NULL, node); in pd_event_dequeue() [all …]
|
/Zephyr-latest/doc/kernel/services/synchronization/ |
D | events.rst | 6 An :dfn:`event object` is a kernel object that implements traditional events. 15 Any number of event objects can be defined (limited only by available RAM). Each 16 event object is referenced by its memory address. One or more threads may wait 17 on an event object until the desired set of events has been delivered to the 18 event object. When new events are delivered to the event object, all threads 21 An event object has the following key properties: 25 An event object must be initialized before it can be used. 32 conditions of multiple threads waiting on the event object. All threads whose 37 have the option of resetting the current set of events tracked by the event 39 threads wait on the same event object. [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll.c | 58 } event; variable 220 event.curr.abort_cb = NULL; 443 if (!param || (param == event.curr.param)) { 444 if (event.curr.abort_cb && event.curr.param) { 445 event.curr.abort_cb(NULL, event.curr.param); 510 LL_ASSERT(event.curr.abort_cb); 511 event.curr.abort_cb = NULL; 513 param = event.curr.param; 514 event.curr.param = NULL; 568 LL_ASSERT(event.done.ull_count != event.done.lll_count); [all …]
|
/Zephyr-latest/include/zephyr/mgmt/mcumgr/mgmt/ |
D | callbacks.h | 57 #define MGMT_EVT_GET_GROUP(event) ((event >> 16) & MGMT_EVT_OP_ID_ALL) argument 60 #define MGMT_EVT_GET_ID(event) (event & MGMT_EVT_OP_ID_ALL) argument 111 typedef enum mgmt_cb_return (*mgmt_cb)(uint32_t event, enum mgmt_cb_return prev_status, 303 uint8_t mgmt_evt_get_index(uint32_t event); 321 enum mgmt_cb_return mgmt_callback_notify(uint32_t event, void *data, size_t data_size,
|
/Zephyr-latest/include/zephyr/drivers/ethernet/ |
D | eth_nxp_enet.h | 44 enum nxp_enet_callback_reason event, 49 enum nxp_enet_callback_reason event, 65 enum nxp_enet_callback_reason event,
|
/Zephyr-latest/samples/net/sockets/http_server/src/static_web_resources/ |
D | main.js | 47 led_on_btn.addEventListener("click", (event) => { 53 led_off_btn.addEventListener("click", (event) => { 61 ws.onmessage = (event) => { 62 const data = JSON.parse(event.data);
|
/Zephyr-latest/modules/hostap/src/ |
D | supp_events.h | 49 enum net_event_wifi_cmd event, 53 enum net_event_supplicant_cmd event, 60 enum net_event_wifi_cmd event, 63 enum net_event_wifi_cmd event, 154 enum supplicant_event_num event; member
|
/Zephyr-latest/subsys/net/lib/zperf/ |
D | zperf_tcp_receiver.c | 137 if ((pev->event.revents & ZSOCK_POLLERR) || in tcp_recv_data() 138 (pev->event.revents & ZSOCK_POLLNVAL)) { in tcp_recv_data() 139 (void)zsock_getsockopt(pev->event.fd, SOL_SOCKET, in tcp_recv_data() 141 (void)zsock_getsockopt(pev->event.fd, SOL_SOCKET, in tcp_recv_data() 149 if (!(pev->event.revents & ZSOCK_POLLIN)) { in tcp_recv_data() 157 if (fds[SOCK_ID_IPV4_LISTEN].fd == pev->event.fd || in tcp_recv_data() 158 fds[SOCK_ID_IPV6_LISTEN].fd == pev->event.fd) { in tcp_recv_data() 159 sock = zsock_accept(pev->event.fd, in tcp_recv_data() 164 (void)zsock_getsockopt(pev->event.fd, SOL_SOCKET, in tcp_recv_data() 192 ret = zsock_recv(pev->event.fd, buf, sizeof(buf), 0); in tcp_recv_data() [all …]
|
/Zephyr-latest/modules/hal_infineon/abstraction-rtos/source/COMPONENT_ZEPHYR/ |
D | cyabs_rtos_zephyr.c | 510 cy_rslt_t cy_rtos_init_event(cy_event_t *event) in cy_rtos_init_event() argument 514 if (event == NULL) { in cy_rtos_init_event() 518 k_event_init(event); in cy_rtos_init_event() 524 cy_rslt_t cy_rtos_setbits_event(cy_event_t *event, uint32_t bits, bool in_isr) in cy_rtos_setbits_event() argument 530 if (event == NULL) { in cy_rtos_setbits_event() 534 k_event_post(event, bits); in cy_rtos_setbits_event() 540 cy_rslt_t cy_rtos_clearbits_event(cy_event_t *event, uint32_t bits, bool in_isr) in cy_rtos_clearbits_event() argument 546 if (event == NULL) { in cy_rtos_clearbits_event() 552 status = cy_rtos_getbits_event(event, ¤t_bits); in cy_rtos_clearbits_event() 555 k_event_set(event, (~bits & current_bits)); in cy_rtos_clearbits_event() [all …]
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/handler_demo/src/ |
D | main.c | 27 enum mgmt_cb_return test_function(uint32_t event, enum mgmt_cb_return prev_status, int32_t *rc, in test_function() argument 30 if (event == MGMT_EVT_OP_EXAMPLE_OTHER) { in test_function() 44 LOG_ERR("Received unknown event: %d", event); in test_function()
|
/Zephyr-latest/subsys/modem/ |
D | modem_pipe.c | 24 static void pipe_call_callback(struct modem_pipe *pipe, enum modem_pipe_event event) in pipe_call_callback() argument 28 pipe->callback(pipe, event, pipe->user_data); in pipe_call_callback() 35 return k_event_test(&pipe->event, events); in pipe_test_events() 42 return k_event_wait(&pipe->event, events, false, timeout); in pipe_await_events() 47 k_event_post(&pipe->event, events); in pipe_post_events() 52 k_event_clear(&pipe->event, events); in pipe_clear_events() 57 k_event_set(&pipe->event, events); in pipe_set_events() 90 k_event_init(&pipe->event); in modem_pipe_init()
|
/Zephyr-latest/boards/st/stm32f7508_dk/support/ |
D | openocd.cfg | 3 $_TARGETNAME configure -event gdb-attach { 9 $_TARGETNAME configure -event gdb-detach { 17 $_TARGETNAME configure -event reset-start {
|
/Zephyr-latest/drivers/usb/udc/ |
D | Kconfig.it82xx2 | 15 int "UDC IT82xx2 event count" 19 IT82xx2 event count. 25 Size of the stack used in the driver for IT82xx2 USBD ISR event
|
/Zephyr-latest/boards/st/stm32f746g_disco/support/ |
D | openocd.cfg | 3 $_TARGETNAME configure -event gdb-attach { 9 $_TARGETNAME configure -event gdb-detach { 21 $_TARGETNAME configure -event reset-start {
|
/Zephyr-latest/drivers/wifi/nrf_wifi/src/ |
D | wpa_supp_if.c | 129 union wpa_event_data event; in nrf_wifi_wpa_supp_event_proc_scan_done() local 134 memset(&event, 0, sizeof(event)); in nrf_wifi_wpa_supp_event_proc_scan_done() 136 info = &event.scan_info; in nrf_wifi_wpa_supp_event_proc_scan_done() 145 &event); in nrf_wifi_wpa_supp_event_proc_scan_done() 265 union wpa_event_data event; in nrf_wifi_wpa_supp_event_proc_auth_resp() local 287 memset(&event, 0, sizeof(event)); in nrf_wifi_wpa_supp_event_proc_auth_resp() 289 memcpy(event.auth.peer, mgmt->sa, ETH_ALEN); in nrf_wifi_wpa_supp_event_proc_auth_resp() 291 event.auth.auth_type = le_to_host16(mgmt->u.auth.auth_alg); in nrf_wifi_wpa_supp_event_proc_auth_resp() 293 event.auth.auth_transaction = le_to_host16(mgmt->u.auth.auth_transaction); in nrf_wifi_wpa_supp_event_proc_auth_resp() 295 event.auth.status_code = le_to_host16(mgmt->u.auth.status_code); in nrf_wifi_wpa_supp_event_proc_auth_resp() [all …]
|
/Zephyr-latest/include/zephyr/sys/ |
D | heap_listener.h | 108 enum heap_event_types event; member 211 .event = HEAP_ALLOC, \ 237 .event = HEAP_FREE, \ 263 .event = HEAP_RESIZE, \
|
/Zephyr-latest/boards/st/nucleo_f401re/support/ |
D | openocd.cfg | 3 $_TARGETNAME configure -event gdb-attach { 9 $_TARGETNAME configure -event gdb-detach {
|
/Zephyr-latest/boards/seagate/legend/support/ |
D | openocd.cfg | 3 $_TARGETNAME configure -event gdb-attach { 9 $_TARGETNAME configure -event gdb-detach {
|
/Zephyr-latest/boards/st/b_l4s5i_iot01a/support/ |
D | openocd.cfg | 3 $_TARGETNAME configure -event gdb-attach { 9 $_TARGETNAME configure -event gdb-detach {
|
/Zephyr-latest/boards/st/nucleo_f030r8/support/ |
D | openocd.cfg | 3 $_TARGETNAME configure -event gdb-attach { 9 $_TARGETNAME configure -event gdb-detach {
|
/Zephyr-latest/boards/st/nucleo_f031k6/support/ |
D | openocd.cfg | 3 $_TARGETNAME configure -event gdb-attach { 9 $_TARGETNAME configure -event gdb-detach {
|