Lines Matching refs:rx_ch
175 if (threaded && stm32_port->rx_ch) { in stm32_pending_rx()
176 status = dmaengine_tx_status(stm32_port->rx_ch, in stm32_pending_rx()
177 stm32_port->rx_ch->cookie, in stm32_pending_rx()
197 if (stm32_port->rx_ch) { in stm32_get_char()
466 if ((sr & USART_SR_RXNE) && !(stm32_port->rx_ch)) in stm32_interrupt()
474 if (stm32_port->rx_ch) in stm32_interrupt()
487 if (stm32_port->rx_ch) in stm32_threaded_interrupt()
783 if (ofs->rtor != UNDEF_REG && (stm32_port->rx_ch || in stm32_set_termios()
795 if (!stm32_port->rx_ch) in stm32_set_termios()
865 if (stm32_port->rx_ch) in stm32_set_termios()
1094 stm32port->rx_ch = dma_request_slave_channel(dev, "rx"); in stm32_of_dma_rx_probe()
1095 if (!stm32port->rx_ch) { in stm32_of_dma_rx_probe()
1112 ret = dmaengine_slave_config(stm32port->rx_ch, &config); in stm32_of_dma_rx_probe()
1120 desc = dmaengine_prep_dma_cyclic(stm32port->rx_ch, in stm32_of_dma_rx_probe()
1138 dma_async_issue_pending(stm32port->rx_ch); in stm32_of_dma_rx_probe()
1148 dma_release_channel(stm32port->rx_ch); in stm32_of_dma_rx_probe()
1149 stm32port->rx_ch = NULL; in stm32_of_dma_rx_probe()
1284 if (stm32_port->rx_ch) in stm32_serial_remove()
1285 dma_release_channel(stm32_port->rx_ch); in stm32_serial_remove()