Lines Matching refs:dma_dev
719 struct dma_device *dma_dev; in mv_xor_v2_probe() local
834 dma_dev = &xor_dev->dmadev; in mv_xor_v2_probe()
837 dma_cap_zero(dma_dev->cap_mask); in mv_xor_v2_probe()
838 dma_cap_set(DMA_MEMCPY, dma_dev->cap_mask); in mv_xor_v2_probe()
839 dma_cap_set(DMA_XOR, dma_dev->cap_mask); in mv_xor_v2_probe()
840 dma_cap_set(DMA_INTERRUPT, dma_dev->cap_mask); in mv_xor_v2_probe()
843 INIT_LIST_HEAD(&dma_dev->channels); in mv_xor_v2_probe()
846 dma_dev->device_tx_status = dma_cookie_status; in mv_xor_v2_probe()
847 dma_dev->device_issue_pending = mv_xor_v2_issue_pending; in mv_xor_v2_probe()
848 dma_dev->dev = &pdev->dev; in mv_xor_v2_probe()
850 dma_dev->device_prep_dma_memcpy = mv_xor_v2_prep_dma_memcpy; in mv_xor_v2_probe()
851 dma_dev->device_prep_dma_interrupt = mv_xor_v2_prep_dma_interrupt; in mv_xor_v2_probe()
852 dma_dev->max_xor = 8; in mv_xor_v2_probe()
853 dma_dev->device_prep_dma_xor = mv_xor_v2_prep_dma_xor; in mv_xor_v2_probe()
855 xor_dev->dmachan.device = dma_dev; in mv_xor_v2_probe()
858 &dma_dev->channels); in mv_xor_v2_probe()
864 ret = dma_async_device_register(dma_dev); in mv_xor_v2_probe()