Lines Matching refs:uart_buffer
29 uint8_t *uart_buffer; member
84 …hal_uart_dma_recv_mask(uart_id, uart_ctx[uart_id].uart_buffer, UART_DMA_RING_BUFFER_SIZE, &dma_des… in hal_uart_rx_start()
195 len = _uart_ringbuffer_push(uartid, uart_ctx[uartid].uart_buffer, xfer_size); in _uart_dma_rx_handler()
201 memset(uart_ctx[uartid].uart_buffer, 0, UART_DMA_RING_BUFFER_SIZE); in _uart_dma_rx_handler()
212 len = _uart_ringbuffer_push(uartid, uart_ctx[uartid].uart_buffer, xfer_size); in _uart1_dma_rx_handler()
218 memset(uart_ctx[uartid].uart_buffer, 0, UART_DMA_RING_BUFFER_SIZE); in _uart1_dma_rx_handler()
237 len = _uart_ringbuffer_push(uartid, uart_ctx[uartid].uart_buffer, xfer_size); in _uart2_dma_rx_handler()
243 memset(uart_ctx[uartid].uart_buffer, 0, UART_DMA_RING_BUFFER_SIZE); in _uart2_dma_rx_handler()
313 uart_ctx[uart_id].uart_buffer = _hal_uart_buf; in hal_uart_init()
318 uart_ctx[uart_id].uart_buffer = _hal_uart1_buf; in hal_uart_init()
323 uart_ctx[uart_id].uart_buffer = _hal_uart2_buf; in hal_uart_init()
325 memset(uart_ctx[uart_id].uart_buffer, 0, UART_DMA_RING_BUFFER_SIZE); in hal_uart_init()