Lines Matching refs:rx_ch
293 if (!stm32_port->rx_ch) in stm32_usart_rx_dma_enabled()
456 rx_dma_status = dmaengine_tx_status(stm32_port->rx_ch, in stm32_usart_receive_chars()
457 stm32_port->rx_ch->cookie, in stm32_usart_receive_chars()
475 dmaengine_terminate_async(stm32_port->rx_ch); in stm32_usart_receive_chars()
941 if (stm32_port->rx_ch) in stm32_usart_unthrottle()
955 if (stm32_port->rx_ch) in stm32_usart_stop_rx()
977 desc = dmaengine_prep_dma_cyclic(stm32_port->rx_ch, in stm32_usart_start_rx_dma_cyclic()
993 dmaengine_terminate_sync(stm32_port->rx_ch); in stm32_usart_start_rx_dma_cyclic()
998 dma_async_issue_pending(stm32_port->rx_ch); in stm32_usart_start_rx_dma_cyclic()
1036 if (stm32_port->rx_ch) { in stm32_usart_startup()
1083 if (stm32_port->rx_ch) in stm32_usart_shutdown()
1084 dmaengine_terminate_async(stm32_port->rx_ch); in stm32_usart_shutdown()
1185 if (ofs->rtor != UNDEF_REG && (stm32_port->rx_ch || in stm32_usart_set_termios()
1264 if (stm32_port->rx_ch) { in stm32_usart_set_termios()
1623 ret = dmaengine_slave_config(stm32port->rx_ch, &config); in stm32_usart_of_dma_rx_probe()
1684 stm32port->rx_ch = dma_request_chan(&pdev->dev, "rx"); in stm32_usart_serial_probe()
1685 if (PTR_ERR(stm32port->rx_ch) == -EPROBE_DEFER) in stm32_usart_serial_probe()
1689 if (IS_ERR(stm32port->rx_ch)) in stm32_usart_serial_probe()
1690 stm32port->rx_ch = NULL; in stm32_usart_serial_probe()
1712 if (stm32port->rx_ch && stm32_usart_of_dma_rx_probe(stm32port, pdev)) { in stm32_usart_serial_probe()
1714 dma_release_channel(stm32port->rx_ch); in stm32_usart_serial_probe()
1715 stm32port->rx_ch = NULL; in stm32_usart_serial_probe()
1724 if (!stm32port->rx_ch) in stm32_usart_serial_probe()
1750 if (stm32port->rx_ch) in stm32_usart_serial_probe()
1767 if (stm32port->rx_ch) in stm32_usart_serial_probe()
1768 dma_release_channel(stm32port->rx_ch); in stm32_usart_serial_probe()
1802 if (stm32_port->rx_ch) { in stm32_usart_serial_remove()
1804 dma_release_channel(stm32_port->rx_ch); in stm32_usart_serial_remove()
1999 if (stm32_port->rx_ch) { in stm32_usart_serial_en_wakeup()
2005 dmaengine_terminate_async(stm32_port->rx_ch); in stm32_usart_serial_en_wakeup()
2014 if (stm32_port->rx_ch) { in stm32_usart_serial_en_wakeup()