Lines Matching refs:dma_dev
725 struct dma_device *dma_dev; in mv_xor_v2_probe() local
839 dma_dev = &xor_dev->dmadev; in mv_xor_v2_probe()
842 dma_cap_zero(dma_dev->cap_mask); in mv_xor_v2_probe()
843 dma_cap_set(DMA_MEMCPY, dma_dev->cap_mask); in mv_xor_v2_probe()
844 dma_cap_set(DMA_XOR, dma_dev->cap_mask); in mv_xor_v2_probe()
845 dma_cap_set(DMA_INTERRUPT, dma_dev->cap_mask); in mv_xor_v2_probe()
848 INIT_LIST_HEAD(&dma_dev->channels); in mv_xor_v2_probe()
851 dma_dev->device_tx_status = dma_cookie_status; in mv_xor_v2_probe()
852 dma_dev->device_issue_pending = mv_xor_v2_issue_pending; in mv_xor_v2_probe()
853 dma_dev->dev = &pdev->dev; in mv_xor_v2_probe()
855 dma_dev->device_prep_dma_memcpy = mv_xor_v2_prep_dma_memcpy; in mv_xor_v2_probe()
856 dma_dev->device_prep_dma_interrupt = mv_xor_v2_prep_dma_interrupt; in mv_xor_v2_probe()
857 dma_dev->max_xor = 8; in mv_xor_v2_probe()
858 dma_dev->device_prep_dma_xor = mv_xor_v2_prep_dma_xor; in mv_xor_v2_probe()
860 xor_dev->dmachan.device = dma_dev; in mv_xor_v2_probe()
863 &dma_dev->channels); in mv_xor_v2_probe()
869 ret = dma_async_device_register(dma_dev); in mv_xor_v2_probe()