Lines Matching refs:dma_dev
714 struct dma_device *dma_dev; in mv_xor_v2_probe() local
828 dma_dev = &xor_dev->dmadev; in mv_xor_v2_probe()
831 dma_cap_zero(dma_dev->cap_mask); in mv_xor_v2_probe()
832 dma_cap_set(DMA_MEMCPY, dma_dev->cap_mask); in mv_xor_v2_probe()
833 dma_cap_set(DMA_XOR, dma_dev->cap_mask); in mv_xor_v2_probe()
834 dma_cap_set(DMA_INTERRUPT, dma_dev->cap_mask); in mv_xor_v2_probe()
837 INIT_LIST_HEAD(&dma_dev->channels); in mv_xor_v2_probe()
840 dma_dev->device_tx_status = dma_cookie_status; in mv_xor_v2_probe()
841 dma_dev->device_issue_pending = mv_xor_v2_issue_pending; in mv_xor_v2_probe()
842 dma_dev->dev = &pdev->dev; in mv_xor_v2_probe()
844 dma_dev->device_prep_dma_memcpy = mv_xor_v2_prep_dma_memcpy; in mv_xor_v2_probe()
845 dma_dev->device_prep_dma_interrupt = mv_xor_v2_prep_dma_interrupt; in mv_xor_v2_probe()
846 dma_dev->max_xor = 8; in mv_xor_v2_probe()
847 dma_dev->device_prep_dma_xor = mv_xor_v2_prep_dma_xor; in mv_xor_v2_probe()
849 xor_dev->dmachan.device = dma_dev; in mv_xor_v2_probe()
852 &dma_dev->channels); in mv_xor_v2_probe()
858 ret = dma_async_device_register(dma_dev); in mv_xor_v2_probe()