Lines Matching refs:dma_dev
629 struct dma_device *dma_dev; in fsl_re_chan_probe() local
637 dma_dev = &re_priv->dma_dev; in fsl_re_chan_probe()
683 chan->chan.device = dma_dev; in fsl_re_chan_probe()
753 struct dma_device *dma_dev; in fsl_re_probe() local
782 dma_dev = &re_priv->dma_dev; in fsl_re_probe()
783 dma_dev->dev = dev; in fsl_re_probe()
784 INIT_LIST_HEAD(&dma_dev->channels); in fsl_re_probe()
787 dma_dev->device_alloc_chan_resources = fsl_re_alloc_chan_resources; in fsl_re_probe()
788 dma_dev->device_tx_status = fsl_re_tx_status; in fsl_re_probe()
789 dma_dev->device_issue_pending = fsl_re_issue_pending; in fsl_re_probe()
791 dma_dev->max_xor = FSL_RE_MAX_XOR_SRCS; in fsl_re_probe()
792 dma_dev->device_prep_dma_xor = fsl_re_prep_dma_xor; in fsl_re_probe()
793 dma_cap_set(DMA_XOR, dma_dev->cap_mask); in fsl_re_probe()
795 dma_dev->max_pq = FSL_RE_MAX_PQ_SRCS; in fsl_re_probe()
796 dma_dev->device_prep_dma_pq = fsl_re_prep_dma_pq; in fsl_re_probe()
797 dma_cap_set(DMA_PQ, dma_dev->cap_mask); in fsl_re_probe()
799 dma_dev->device_prep_dma_memcpy = fsl_re_prep_dma_memcpy; in fsl_re_probe()
800 dma_cap_set(DMA_MEMCPY, dma_dev->cap_mask); in fsl_re_probe()
802 dma_dev->device_free_chan_resources = fsl_re_free_chan_resources; in fsl_re_probe()
844 dma_async_device_register(dma_dev); in fsl_re_probe()
874 dma_async_device_unregister(&re_priv->dma_dev); in fsl_re_remove()