Home
last modified time | relevance | path

Searched refs:buf_cnt (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/drivers/serial/
Duart_async_rx.c13 return (val + 1) & (rx_data->config->buf_cnt - 1); in inc()
67 __ASSERT_NO_MSG(rx_data->free_buf_cnt <= rx_data->config->buf_cnt); in usr_rx_buf_release()
127 rx_data->free_buf_cnt = rx_data->config->buf_cnt; in uart_async_rx_reset()
132 for (uint8_t i = 0; i < rx_data->config->buf_cnt; i++) { in uart_async_rx_reset()
140 __ASSERT_NO_MSG(config->buf_cnt > 0); in uart_async_rx_init()
141 __ASSERT_NO_MSG(config->length / config->buf_cnt <= UINT8_MAX); in uart_async_rx_init()
144 rx_data->buf_len = (config->length / config->buf_cnt) - UART_ASYNC_RX_BUF_OVERHEAD; in uart_async_rx_init()
/Zephyr-latest/tests/drivers/uart/uart_async_rx/src/
Dmain.c38 static const int buf_cnt = 4; in ZTEST() local
48 .buf_cnt = buf_cnt in ZTEST()
111 static const int buf_cnt = 4; in ZTEST() local
120 .buf_cnt = buf_cnt in ZTEST()
127 for (int i = 0; i < buf_cnt; i++) { in ZTEST()
135 for (int i = 0; i < buf_cnt; i++) { in ZTEST()
292 static const int buf_cnt = 4; in stress_test() local
299 .buf_cnt = buf_cnt in stress_test()
/Zephyr-latest/include/zephyr/drivers/serial/
Duart_async_rx.h70 uint8_t buf_cnt; member
Duart_async_to_irq.h97 .buf_cnt = _rx_cnt \
/Zephyr-latest/subsys/shell/backends/
Dshell_uart.c243 .buf_cnt = CONFIG_SHELL_BACKEND_SERIAL_ASYNC_RX_BUFFER_COUNT, in async_init()
/Zephyr-latest/drivers/misc/coresight/
Dnrf_etr.c904 .buf_cnt = CONFIG_NRF_ETR_SHELL_ASYNC_RX_BUFFER_COUNT, in etr_shell_init()