Lines Matching defs:ddev

124 	struct dma_device ddev;
273 pm_runtime_put(cdd->ddev.dev);
377 error = pm_runtime_get_sync(cdd->ddev.dev);
379 dev_err(cdd->ddev.dev, "%s pm runtime get: %i\n",
381 pm_runtime_put_noidle(cdd->ddev.dev);
393 pm_runtime_mark_last_busy(cdd->ddev.dev);
394 pm_runtime_put_autosuspend(cdd->ddev.dev);
405 error = pm_runtime_get_sync(cdd->ddev.dev);
407 pm_runtime_put_noidle(cdd->ddev.dev);
414 pm_runtime_mark_last_busy(cdd->ddev.dev);
415 pm_runtime_put_autosuspend(cdd->ddev.dev);
463 pm_runtime_get(cdd->ddev.dev);
497 error = pm_runtime_get(cdd->ddev.dev);
499 pm_runtime_put_noidle(cdd->ddev.dev);
500 dev_err(cdd->ddev.dev, "Failed to pm_runtime_get: %i\n",
512 pm_runtime_mark_last_busy(cdd->ddev.dev);
513 pm_runtime_put_autosuspend(cdd->ddev.dev);
596 error = pm_runtime_get(cdd->ddev.dev);
598 pm_runtime_put_noidle(cdd->ddev.dev);
630 pm_runtime_mark_last_busy(cdd->ddev.dev);
631 pm_runtime_put_autosuspend(cdd->ddev.dev);
771 pm_runtime_put(cdd->ddev.dev);
807 cchan->chan.device = &cdd->ddev;
808 list_add_tail(&cchan->chan.device_node, &cdd->ddev.channels);
1054 dma_cap_set(DMA_SLAVE, cdd->ddev.cap_mask);
1055 cdd->ddev.device_alloc_chan_resources = cppi41_dma_alloc_chan_resources;
1056 cdd->ddev.device_free_chan_resources = cppi41_dma_free_chan_resources;
1057 cdd->ddev.device_tx_status = cppi41_dma_tx_status;
1058 cdd->ddev.device_issue_pending = cppi41_dma_issue_pending;
1059 cdd->ddev.device_prep_slave_sg = cppi41_dma_prep_slave_sg;
1060 cdd->ddev.device_terminate_all = cppi41_stop_chan;
1061 cdd->ddev.directions = BIT(DMA_DEV_TO_MEM) | BIT(DMA_MEM_TO_DEV);
1062 cdd->ddev.src_addr_widths = CPPI41_DMA_BUSWIDTHS;
1063 cdd->ddev.dst_addr_widths = CPPI41_DMA_BUSWIDTHS;
1064 cdd->ddev.residue_granularity = DMA_RESIDUE_GRANULARITY_BURST;
1065 cdd->ddev.dev = dev;
1066 INIT_LIST_HEAD(&cdd->ddev.channels);
1067 cpp41_dma_info.dma_cap = cdd->ddev.cap_mask;
1133 ret = dma_async_device_register(&cdd->ddev);
1147 dma_async_device_unregister(&cdd->ddev);
1169 dma_async_device_unregister(&cdd->ddev);
1198 list_for_each_entry(c, &cdd->ddev.channels, chan.device_node)