Lines Matching refs:dma_dev
718 struct dma_device *dma_dev; in mv_xor_v2_probe() local
811 dma_dev = &xor_dev->dmadev; in mv_xor_v2_probe()
814 dma_cap_zero(dma_dev->cap_mask); in mv_xor_v2_probe()
815 dma_cap_set(DMA_MEMCPY, dma_dev->cap_mask); in mv_xor_v2_probe()
816 dma_cap_set(DMA_XOR, dma_dev->cap_mask); in mv_xor_v2_probe()
817 dma_cap_set(DMA_INTERRUPT, dma_dev->cap_mask); in mv_xor_v2_probe()
820 INIT_LIST_HEAD(&dma_dev->channels); in mv_xor_v2_probe()
823 dma_dev->device_tx_status = dma_cookie_status; in mv_xor_v2_probe()
824 dma_dev->device_issue_pending = mv_xor_v2_issue_pending; in mv_xor_v2_probe()
825 dma_dev->dev = &pdev->dev; in mv_xor_v2_probe()
827 dma_dev->device_prep_dma_memcpy = mv_xor_v2_prep_dma_memcpy; in mv_xor_v2_probe()
828 dma_dev->device_prep_dma_interrupt = mv_xor_v2_prep_dma_interrupt; in mv_xor_v2_probe()
829 dma_dev->max_xor = 8; in mv_xor_v2_probe()
830 dma_dev->device_prep_dma_xor = mv_xor_v2_prep_dma_xor; in mv_xor_v2_probe()
832 xor_dev->dmachan.device = dma_dev; in mv_xor_v2_probe()
835 &dma_dev->channels); in mv_xor_v2_probe()
841 ret = dma_async_device_register(dma_dev); in mv_xor_v2_probe()