Lines Matching refs:dma_dev
204 struct dma_device dma_dev; member
1322 struct dma_device *dma_dev; in ep93xx_dma_probe() local
1331 dma_dev = &edma->dma_dev; in ep93xx_dma_probe()
1335 INIT_LIST_HEAD(&dma_dev->channels); in ep93xx_dma_probe()
1340 edmac->chan.device = dma_dev; in ep93xx_dma_probe()
1359 &dma_dev->channels); in ep93xx_dma_probe()
1362 dma_cap_zero(dma_dev->cap_mask); in ep93xx_dma_probe()
1363 dma_cap_set(DMA_SLAVE, dma_dev->cap_mask); in ep93xx_dma_probe()
1364 dma_cap_set(DMA_CYCLIC, dma_dev->cap_mask); in ep93xx_dma_probe()
1366 dma_dev->dev = &pdev->dev; in ep93xx_dma_probe()
1367 dma_dev->device_alloc_chan_resources = ep93xx_dma_alloc_chan_resources; in ep93xx_dma_probe()
1368 dma_dev->device_free_chan_resources = ep93xx_dma_free_chan_resources; in ep93xx_dma_probe()
1369 dma_dev->device_prep_slave_sg = ep93xx_dma_prep_slave_sg; in ep93xx_dma_probe()
1370 dma_dev->device_prep_dma_cyclic = ep93xx_dma_prep_dma_cyclic; in ep93xx_dma_probe()
1371 dma_dev->device_config = ep93xx_dma_slave_config; in ep93xx_dma_probe()
1372 dma_dev->device_synchronize = ep93xx_dma_synchronize; in ep93xx_dma_probe()
1373 dma_dev->device_terminate_all = ep93xx_dma_terminate_all; in ep93xx_dma_probe()
1374 dma_dev->device_issue_pending = ep93xx_dma_issue_pending; in ep93xx_dma_probe()
1375 dma_dev->device_tx_status = ep93xx_dma_tx_status; in ep93xx_dma_probe()
1377 dma_set_max_seg_size(dma_dev->dev, DMA_MAX_CHAN_BYTES); in ep93xx_dma_probe()
1380 dma_cap_set(DMA_MEMCPY, dma_dev->cap_mask); in ep93xx_dma_probe()
1381 dma_dev->device_prep_dma_memcpy = ep93xx_dma_prep_dma_memcpy; in ep93xx_dma_probe()
1388 dma_cap_set(DMA_PRIVATE, dma_dev->cap_mask); in ep93xx_dma_probe()
1397 ret = dma_async_device_register(dma_dev); in ep93xx_dma_probe()
1406 dev_info(dma_dev->dev, "EP93xx M2%s DMA ready\n", in ep93xx_dma_probe()