Lines Matching refs:rx_rb
42 struct ring_buf *rx_rb; member
135 read = ring_buf_get(drv_data->rx_rb, p_char, 1); in uart_emul_poll_in()
224 bytes_to_read = MIN(config->latch_buffer_size, ring_buf_size_get(data->rx_rb)); in uart_emul_fifo_read()
226 ring_buf_get(data->rx_rb, rx_data, bytes_to_read); in uart_emul_fifo_read()
258 ready = !ring_buf_is_empty(data->rx_rb); in uart_emul_irq_rx_ready()
292 have_work = have_work || !ring_buf_is_empty(data->rx_rb); in uart_emul_irq_handler()
330 submit_irq_work = !ring_buf_is_empty(data->rx_rb); in uart_emul_irq_rx_enable()
497 empty = ring_buf_is_empty(data->rx_rb); in uart_emul_async_rx_handler()
525 uint32_t read = ring_buf_get(data->rx_rb, &rx_buf[offset + data_len], in uart_emul_async_rx_handler()
847 if (!ring_buf_is_empty(data->rx_rb)) { in uart_emul_rx_enable()
923 count = ring_buf_put(drv_data->rx_rb, data, size); in uart_emul_put_rx_data()
924 empty = ring_buf_is_empty(drv_data->rx_rb); in uart_emul_put_rx_data()
966 count = ring_buf_size_get(drv_data->rx_rb); in uart_emul_flush_rx_data()
967 ring_buf_reset(drv_data->rx_rb); in uart_emul_flush_rx_data()
1034 .rx_rb = &uart_emul_##inst##_rx_rb, \