Home
last modified time | relevance | path

Searched refs:EVENT_MASK (Results 1 – 9 of 9) sorted by relevance

/Zephyr-Core-3.7.0/samples/net/mqtt_sn_publisher/src/
Dmain.c31 #define EVENT_MASK (NET_EVENT_L4_CONNECTED | NET_EVENT_L4_DISCONNECTED) macro
36 if ((mgmt_event & EVENT_MASK) != mgmt_event) { in net_event_handler()
79 net_mgmt_init_event_callback(&mgmt_cb, net_event_handler, EVENT_MASK); in init_app()
/Zephyr-Core-3.7.0/samples/subsys/mgmt/updatehub/src/
Dmain.c25 #define EVENT_MASK (NET_EVENT_L4_CONNECTED | \ macro
68 if ((mgmt_event & EVENT_MASK) != mgmt_event) { in event_handler()
143 net_mgmt_init_event_callback(&mgmt_cb, event_handler, EVENT_MASK); in main()
/Zephyr-Core-3.7.0/samples/net/capture/src/
Dmain.c285 #define EVENT_MASK (NET_EVENT_CAPTURE_STARTED | NET_EVENT_CAPTURE_STOPPED) macro
293 if ((mgmt_event & EVENT_MASK) != mgmt_event) { in event_handler()
315 net_mgmt_init_event_callback(&mgmt_cb, event_handler, EVENT_MASK); in main()
325 ret = net_mgmt_event_wait(EVENT_MASK, in main()
/Zephyr-Core-3.7.0/samples/net/sockets/echo_server/src/
Decho-server.c41 #define EVENT_MASK (NET_EVENT_L4_CONNECTED | \ macro
90 if ((mgmt_event & EVENT_MASK) != mgmt_event) { in event_handler()
191 event_handler, EVENT_MASK); in init_app()
/Zephyr-Core-3.7.0/samples/net/sockets/echo_client/src/
Decho-client.c50 #define EVENT_MASK (NET_EVENT_L4_CONNECTED | \ macro
302 if ((mgmt_event & EVENT_MASK) != mgmt_event) { in event_handler()
378 event_handler, EVENT_MASK); in init_app()
/Zephyr-Core-3.7.0/samples/net/sockets/dumb_http_server_mt/src/
Dmain.c97 #define EVENT_MASK (NET_EVENT_L4_CONNECTED | \ macro
103 if ((mgmt_event & EVENT_MASK) != mgmt_event) { in event_handler()
433 event_handler, EVENT_MASK); in main()
/Zephyr-Core-3.7.0/subsys/pm/
Ddevice_runtime.c25 #define EVENT_MASK (EVENT_STATE_ACTIVE | EVENT_STATE_SUSPENDED) macro
245 k_event_clear(&pm->event, EVENT_MASK); in pm_device_runtime_get()
248 k_event_wait(&pm->event, EVENT_MASK, false, K_FOREVER); in pm_device_runtime_get()
524 k_event_clear(&pm->event, EVENT_MASK); in pm_device_runtime_disable()
527 k_event_wait(&pm->event, EVENT_MASK, false, K_FOREVER); in pm_device_runtime_disable()
/Zephyr-Core-3.7.0/samples/net/sockets/txtime/src/
Dmain.c29 #define EVENT_MASK (NET_EVENT_L4_CONNECTED | \ macro
535 event_handler, EVENT_MASK); in main()
/Zephyr-Core-3.7.0/samples/drivers/espi/src/
Dmain.c37 #define EVENT_MASK 0x0000FFFFu macro
40 #define EVENT_TYPE(x) (x & EVENT_MASK)