Lines Matching refs:dma_dev
251 struct dma_device dma_dev; member
1281 chan = dma_get_any_slave_channel(&tdma->dma_dev); in tegra_dma_of_xlate()
1375 tdma->dma_dev.dev = &pdev->dev; in tegra_dma_probe()
1384 INIT_LIST_HEAD(&tdma->dma_dev.channels); in tegra_dma_probe()
1399 vchan_init(&tdc->vc, &tdma->dma_dev); in tegra_dma_probe()
1407 dma_cap_set(DMA_SLAVE, tdma->dma_dev.cap_mask); in tegra_dma_probe()
1408 dma_cap_set(DMA_PRIVATE, tdma->dma_dev.cap_mask); in tegra_dma_probe()
1409 dma_cap_set(DMA_MEMCPY, tdma->dma_dev.cap_mask); in tegra_dma_probe()
1410 dma_cap_set(DMA_MEMSET, tdma->dma_dev.cap_mask); in tegra_dma_probe()
1411 dma_cap_set(DMA_CYCLIC, tdma->dma_dev.cap_mask); in tegra_dma_probe()
1417 tdma->dma_dev.copy_align = 2; in tegra_dma_probe()
1418 tdma->dma_dev.fill_align = 2; in tegra_dma_probe()
1419 tdma->dma_dev.device_alloc_chan_resources = in tegra_dma_probe()
1421 tdma->dma_dev.device_free_chan_resources = in tegra_dma_probe()
1423 tdma->dma_dev.device_prep_slave_sg = tegra_dma_prep_slave_sg; in tegra_dma_probe()
1424 tdma->dma_dev.device_prep_dma_memcpy = tegra_dma_prep_dma_memcpy; in tegra_dma_probe()
1425 tdma->dma_dev.device_prep_dma_memset = tegra_dma_prep_dma_memset; in tegra_dma_probe()
1426 tdma->dma_dev.device_prep_dma_cyclic = tegra_dma_prep_dma_cyclic; in tegra_dma_probe()
1427 tdma->dma_dev.device_config = tegra_dma_slave_config; in tegra_dma_probe()
1428 tdma->dma_dev.device_terminate_all = tegra_dma_terminate_all; in tegra_dma_probe()
1429 tdma->dma_dev.device_tx_status = tegra_dma_tx_status; in tegra_dma_probe()
1430 tdma->dma_dev.device_issue_pending = tegra_dma_issue_pending; in tegra_dma_probe()
1431 tdma->dma_dev.device_pause = tegra_dma_device_pause; in tegra_dma_probe()
1432 tdma->dma_dev.device_resume = tegra_dma_device_resume; in tegra_dma_probe()
1433 tdma->dma_dev.device_synchronize = tegra_dma_chan_synchronize; in tegra_dma_probe()
1434 tdma->dma_dev.residue_granularity = DMA_RESIDUE_GRANULARITY_BURST; in tegra_dma_probe()
1436 ret = dma_async_device_register(&tdma->dma_dev); in tegra_dma_probe()
1449 dma_async_device_unregister(&tdma->dma_dev); in tegra_dma_probe()
1464 dma_async_device_unregister(&tdma->dma_dev); in tegra_dma_remove()