Home
last modified time | relevance | path

Searched refs:async_events (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/drivers/uart/uart_emul/src/
Dbus.c34 struct k_event async_events; member
52 k_event_init(&fixture.async_events); in uart_emul_setup()
86 k_event_set(&fixture->async_events, 0); in uart_emul_before()
247 k_event_post(&fixture->async_events, ((uint32_t)1 << evt->type)); in uart_emul_callback()
272 return k_event_wait(&fixture->async_events, ((uint32_t)1 << event), false, K_SECONDS(1)) != in uart_emul_wait_for_event()
324 k_event_post(&fixture->async_events, ((uint32_t)1 << evt->type)); in uart_emul_callback_rx_timeout()
345 k_event_set(&fixture->async_events, 0); in ZTEST_F()
Ddevice.c40 struct k_event async_events; member
58 k_event_init(&fixture.async_events); in uart_emul_device_setup()
91 k_event_set(&fixture->async_events, 0); in uart_emul_device_before()
204 k_event_post(&fixture->async_events, ((uint32_t)1 << evt->type)); in uart_emul_callback()
230 return k_event_wait(&fixture->async_events, ((uint32_t)1 << event), false, K_SECONDS(1)) != in uart_emul_device_wait_for_event()