Lines Matching refs:dma_dev

187 	struct dma_device		dma_dev;  member
822 chan = dma_get_any_slave_channel(&tdma->dma_dev); in tegra_dma_of_xlate()
1104 INIT_LIST_HEAD(&tdma->dma_dev.channels); in tegra_adma_probe()
1129 vchan_init(&tdc->vc, &tdma->dma_dev); in tegra_adma_probe()
1144 dma_cap_set(DMA_SLAVE, tdma->dma_dev.cap_mask); in tegra_adma_probe()
1145 dma_cap_set(DMA_PRIVATE, tdma->dma_dev.cap_mask); in tegra_adma_probe()
1146 dma_cap_set(DMA_CYCLIC, tdma->dma_dev.cap_mask); in tegra_adma_probe()
1148 tdma->dma_dev.dev = &pdev->dev; in tegra_adma_probe()
1149 tdma->dma_dev.device_alloc_chan_resources = in tegra_adma_probe()
1151 tdma->dma_dev.device_free_chan_resources = in tegra_adma_probe()
1153 tdma->dma_dev.device_issue_pending = tegra_adma_issue_pending; in tegra_adma_probe()
1154 tdma->dma_dev.device_prep_dma_cyclic = tegra_adma_prep_dma_cyclic; in tegra_adma_probe()
1155 tdma->dma_dev.device_config = tegra_adma_slave_config; in tegra_adma_probe()
1156 tdma->dma_dev.device_tx_status = tegra_adma_tx_status; in tegra_adma_probe()
1157 tdma->dma_dev.device_terminate_all = tegra_adma_terminate_all; in tegra_adma_probe()
1158 tdma->dma_dev.src_addr_widths = BIT(DMA_SLAVE_BUSWIDTH_4_BYTES); in tegra_adma_probe()
1159 tdma->dma_dev.dst_addr_widths = BIT(DMA_SLAVE_BUSWIDTH_4_BYTES); in tegra_adma_probe()
1160 tdma->dma_dev.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in tegra_adma_probe()
1161 tdma->dma_dev.residue_granularity = DMA_RESIDUE_GRANULARITY_SEGMENT; in tegra_adma_probe()
1162 tdma->dma_dev.device_pause = tegra_adma_pause; in tegra_adma_probe()
1163 tdma->dma_dev.device_resume = tegra_adma_resume; in tegra_adma_probe()
1165 ret = dma_async_device_register(&tdma->dma_dev); in tegra_adma_probe()
1186 dma_async_device_unregister(&tdma->dma_dev); in tegra_adma_probe()
1204 dma_async_device_unregister(&tdma->dma_dev); in tegra_adma_remove()