Lines Matching refs:chan_tx
258 struct dma_chan *chan_tx; member
334 chan = host->chan_tx; in sh_mmcif_start_dma_rx()
336 host->chan_tx = NULL; in sh_mmcif_start_dma_rx()
353 struct dma_chan *chan = host->chan_tx; in sh_mmcif_start_dma_tx()
380 host->chan_tx = NULL; in sh_mmcif_start_dma_tx()
441 host->chan_tx = sh_mmcif_request_dma_pdata(host, in sh_mmcif_request_dma()
446 host->chan_tx = dma_request_slave_channel(dev, "tx"); in sh_mmcif_request_dma()
449 dev_dbg(dev, "%s: got channel TX %p RX %p\n", __func__, host->chan_tx, in sh_mmcif_request_dma()
452 if (!host->chan_tx || !host->chan_rx || in sh_mmcif_request_dma()
453 sh_mmcif_dma_slave_config(host, host->chan_tx, DMA_MEM_TO_DEV) || in sh_mmcif_request_dma()
460 if (host->chan_tx) in sh_mmcif_request_dma()
461 dma_release_channel(host->chan_tx); in sh_mmcif_request_dma()
464 host->chan_tx = host->chan_rx = NULL; in sh_mmcif_request_dma()
471 if (host->chan_tx) { in sh_mmcif_release_dma()
472 struct dma_chan *chan = host->chan_tx; in sh_mmcif_release_dma()
473 host->chan_tx = NULL; in sh_mmcif_release_dma()
1147 if (host->chan_tx) in sh_mmcif_end_cmd()
1165 dma_unmap_sg(host->chan_tx->device->dev, in sh_mmcif_end_cmd()
1192 dmaengine_terminate_all(host->chan_tx); in sh_mmcif_end_cmd()