Lines Matching full:async_rx
79 uint8_t *buf = uart_async_rx_buf_req(&data->rx.async_rx); in try_rx_enable()
80 size_t len = uart_async_rx_get_buf_len(&data->rx.async_rx); in try_rx_enable()
93 struct uart_async_rx *async_rx = &data->rx.async_rx; in on_rx_buf_req() local
94 uint8_t *buf = uart_async_rx_buf_req(async_rx); in on_rx_buf_req()
95 size_t len = uart_async_rx_get_buf_len(async_rx); in on_rx_buf_req()
101 uart_async_rx_on_buf_rel(async_rx, buf); in on_rx_buf_req()
113 if (data->rx.async_rx.pending_bytes == 0) { in on_rx_dis()
114 uart_async_rx_reset(&data->rx.async_rx); in on_rx_dis()
144 uart_async_rx_on_rdy(&data->rx.async_rx, evt->data.rx.buf, evt->data.rx.len); in uart_async_to_irq_callback()
151 uart_async_rx_on_buf_rel(&data->rx.async_rx, evt->data.rx_buf.buf); in uart_async_to_irq_callback()
199 struct uart_async_rx *async_rx = &data->rx.async_rx; in z_uart_async_to_irq_fifo_read() local
203 claim_len = uart_async_rx_data_claim(async_rx, &claim_buf, len); in z_uart_async_to_irq_fifo_read()
209 bool buf_available = uart_async_rx_data_consume(async_rx, claim_len); in z_uart_async_to_irq_fifo_read()
212 buf = uart_async_rx_buf_req(async_rx); in z_uart_async_to_irq_fifo_read()
215 size_t rx_len = uart_async_rx_get_buf_len(async_rx); in z_uart_async_to_irq_fifo_read()
295 return (data->flags & A2I_RX_IRQ_ENABLED) && (data->rx.async_rx.pending_bytes > 0); in z_uart_async_to_irq_irq_rx_ready()
365 uart_async_rx_reset(&data->rx.async_rx); in uart_async_to_irq_rx_disable()
395 return uart_async_rx_init(&data->rx.async_rx, &config->async_rx); in uart_async_to_irq_init()