Lines Matching refs:tx_ch
99 struct dma_chan *tx_ch; member
352 dmaengine_slave_config(spfi->tx_ch, &txconf); in img_spfi_start_dma()
354 txdesc = dmaengine_prep_slave_sg(spfi->tx_ch, xfer->tx_sg.sgl, in img_spfi_start_dma()
376 dma_async_issue_pending(spfi->tx_ch); in img_spfi_start_dma()
383 dmaengine_terminate_all(spfi->tx_ch); in img_spfi_start_dma()
402 dmaengine_terminate_all(spfi->tx_ch); in img_spfi_handle_err()
615 spfi->tx_ch = dma_request_chan(spfi->dev, "tx"); in img_spfi_probe()
616 if (IS_ERR(spfi->tx_ch)) { in img_spfi_probe()
617 ret = PTR_ERR(spfi->tx_ch); in img_spfi_probe()
618 spfi->tx_ch = NULL; in img_spfi_probe()
631 if (!spfi->tx_ch || !spfi->rx_ch) { in img_spfi_probe()
632 if (spfi->tx_ch) in img_spfi_probe()
633 dma_release_channel(spfi->tx_ch); in img_spfi_probe()
636 spfi->tx_ch = NULL; in img_spfi_probe()
640 master->dma_tx = spfi->tx_ch; in img_spfi_probe()
658 if (spfi->tx_ch) in img_spfi_probe()
659 dma_release_channel(spfi->tx_ch); in img_spfi_probe()
674 if (spfi->tx_ch) in img_spfi_remove()
675 dma_release_channel(spfi->tx_ch); in img_spfi_remove()