Lines Matching refs:xfer_size
41 void (*uart_dma_rx_handler)(uint32_t xfer_size, int dma_error, union HAL_UART_IRQ_T status);
42 void (*uart_dma_tx_handler)(uint32_t xfer_size, int dma_error);
190 static void _uart_dma_rx_handler(uint32_t xfer_size, int dma_error, union HAL_UART_IRQ_T status) in _uart_dma_rx_handler() argument
195 len = _uart_ringbuffer_push(uartid, uart_ctx[uartid].uart_buffer, xfer_size); in _uart_dma_rx_handler()
196 if (len < xfer_size) { in _uart_dma_rx_handler()
197 printf("%s ringbuf is full have %d need %d\r", __FUNCTION__, len, xfer_size); in _uart_dma_rx_handler()
207 static void _uart1_dma_rx_handler(uint32_t xfer_size, int dma_error, union HAL_UART_IRQ_T status) in _uart1_dma_rx_handler() argument
212 len = _uart_ringbuffer_push(uartid, uart_ctx[uartid].uart_buffer, xfer_size); in _uart1_dma_rx_handler()
213 if (len < xfer_size) { in _uart1_dma_rx_handler()
214 printf("%s ringbuf is full have %d need %d\r", __FUNCTION__, len, xfer_size); in _uart1_dma_rx_handler()
226 static void _uart1_dma_tx_handler(uint32_t xfer_size, int dma_error) in _uart1_dma_tx_handler() argument
232 static void _uart2_dma_rx_handler(uint32_t xfer_size, int dma_error, union HAL_UART_IRQ_T status) in _uart2_dma_rx_handler() argument
237 len = _uart_ringbuffer_push(uartid, uart_ctx[uartid].uart_buffer, xfer_size); in _uart2_dma_rx_handler()
238 if (len < xfer_size) { in _uart2_dma_rx_handler()
239 printf("%s ringbuf is full have %d need %d\r", __FUNCTION__, len, xfer_size); in _uart2_dma_rx_handler()
252 static void _uart2_dma_tx_handler(uint32_t xfer_size, int dma_error) in _uart2_dma_tx_handler() argument