Searched refs:buf_cnt (Results 1 – 6 of 6) sorted by relevance
13 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()
38 static const int buf_cnt = 4; in ZTEST() local48 .buf_cnt = buf_cnt in ZTEST()111 static const int buf_cnt = 4; in ZTEST() local120 .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() local299 .buf_cnt = buf_cnt in stress_test()
70 uint8_t buf_cnt; member
97 .buf_cnt = _rx_cnt \
243 .buf_cnt = CONFIG_SHELL_BACKEND_SERIAL_ASYNC_RX_BUFFER_COUNT, in async_init()
904 .buf_cnt = CONFIG_NRF_ETR_SHELL_ASYNC_RX_BUFFER_COUNT, in etr_shell_init()