Home
last modified time | relevance | path

Searched refs:k_event_test (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/tests/kernel/events/event_api/src/
Dtest_event_apis.c348 zassert_equal(k_event_test(&event, ~0), 0); in ZTEST()
358 zassert_equal(k_event_test(&event, ~0), events); in ZTEST()
363 zassert_equal(k_event_test(&event, ~0), events); in ZTEST()
368 zassert_equal(k_event_test(&event, ~0), events); in ZTEST()
376 zassert_equal(k_event_test(&event, ~0), events); in ZTEST()
381 zassert_equal(k_event_test(&event, ~0), 0x22222222); in ZTEST()
386 zassert_equal(k_event_test(&event, ~0), 0); in ZTEST()
392 zassert_equal(k_event_test(&event, ~0), events); in ZTEST()
398 zassert_equal(k_event_test(&event, ~0), events); in ZTEST()
/Zephyr-latest/tests/subsys/modem/modem_cmux/src/
Dmain.c341 events = k_event_test(&cmux_event, EVENT_CMUX_DLCI2_RECEIVE_READY); in ZTEST()
371 events = k_event_test(&cmux_event, EVENT_CMUX_DLCI1_RECEIVE_READY); in ZTEST()
400 events = k_event_test(&cmux_event, EVENT_CMUX_DLCI2_RECEIVE_READY); in ZTEST()
835 events = k_event_test(&cmux_event, EVENT_CMUX_DLCI2_RECEIVE_READY); in ZTEST()
848 events = k_event_test(&cmux_event, EVENT_CMUX_DLCI2_RECEIVE_READY); in ZTEST()
/Zephyr-latest/subsys/modem/
Dmodem_pipe.c35 return k_event_test(&pipe->event, events); in pipe_test_events()
Dmodem_cmux.c1335 if (k_event_test(&cmux->event, MODEM_CMUX_EVENT_CONNECTED_BIT)) { in modem_cmux_connect_async()
1376 if (k_event_test(&cmux->event, MODEM_CMUX_EVENT_DISCONNECTED_BIT)) { in modem_cmux_disconnect_async()
/Zephyr-latest/drivers/usb/udc/
Dudc_dwc2_vendor_quirks.h262 return !k_event_test(&usbhs_events, USBHS_VBUS_READY); in usbhs_is_phy_clk_off()
Dudc_dwc2.c2807 if (k_event_test(&priv->xfer_new, UINT32_MAX)) { in dwc2_handle_hibernation_exit()
2811 if (k_event_test(&priv->xfer_finished, UINT32_MAX)) { in dwc2_handle_hibernation_exit()
2859 eps = k_event_test(&priv->xfer_new, UINT32_MAX); in dwc2_thread_handler()
2882 eps = k_event_test(&priv->xfer_finished, UINT32_MAX); in dwc2_thread_handler()
/Zephyr-latest/include/zephyr/
Dkernel.h2474 static inline uint32_t k_event_test(struct k_event *event, uint32_t events_mask) in k_event_test() function