Lines Matching refs:dma_device
175 struct dma_device dma_device; member
1030 return dma_request_channel(imxdma->dma_device.cap_mask, in imxdma_xlate()
1106 INIT_LIST_HEAD(&imxdma->dma_device.channels); in imxdma_probe()
1108 dma_cap_set(DMA_SLAVE, imxdma->dma_device.cap_mask); in imxdma_probe()
1109 dma_cap_set(DMA_CYCLIC, imxdma->dma_device.cap_mask); in imxdma_probe()
1110 dma_cap_set(DMA_MEMCPY, imxdma->dma_device.cap_mask); in imxdma_probe()
1111 dma_cap_set(DMA_INTERLEAVE, imxdma->dma_device.cap_mask); in imxdma_probe()
1144 imxdmac->chan.device = &imxdma->dma_device; in imxdma_probe()
1150 &imxdma->dma_device.channels); in imxdma_probe()
1153 imxdma->dma_device.dev = &pdev->dev; in imxdma_probe()
1155 imxdma->dma_device.device_alloc_chan_resources = imxdma_alloc_chan_resources; in imxdma_probe()
1156 imxdma->dma_device.device_free_chan_resources = imxdma_free_chan_resources; in imxdma_probe()
1157 imxdma->dma_device.device_tx_status = imxdma_tx_status; in imxdma_probe()
1158 imxdma->dma_device.device_prep_slave_sg = imxdma_prep_slave_sg; in imxdma_probe()
1159 imxdma->dma_device.device_prep_dma_cyclic = imxdma_prep_dma_cyclic; in imxdma_probe()
1160 imxdma->dma_device.device_prep_dma_memcpy = imxdma_prep_dma_memcpy; in imxdma_probe()
1161 imxdma->dma_device.device_prep_interleaved_dma = imxdma_prep_dma_interleaved; in imxdma_probe()
1162 imxdma->dma_device.device_config = imxdma_config; in imxdma_probe()
1163 imxdma->dma_device.device_terminate_all = imxdma_terminate_all; in imxdma_probe()
1164 imxdma->dma_device.device_issue_pending = imxdma_issue_pending; in imxdma_probe()
1168 imxdma->dma_device.copy_align = DMAENGINE_ALIGN_4_BYTES; in imxdma_probe()
1169 dma_set_max_seg_size(imxdma->dma_device.dev, 0xffffff); in imxdma_probe()
1171 ret = dma_async_device_register(&imxdma->dma_device); in imxdma_probe()
1189 dma_async_device_unregister(&imxdma->dma_device); in imxdma_probe()
1222 dma_async_device_unregister(&imxdma->dma_device); in imxdma_remove()