Lines Matching full:tx_chan
1180 host->tx_chan = dma_request_chan(mmc->parent, "tx"); in sdhci_external_dma_init()
1181 if (IS_ERR(host->tx_chan)) { in sdhci_external_dma_init()
1182 ret = PTR_ERR(host->tx_chan); in sdhci_external_dma_init()
1185 host->tx_chan = NULL; in sdhci_external_dma_init()
1191 if (host->tx_chan) { in sdhci_external_dma_init()
1192 dma_release_channel(host->tx_chan); in sdhci_external_dma_init()
1193 host->tx_chan = NULL; in sdhci_external_dma_init()
1208 return data->flags & MMC_DATA_WRITE ? host->tx_chan : host->rx_chan; in sdhci_external_dma_channel()
1267 if (host->tx_chan) { in sdhci_external_dma_release()
1268 dma_release_channel(host->tx_chan); in sdhci_external_dma_release()
1269 host->tx_chan = NULL; in sdhci_external_dma_release()