Lines Matching refs:uart_async_rx_buf
16 static struct uart_async_rx_buf *get_buf(struct uart_async_rx *rx_data, uint8_t idx) in get_buf()
20 p += idx * (rx_data->buf_len + sizeof(struct uart_async_rx_buf)); in get_buf()
22 return (struct uart_async_rx_buf *)p; in get_buf()
30 struct uart_async_rx_buf *buf = get_buf(rx_data, rx_data->drv_buf_idx); in uart_async_rx_buf_req()
46 struct uart_async_rx_buf *rx_buf = in uart_async_rx_on_rdy()
47 (struct uart_async_rx_buf *)(buffer - offsetof(struct uart_async_rx_buf, buffer)); in uart_async_rx_on_rdy()
55 static void buf_reset(struct uart_async_rx_buf *buf) in buf_reset()
61 static void usr_rx_buf_release(struct uart_async_rx *rx_data, struct uart_async_rx_buf *buf) in usr_rx_buf_release()
75 struct uart_async_rx_buf *rx_buf = in uart_async_rx_on_buf_rel()
76 (struct uart_async_rx_buf *)(buffer - offsetof(struct uart_async_rx_buf, buffer)); in uart_async_rx_on_buf_rel()
83 struct uart_async_rx_buf *buf; in uart_async_rx_data_claim()
110 struct uart_async_rx_buf *buf = get_buf(rx_data, rx_data->rd_buf_idx); in uart_async_rx_data_consume()