Lines Matching refs:rx_ch
98 struct dma_chan *rx_ch; member
328 dmaengine_slave_config(spfi->rx_ch, &rxconf); in img_spfi_start_dma()
330 rxdesc = dmaengine_prep_slave_sg(spfi->rx_ch, xfer->rx_sg.sgl, in img_spfi_start_dma()
368 dma_async_issue_pending(spfi->rx_ch); in img_spfi_start_dma()
382 dmaengine_terminate_all(spfi->rx_ch); in img_spfi_start_dma()
403 dmaengine_terminate_all(spfi->rx_ch); in img_spfi_handle_err()
623 spfi->rx_ch = dma_request_chan(spfi->dev, "rx"); in img_spfi_probe()
624 if (IS_ERR(spfi->rx_ch)) { in img_spfi_probe()
625 ret = PTR_ERR(spfi->rx_ch); in img_spfi_probe()
626 spfi->rx_ch = NULL; in img_spfi_probe()
631 if (!spfi->tx_ch || !spfi->rx_ch) { in img_spfi_probe()
634 if (spfi->rx_ch) in img_spfi_probe()
635 dma_release_channel(spfi->rx_ch); in img_spfi_probe()
637 spfi->rx_ch = NULL; in img_spfi_probe()
641 master->dma_rx = spfi->rx_ch; in img_spfi_probe()
656 if (spfi->rx_ch) in img_spfi_probe()
657 dma_release_channel(spfi->rx_ch); in img_spfi_probe()
676 if (spfi->rx_ch) in img_spfi_remove()
677 dma_release_channel(spfi->rx_ch); in img_spfi_remove()