Lines Matching refs:tx_ch
368 dmaengine_terminate_async(stm32_port->tx_ch); in stm32_usart_tx_dma_terminate()
558 desc = dmaengine_prep_slave_single(stm32port->tx_ch, in stm32_usart_transmit_chars_dma()
586 dma_async_issue_pending(stm32port->tx_ch); in stm32_usart_transmit_chars_dma()
645 if (stm32_port->tx_ch) in stm32_usart_transmit_chars()
709 if ((sr & USART_SR_TXE) && !(stm32_port->tx_ch)) { in stm32_usart_interrupt()
820 if (stm32_port->tx_ch) { in stm32_usart_flush_buffer()
1578 ret = dmaengine_slave_config(stm32port->tx_ch, &config); in stm32_usart_of_dma_tx_probe()
1621 stm32port->tx_ch = dma_request_chan(&pdev->dev, "tx"); in stm32_usart_serial_probe()
1622 if (PTR_ERR(stm32port->tx_ch) == -EPROBE_DEFER) { in stm32_usart_serial_probe()
1627 if (IS_ERR(stm32port->tx_ch)) in stm32_usart_serial_probe()
1628 stm32port->tx_ch = NULL; in stm32_usart_serial_probe()
1636 if (stm32port->tx_ch && stm32_usart_of_dma_tx_probe(stm32port, pdev)) { in stm32_usart_serial_probe()
1638 dma_release_channel(stm32port->tx_ch); in stm32_usart_serial_probe()
1639 stm32port->tx_ch = NULL; in stm32_usart_serial_probe()
1644 if (!stm32port->tx_ch) in stm32_usart_serial_probe()
1666 if (stm32port->tx_ch) { in stm32_usart_serial_probe()
1668 dma_release_channel(stm32port->tx_ch); in stm32_usart_serial_probe()
1715 if (stm32_port->tx_ch) { in stm32_usart_serial_remove()
1717 dma_release_channel(stm32_port->tx_ch); in stm32_usart_serial_remove()