Lines Matching refs:rx_ch
180 if (threaded && stm32_port->rx_ch) { in stm32_pending_rx()
181 status = dmaengine_tx_status(stm32_port->rx_ch, in stm32_pending_rx()
182 stm32_port->rx_ch->cookie, in stm32_pending_rx()
202 if (stm32_port->rx_ch) { in stm32_get_char()
471 if ((sr & USART_SR_RXNE) && !(stm32_port->rx_ch)) in stm32_interrupt()
479 if (stm32_port->rx_ch) in stm32_interrupt()
492 if (stm32_port->rx_ch) in stm32_threaded_interrupt()
743 if (ofs->rtor != UNDEF_REG && (stm32_port->rx_ch || in stm32_set_termios()
755 if (!stm32_port->rx_ch) in stm32_set_termios()
819 if (stm32_port->rx_ch) in stm32_set_termios()
1022 stm32port->rx_ch = dma_request_slave_channel(dev, "rx"); in stm32_of_dma_rx_probe()
1023 if (!stm32port->rx_ch) { in stm32_of_dma_rx_probe()
1040 ret = dmaengine_slave_config(stm32port->rx_ch, &config); in stm32_of_dma_rx_probe()
1048 desc = dmaengine_prep_dma_cyclic(stm32port->rx_ch, in stm32_of_dma_rx_probe()
1066 dma_async_issue_pending(stm32port->rx_ch); in stm32_of_dma_rx_probe()
1076 dma_release_channel(stm32port->rx_ch); in stm32_of_dma_rx_probe()
1077 stm32port->rx_ch = NULL; in stm32_of_dma_rx_probe()
1212 if (stm32_port->rx_ch) in stm32_serial_remove()
1213 dma_release_channel(stm32_port->rx_ch); in stm32_serial_remove()