Lines Matching refs:dma_dev
718 struct dma_device *dma_dev; in mv_xor_v2_probe() local
825 dma_dev = &xor_dev->dmadev; in mv_xor_v2_probe()
828 dma_cap_zero(dma_dev->cap_mask); in mv_xor_v2_probe()
829 dma_cap_set(DMA_MEMCPY, dma_dev->cap_mask); in mv_xor_v2_probe()
830 dma_cap_set(DMA_XOR, dma_dev->cap_mask); in mv_xor_v2_probe()
831 dma_cap_set(DMA_INTERRUPT, dma_dev->cap_mask); in mv_xor_v2_probe()
834 INIT_LIST_HEAD(&dma_dev->channels); in mv_xor_v2_probe()
837 dma_dev->device_tx_status = dma_cookie_status; in mv_xor_v2_probe()
838 dma_dev->device_issue_pending = mv_xor_v2_issue_pending; in mv_xor_v2_probe()
839 dma_dev->dev = &pdev->dev; in mv_xor_v2_probe()
841 dma_dev->device_prep_dma_memcpy = mv_xor_v2_prep_dma_memcpy; in mv_xor_v2_probe()
842 dma_dev->device_prep_dma_interrupt = mv_xor_v2_prep_dma_interrupt; in mv_xor_v2_probe()
843 dma_dev->max_xor = 8; in mv_xor_v2_probe()
844 dma_dev->device_prep_dma_xor = mv_xor_v2_prep_dma_xor; in mv_xor_v2_probe()
846 xor_dev->dmachan.device = dma_dev; in mv_xor_v2_probe()
849 &dma_dev->channels); in mv_xor_v2_probe()
855 ret = dma_async_device_register(dma_dev); in mv_xor_v2_probe()