Lines Matching refs:dma_device
179 struct dma_device dma_device; member
1066 INIT_LIST_HEAD(&imxdma->dma_device.channels); in imxdma_probe()
1068 dma_cap_set(DMA_SLAVE, imxdma->dma_device.cap_mask); in imxdma_probe()
1069 dma_cap_set(DMA_CYCLIC, imxdma->dma_device.cap_mask); in imxdma_probe()
1070 dma_cap_set(DMA_MEMCPY, imxdma->dma_device.cap_mask); in imxdma_probe()
1071 dma_cap_set(DMA_INTERLEAVE, imxdma->dma_device.cap_mask); in imxdma_probe()
1105 imxdmac->chan.device = &imxdma->dma_device; in imxdma_probe()
1111 &imxdma->dma_device.channels); in imxdma_probe()
1115 imxdma->dma_device.dev = &pdev->dev; in imxdma_probe()
1117 imxdma->dma_device.device_alloc_chan_resources = imxdma_alloc_chan_resources; in imxdma_probe()
1118 imxdma->dma_device.device_free_chan_resources = imxdma_free_chan_resources; in imxdma_probe()
1119 imxdma->dma_device.device_tx_status = imxdma_tx_status; in imxdma_probe()
1120 imxdma->dma_device.device_prep_slave_sg = imxdma_prep_slave_sg; in imxdma_probe()
1121 imxdma->dma_device.device_prep_dma_cyclic = imxdma_prep_dma_cyclic; in imxdma_probe()
1122 imxdma->dma_device.device_prep_dma_memcpy = imxdma_prep_dma_memcpy; in imxdma_probe()
1123 imxdma->dma_device.device_prep_interleaved_dma = imxdma_prep_dma_interleaved; in imxdma_probe()
1124 imxdma->dma_device.device_control = imxdma_control; in imxdma_probe()
1125 imxdma->dma_device.device_issue_pending = imxdma_issue_pending; in imxdma_probe()
1129 imxdma->dma_device.copy_align = 2; /* 2^2 = 4 bytes alignment */ in imxdma_probe()
1130 imxdma->dma_device.dev->dma_parms = &imxdma->dma_parms; in imxdma_probe()
1131 dma_set_max_seg_size(imxdma->dma_device.dev, 0xffffff); in imxdma_probe()
1133 ret = dma_async_device_register(&imxdma->dma_device); in imxdma_probe()
1151 dma_async_device_unregister(&imxdma->dma_device); in imxdma_remove()