Home
last modified time | relevance | path

Searched refs:uart_async_rx_buf (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/serial/
Duart_async_rx.c16 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()
[all …]
/Zephyr-latest/include/zephyr/drivers/serial/
Duart_async_rx.h22 struct uart_async_rx_buf { struct
92 #define UART_ASYNC_RX_BUF_OVERHEAD offsetof(struct uart_async_rx_buf, buffer)