Lines Matching refs:dma_dev
214 struct dma_device dma_dev; member
1247 chan = dma_get_any_slave_channel(&tdma->dma_dev); in tegra_dma_of_xlate()
1387 INIT_LIST_HEAD(&tdma->dma_dev.channels); in tegra_dma_probe()
1412 tdc->dma_chan.device = &tdma->dma_dev; in tegra_dma_probe()
1415 &tdma->dma_dev.channels); in tegra_dma_probe()
1429 dma_cap_set(DMA_SLAVE, tdma->dma_dev.cap_mask); in tegra_dma_probe()
1430 dma_cap_set(DMA_PRIVATE, tdma->dma_dev.cap_mask); in tegra_dma_probe()
1431 dma_cap_set(DMA_CYCLIC, tdma->dma_dev.cap_mask); in tegra_dma_probe()
1434 tdma->dma_dev.dev = &pdev->dev; in tegra_dma_probe()
1435 tdma->dma_dev.device_alloc_chan_resources = in tegra_dma_probe()
1437 tdma->dma_dev.device_free_chan_resources = in tegra_dma_probe()
1439 tdma->dma_dev.device_prep_slave_sg = tegra_dma_prep_slave_sg; in tegra_dma_probe()
1440 tdma->dma_dev.device_prep_dma_cyclic = tegra_dma_prep_dma_cyclic; in tegra_dma_probe()
1441 tdma->dma_dev.src_addr_widths = BIT(DMA_SLAVE_BUSWIDTH_1_BYTE) | in tegra_dma_probe()
1445 tdma->dma_dev.dst_addr_widths = BIT(DMA_SLAVE_BUSWIDTH_1_BYTE) | in tegra_dma_probe()
1449 tdma->dma_dev.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in tegra_dma_probe()
1455 tdma->dma_dev.residue_granularity = DMA_RESIDUE_GRANULARITY_SEGMENT; in tegra_dma_probe()
1456 tdma->dma_dev.device_config = tegra_dma_slave_config; in tegra_dma_probe()
1457 tdma->dma_dev.device_terminate_all = tegra_dma_terminate_all; in tegra_dma_probe()
1458 tdma->dma_dev.device_tx_status = tegra_dma_tx_status; in tegra_dma_probe()
1459 tdma->dma_dev.device_issue_pending = tegra_dma_issue_pending; in tegra_dma_probe()
1461 ret = dma_async_device_register(&tdma->dma_dev); in tegra_dma_probe()
1481 dma_async_device_unregister(&tdma->dma_dev); in tegra_dma_probe()
1501 dma_async_device_unregister(&tdma->dma_dev); in tegra_dma_remove()