Searched refs:uart_async_rx (Results 1 – 10 of 10) sorted by relevance
/Zephyr-latest/include/zephyr/drivers/serial/ |
D | uart_async_rx.h | 36 struct uart_async_rx { struct 79 static inline uint8_t uart_async_rx_get_buf_len(struct uart_async_rx *async_rx) in uart_async_rx_get_buf_len() argument 101 int uart_async_rx_init(struct uart_async_rx *async_rx, 111 void uart_async_rx_reset(struct uart_async_rx *async_rx); 121 void uart_async_rx_on_rdy(struct uart_async_rx *async_rx, uint8_t *buffer, size_t length); 133 uint8_t *uart_async_rx_buf_req(struct uart_async_rx *async_rx); 142 void uart_async_rx_on_buf_rel(struct uart_async_rx *async_rx, uint8_t *buf); 158 size_t uart_async_rx_data_claim(struct uart_async_rx *async_rx, uint8_t **data, size_t length); 170 bool uart_async_rx_data_consume(struct uart_async_rx *async_rx, size_t length);
|
D | uart_async_to_irq.h | 185 struct uart_async_rx async_rx;
|
/Zephyr-latest/drivers/serial/ |
D | uart_async_rx.c | 11 static uint8_t inc(struct uart_async_rx *rx_data, uint8_t val) in inc() 16 static struct uart_async_rx_buf *get_buf(struct uart_async_rx *rx_data, uint8_t idx) in get_buf() 25 uint8_t *uart_async_rx_buf_req(struct uart_async_rx *rx_data) in uart_async_rx_buf_req() 41 void uart_async_rx_on_rdy(struct uart_async_rx *rx_data, uint8_t *buffer, size_t length) in uart_async_rx_on_rdy() 61 static void usr_rx_buf_release(struct uart_async_rx *rx_data, struct uart_async_rx_buf *buf) in usr_rx_buf_release() 70 void uart_async_rx_on_buf_rel(struct uart_async_rx *rx_data, uint8_t *buffer) in uart_async_rx_on_buf_rel() 81 size_t uart_async_rx_data_claim(struct uart_async_rx *rx_data, uint8_t **data, size_t length) in uart_async_rx_data_claim() 108 bool uart_async_rx_data_consume(struct uart_async_rx *rx_data, size_t length) in uart_async_rx_data_consume() 125 void uart_async_rx_reset(struct uart_async_rx *rx_data) in uart_async_rx_reset() 137 int uart_async_rx_init(struct uart_async_rx *rx_data, in uart_async_rx_init()
|
D | uart_async_to_irq.c | 93 struct uart_async_rx *async_rx = &data->rx.async_rx; in on_rx_buf_req() 199 struct uart_async_rx *async_rx = &data->rx.async_rx; in z_uart_async_to_irq_fifo_read()
|
D | CMakeLists.txt | 9 zephyr_library_sources_ifdef(CONFIG_UART_ASYNC_RX_HELPER uart_async_rx.c)
|
/Zephyr-latest/tests/drivers/uart/uart_async_rx/src/ |
D | main.c | 34 ZTEST(uart_async_rx, test_rx) in ZTEST() argument 43 struct uart_async_rx async_rx; in ZTEST() 107 ZTEST(uart_async_rx, test_rx_late_consume) in ZTEST() argument 116 struct uart_async_rx async_rx; in ZTEST() 148 struct uart_async_rx async_rx; 163 struct uart_async_rx *async_rx = &test_data->async_rx; in producer_no_chunks() 198 struct uart_async_rx *async_rx = &test_data->async_rx; in consumer() 249 struct uart_async_rx *async_rx = &test_data->async_rx; in producer_in_chunks() 320 ZTEST(uart_async_rx, test_rx_ztress_no_chunks) in ZTEST() argument 325 ZTEST(uart_async_rx, test_rx_ztress_with_chunks) in ZTEST() argument [all …]
|
/Zephyr-latest/tests/drivers/uart/uart_async_rx/ |
D | CMakeLists.txt | 5 project(uart_async_rx) project
|
/Zephyr-latest/include/zephyr/shell/ |
D | shell_uart.h | 63 struct uart_async_rx async_rx;
|
/Zephyr-latest/subsys/shell/backends/ |
D | shell_uart.c | 237 struct uart_async_rx *async_rx = &sh_uart->async_rx; in async_init() 441 struct uart_async_rx *async_rx = &sh_uart->async_rx; in async_read()
|
/Zephyr-latest/drivers/misc/coresight/ |
D | nrf_etr.c | 144 static struct uart_async_rx async_rx;
|