Searched refs:rx_ringbuf (Results 1 – 1 of 1) sorted by relevance
30 uint8_t *rx_ringbuf; member148 memcpy(uart_ctx[uart_id].rx_ringbuf, buf + spilt_len, write_size - spilt_len); in _uart_ringbuffer_push()181 memcpy(buf + spilt_len, uart_ctx[uart_id].rx_ringbuf, read_size - spilt_len); in _uart_ringbuffer_pop()352 uart_ctx[uart_id].rx_ringbuf = aos_malloc(UART_FIFO_MAX_BUFFER); in hal_uart_init()353 if (NULL == uart_ctx[uart_id].rx_ringbuf) { in hal_uart_init()360 memset(uart_ctx[uart_id].rx_ringbuf, 0, UART_FIFO_MAX_BUFFER); in hal_uart_init()364 aos_free(uart_ctx[uart_id].rx_ringbuf); in hal_uart_init()370 aos_free(uart_ctx[uart_id].rx_ringbuf); in hal_uart_init()377 aos_free(uart_ctx[uart_id].rx_ringbuf); in hal_uart_init()390 aos_free(uart_ctx[uart_id].rx_ringbuf); in hal_uart_init()[all …]
Completed in 7 milliseconds