Lines Matching refs:buffer_len
46 size_t buffer_len; member
163 if (data->dma_rx.buffer_len) { in uart_xmc4xxx_isr()
423 data->dma_rx.buffer_len = 0; in async_evt_rx_release_buffer()
438 if (data->dma_rx.buffer_len == 0 || data->async_cb == NULL) { in async_evt_rx_stopped()
444 data->dma_rx.counter = data->dma_rx.buffer_len - stat.pending_length; in async_evt_rx_stopped()
458 data->dma_rx.buffer_len = 0; in async_evt_rx_disabled()
488 data->dma_tx.buffer_len = 0; in async_evt_tx_done()
503 data->dma_tx.buffer_len = 0; in async_evt_tx_abort()
520 if (data->dma_rx.buffer_len == 0) { in uart_xmc4xxx_async_rx_timeout()
526 size_t rx_rcv_len = data->dma_rx.buffer_len - stat.pending_length; in uart_xmc4xxx_async_rx_timeout()
545 tx_buffer_len = data->dma_tx.buffer_len; in uart_xmc4xxx_async_tx_abort()
657 if (data->dma_tx.buffer_len != 0) { in uart_xmc4xxx_async_tx()
662 data->dma_tx.buffer_len = buf_size; in uart_xmc4xxx_async_tx()
667 data->dma_tx.blk_cfg.block_size = data->dma_tx.buffer_len; in uart_xmc4xxx_async_tx()
698 if (data->dma_rx.buffer_len != 0) { in uart_xmc4xxx_async_rx_enable()
705 data->dma_rx.buffer_len = len; in uart_xmc4xxx_async_rx_enable()
709 data->dma_rx.blk_cfg.block_size = data->dma_rx.buffer_len; in uart_xmc4xxx_async_rx_enable()
746 if (data->dma_rx.buffer_len == 0) { in uart_xmc4xxx_dma_rx_cb()
750 data->dma_rx.counter = data->dma_rx.buffer_len; in uart_xmc4xxx_dma_rx_cb()
763 data->dma_rx.buffer_len = data->rx_next_buffer_len; in uart_xmc4xxx_dma_rx_cb()
771 data->dma_rx.buffer_len); in uart_xmc4xxx_dma_rx_cb()
799 if (data->dma_rx.buffer_len == 0) { in uart_xmc4xxx_async_rx_disable()
809 size_t rx_rcv_len = data->dma_rx.buffer_len - stat.pending_length; in uart_xmc4xxx_async_rx_disable()
831 size_t tx_buffer_len = data->dma_tx.buffer_len; in uart_xmc4xxx_dma_tx_cb()
866 if (data->dma_rx.buffer_len == 0U) { in uart_xmc4xxx_rx_buf_rsp()