Searched refs:EVENT_MASK (Results 1 – 9 of 9) sorted by relevance
/Zephyr-Core-3.7.0/samples/net/mqtt_sn_publisher/src/ |
D | main.c | 31 #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/ |
D | main.c | 25 #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/ |
D | main.c | 285 #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/ |
D | echo-server.c | 41 #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/ |
D | echo-client.c | 50 #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/ |
D | main.c | 97 #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/ |
D | device_runtime.c | 25 #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/ |
D | main.c | 29 #define EVENT_MASK (NET_EVENT_L4_CONNECTED | \ macro 535 event_handler, EVENT_MASK); in main()
|
/Zephyr-Core-3.7.0/samples/drivers/espi/src/ |
D | main.c | 37 #define EVENT_MASK 0x0000FFFFu macro 40 #define EVENT_TYPE(x) (x & EVENT_MASK)
|