Lines Matching refs:dma_dev

151 	struct dma_device		dma_dev;  member
721 chan = dma_get_any_slave_channel(&tdma->dma_dev); in tegra_dma_of_xlate()
870 INIT_LIST_HEAD(&tdma->dma_dev.channels); in tegra_adma_probe()
883 vchan_init(&tdc->vc, &tdma->dma_dev); in tegra_adma_probe()
898 dma_cap_set(DMA_SLAVE, tdma->dma_dev.cap_mask); in tegra_adma_probe()
899 dma_cap_set(DMA_PRIVATE, tdma->dma_dev.cap_mask); in tegra_adma_probe()
900 dma_cap_set(DMA_CYCLIC, tdma->dma_dev.cap_mask); in tegra_adma_probe()
902 tdma->dma_dev.dev = &pdev->dev; in tegra_adma_probe()
903 tdma->dma_dev.device_alloc_chan_resources = in tegra_adma_probe()
905 tdma->dma_dev.device_free_chan_resources = in tegra_adma_probe()
907 tdma->dma_dev.device_issue_pending = tegra_adma_issue_pending; in tegra_adma_probe()
908 tdma->dma_dev.device_prep_dma_cyclic = tegra_adma_prep_dma_cyclic; in tegra_adma_probe()
909 tdma->dma_dev.device_config = tegra_adma_slave_config; in tegra_adma_probe()
910 tdma->dma_dev.device_tx_status = tegra_adma_tx_status; in tegra_adma_probe()
911 tdma->dma_dev.device_terminate_all = tegra_adma_terminate_all; in tegra_adma_probe()
912 tdma->dma_dev.src_addr_widths = BIT(DMA_SLAVE_BUSWIDTH_4_BYTES); in tegra_adma_probe()
913 tdma->dma_dev.dst_addr_widths = BIT(DMA_SLAVE_BUSWIDTH_4_BYTES); in tegra_adma_probe()
914 tdma->dma_dev.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in tegra_adma_probe()
915 tdma->dma_dev.residue_granularity = DMA_RESIDUE_GRANULARITY_SEGMENT; in tegra_adma_probe()
916 tdma->dma_dev.device_pause = tegra_adma_pause; in tegra_adma_probe()
917 tdma->dma_dev.device_resume = tegra_adma_resume; in tegra_adma_probe()
919 ret = dma_async_device_register(&tdma->dma_dev); in tegra_adma_probe()
940 dma_async_device_unregister(&tdma->dma_dev); in tegra_adma_probe()
958 dma_async_device_unregister(&tdma->dma_dev); in tegra_adma_remove()