Lines Matching refs:dmach
209 struct dma_chan *dmach; member
544 struct dma_chan *dmach; member
566 rmcd_debug(EXIT, "DMA_%d", priv->dmach->chan_id); in mport_release_dma()
576 dma_unmap_sg(req->dmach->device->dev, in dma_req_free()
600 req->status = dma_async_is_tx_complete(priv->dmach, req->cookie, in dma_xfer_callback()
654 if (!priv->dmach) { in get_dma_channel()
655 priv->dmach = rio_request_mport_dma(priv->md->mport); in get_dma_channel()
656 if (!priv->dmach) { in get_dma_channel()
659 priv->dmach = priv->md->dma_chan; in get_dma_channel()
668 priv->md->dma_chan = priv->dmach; in get_dma_channel()
671 priv->dmach->chan_id); in get_dma_channel()
708 chan = priv->dmach; in do_dma_request()
830 chan = priv->dmach; in rio_dma_transfer()
837 req->dmach = chan; in rio_dma_transfer()
1955 if (!priv->dmach) { in mport_cdev_release_dma()
1989 if (priv->dmach != priv->md->dma_chan) { in mport_cdev_release_dma()
1992 rio_release_dma(priv->dmach); in mport_cdev_release_dma()
1998 priv->dmach = NULL; in mport_cdev_release_dma()
2456 if (client->dmach) { in mport_cdev_terminate_dma()
2457 dmaengine_terminate_all(client->dmach); in mport_cdev_terminate_dma()
2458 rio_release_dma(client->dmach); in mport_cdev_terminate_dma()