Searched refs:rx_rdy (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/tests/drivers/uart/uart_async_api/src/ |
D | test_uart_async.c | 22 K_SEM_DEFINE(rx_rdy, 0, 1); 58 &rx_rdy, &rx_buf_coherency, &rx_buf_released, in set_permissions() 80 k_sem_reset(&rx_rdy); in uart_async_test_init() 139 k_sem_give(&rx_rdy); in test_single_read_callback() 212 zassert_equal(k_sem_take(&rx_rdy, K_MSEC(100)), -EAGAIN, in ZTEST_USER() 219 zassert_equal(k_sem_take(&rx_rdy, K_MSEC(100)), 0, "RX_RDY timeout"); in ZTEST_USER() 220 zassert_equal(k_sem_take(&rx_rdy, K_MSEC(100)), -EAGAIN, in ZTEST_USER() 229 zassert_equal(k_sem_take(&rx_rdy, K_MSEC(100)), 0, "RX_RDY timeout"); in ZTEST_USER() 237 zassert_equal(k_sem_take(&rx_rdy, K_MSEC(100)), -EAGAIN, in ZTEST_USER() 274 zassert_equal(k_sem_take(&rx_rdy, K_MSEC(100)), -EAGAIN, in ZTEST_USER() [all …]
|
/Zephyr-latest/drivers/serial/ |
D | serial_test.c | 66 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()
|
D | uart_async_to_irq.c | 314 bool rx_rdy = z_uart_async_to_irq_irq_rx_ready(dev); in z_uart_async_to_irq_irq_is_pending() local 318 return tx_rdy || rx_rdy || err_pending; in z_uart_async_to_irq_irq_is_pending()
|
D | uart_emul.c | 483 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()
|