Home
last modified time | relevance | path

Searched refs:rx_rdy (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.7.0/tests/drivers/uart/uart_async_api/src/
Dtest_uart_async.c22 K_SEM_DEFINE(rx_rdy, 0, 1);
42 k_sem_reset(&rx_rdy); in init_test()
51 &rx_rdy, &rx_buf_coherency, &rx_buf_released, in set_permissions()
65 k_sem_reset(&rx_rdy); in uart_async_test_init()
125 k_sem_give(&rx_rdy); in test_single_read_callback()
196 zassert_equal(k_sem_take(&rx_rdy, K_MSEC(100)), -EAGAIN, in ZTEST_USER()
203 zassert_equal(k_sem_take(&rx_rdy, K_MSEC(100)), 0, "RX_RDY timeout"); in ZTEST_USER()
204 zassert_equal(k_sem_take(&rx_rdy, K_MSEC(100)), -EAGAIN, in ZTEST_USER()
213 zassert_equal(k_sem_take(&rx_rdy, K_MSEC(100)), 0, "RX_RDY timeout"); in ZTEST_USER()
221 zassert_equal(k_sem_take(&rx_rdy, K_MSEC(100)), -EAGAIN, in ZTEST_USER()
[all …]
/Zephyr-Core-3.7.0/drivers/serial/
Dserial_test.c66 bool rx_rdy = is_irq_rx_pending(dev); in irq_process() local
68 bool rx_int = rx_rdy && data->irq_rx_enabled; in irq_process()
71 LOG_DBG("rx_rdy %d tx_rdy %d", rx_rdy, tx_rdy); in irq_process()
Duart_emul.c483 bool rx_rdy = false; in uart_emul_async_rx_handler() local
531 rx_rdy = true; in uart_emul_async_rx_handler()
557 if (rx_rdy) { in uart_emul_async_rx_handler()