Lines Matching refs:dma_dev
128 struct dma_device dma_dev; member
481 vchan_init(&xchan->vchan, &xdev->dma_dev); in xdma_alloc_channels()
818 struct device *dev = xdev->dma_dev.dev; in xdma_alloc_chan_resources()
1193 dma_async_device_unregister(&xdev->dma_dev); in xdma_remove()
1247 INIT_LIST_HEAD(&xdev->dma_dev.channels); in xdma_probe()
1261 dma_cap_set(DMA_SLAVE, xdev->dma_dev.cap_mask); in xdma_probe()
1262 dma_cap_set(DMA_PRIVATE, xdev->dma_dev.cap_mask); in xdma_probe()
1263 dma_cap_set(DMA_CYCLIC, xdev->dma_dev.cap_mask); in xdma_probe()
1264 dma_cap_set(DMA_INTERLEAVE, xdev->dma_dev.cap_mask); in xdma_probe()
1265 dma_cap_set(DMA_REPEAT, xdev->dma_dev.cap_mask); in xdma_probe()
1266 dma_cap_set(DMA_LOAD_EOT, xdev->dma_dev.cap_mask); in xdma_probe()
1268 xdev->dma_dev.dev = &pdev->dev; in xdma_probe()
1269 xdev->dma_dev.residue_granularity = DMA_RESIDUE_GRANULARITY_SEGMENT; in xdma_probe()
1270 xdev->dma_dev.device_free_chan_resources = xdma_free_chan_resources; in xdma_probe()
1271 xdev->dma_dev.device_alloc_chan_resources = xdma_alloc_chan_resources; in xdma_probe()
1272 xdev->dma_dev.device_tx_status = xdma_tx_status; in xdma_probe()
1273 xdev->dma_dev.device_prep_slave_sg = xdma_prep_device_sg; in xdma_probe()
1274 xdev->dma_dev.device_config = xdma_device_config; in xdma_probe()
1275 xdev->dma_dev.device_issue_pending = xdma_issue_pending; in xdma_probe()
1276 xdev->dma_dev.device_terminate_all = xdma_terminate_all; in xdma_probe()
1277 xdev->dma_dev.device_synchronize = xdma_synchronize; in xdma_probe()
1278 xdev->dma_dev.filter.map = pdata->device_map; in xdma_probe()
1279 xdev->dma_dev.filter.mapcnt = pdata->device_map_cnt; in xdma_probe()
1280 xdev->dma_dev.filter.fn = xdma_filter_fn; in xdma_probe()
1281 xdev->dma_dev.device_prep_dma_cyclic = xdma_prep_dma_cyclic; in xdma_probe()
1282 xdev->dma_dev.device_prep_interleaved_dma = xdma_prep_interleaved_dma; in xdma_probe()
1284 ret = dma_async_device_register(&xdev->dma_dev); in xdma_probe()