Lines Matching refs:rx_chan

106 	struct dma_chan			*rx_chan;  member
519 dma_sync_single_for_cpu(dma->rx_chan->device->dev, dma->rx_addr, in s3c24xx_uart_copy_rx_to_tty()
561 if (dma && dma->rx_chan) { in s3c24xx_serial_stop_rx()
563 dma_status = dmaengine_tx_status(dma->rx_chan, in s3c24xx_serial_stop_rx()
568 dmaengine_terminate_all(dma->rx_chan); in s3c24xx_serial_stop_rx()
617 dmaengine_tx_status(dma->rx_chan, dma->rx_cookie, &state); in s3c24xx_serial_rx_dma_complete()
640 dma_sync_single_for_device(dma->rx_chan->device->dev, dma->rx_addr, in s3c64xx_start_rx_dma()
643 dma->rx_desc = dmaengine_prep_slave_single(dma->rx_chan, in s3c64xx_start_rx_dma()
656 dma_async_issue_pending(dma->rx_chan); in s3c64xx_start_rx_dma()
734 dmaengine_pause(dma->rx_chan); in s3c24xx_serial_rx_chars_dma()
735 dmaengine_tx_status(dma->rx_chan, dma->rx_cookie, &state); in s3c24xx_serial_rx_chars_dma()
736 dmaengine_terminate_all(dma->rx_chan); in s3c24xx_serial_rx_chars_dma()
861 if (ourport->dma && ourport->dma->rx_chan) in s3c24xx_serial_rx_irq()
1066 dma->rx_chan = dma_request_chan(p->port.dev, "rx"); in s3c24xx_serial_request_dma()
1068 if (IS_ERR(dma->rx_chan)) { in s3c24xx_serial_request_dma()
1070 ret = PTR_ERR(dma->rx_chan); in s3c24xx_serial_request_dma()
1074 ret = dma_get_slave_caps(dma->rx_chan, &dma_caps); in s3c24xx_serial_request_dma()
1082 dmaengine_slave_config(dma->rx_chan, &dma->rx_conf); in s3c24xx_serial_request_dma()
1110 dma->rx_addr = dma_map_single(dma->rx_chan->device->dev, dma->rx_buf, in s3c24xx_serial_request_dma()
1112 if (dma_mapping_error(dma->rx_chan->device->dev, dma->rx_addr)) { in s3c24xx_serial_request_dma()
1131 dma_unmap_single(dma->rx_chan->device->dev, dma->rx_addr, in s3c24xx_serial_request_dma()
1138 dma_release_channel(dma->rx_chan); in s3c24xx_serial_request_dma()
1149 if (dma->rx_chan) { in s3c24xx_serial_release_dma()
1150 dmaengine_terminate_all(dma->rx_chan); in s3c24xx_serial_release_dma()
1151 dma_unmap_single(dma->rx_chan->device->dev, dma->rx_addr, in s3c24xx_serial_release_dma()
1154 dma_release_channel(dma->rx_chan); in s3c24xx_serial_release_dma()
1155 dma->rx_chan = NULL; in s3c24xx_serial_release_dma()