Lines Matching refs:ddev

130 	struct dma_device ddev;  member
646 while (!list_empty(&cdd->ddev.channels)) { in cleanup_chans()
649 cchan = list_first_entry(&cdd->ddev.channels, in cleanup_chans()
690 cchan->chan.device = &cdd->ddev; in cppi41_add_chans()
691 list_add_tail(&cchan->chan.device_node, &cdd->ddev.channels); in cppi41_add_chans()
927 dma_cap_set(DMA_SLAVE, cdd->ddev.cap_mask); in cppi41_dma_probe()
928 cdd->ddev.device_alloc_chan_resources = cppi41_dma_alloc_chan_resources; in cppi41_dma_probe()
929 cdd->ddev.device_free_chan_resources = cppi41_dma_free_chan_resources; in cppi41_dma_probe()
930 cdd->ddev.device_tx_status = cppi41_dma_tx_status; in cppi41_dma_probe()
931 cdd->ddev.device_issue_pending = cppi41_dma_issue_pending; in cppi41_dma_probe()
932 cdd->ddev.device_prep_slave_sg = cppi41_dma_prep_slave_sg; in cppi41_dma_probe()
933 cdd->ddev.device_terminate_all = cppi41_stop_chan; in cppi41_dma_probe()
934 cdd->ddev.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV); in cppi41_dma_probe()
935 cdd->ddev.src_addr_widths = CPPI41_DMA_BUSWIDTHS; in cppi41_dma_probe()
936 cdd->ddev.dst_addr_widths = CPPI41_DMA_BUSWIDTHS; in cppi41_dma_probe()
937 cdd->ddev.residue_granularity = DMA_RESIDUE_GRANULARITY_BURST; in cppi41_dma_probe()
938 cdd->ddev.dev = dev; in cppi41_dma_probe()
939 INIT_LIST_HEAD(&cdd->ddev.channels); in cppi41_dma_probe()
940 cpp41_dma_info.dma_cap = cdd->ddev.cap_mask; in cppi41_dma_probe()
982 ret = dma_async_device_register(&cdd->ddev); in cppi41_dma_probe()
994 dma_async_device_unregister(&cdd->ddev); in cppi41_dma_probe()
1017 dma_async_device_unregister(&cdd->ddev); in cppi41_dma_remove()
1053 list_for_each_entry(c, &cdd->ddev.channels, chan.device_node) in cppi41_resume()