Lines Matching defs:ddev
75 struct dma_device ddev;
288 vchan_init(&mc->vc, &mdev->ddev);
315 struct dma_device *ddev;
331 ddev = &mdev->ddev;
332 ddev->dev = dev;
333 dma_cap_set(DMA_MEMCPY, ddev->cap_mask);
334 ddev->src_addr_widths = MLB_XDMAC_BUSWIDTHS;
335 ddev->dst_addr_widths = MLB_XDMAC_BUSWIDTHS;
336 ddev->device_free_chan_resources = milbeaut_xdmac_free_chan_resources;
337 ddev->device_prep_dma_memcpy = milbeaut_xdmac_prep_memcpy;
338 ddev->device_terminate_all = milbeaut_xdmac_terminate_all;
339 ddev->device_synchronize = milbeaut_xdmac_synchronize;
340 ddev->device_tx_status = dma_cookie_status;
341 ddev->device_issue_pending = milbeaut_xdmac_issue_pending;
342 INIT_LIST_HEAD(&ddev->channels);
352 ret = dma_async_device_register(ddev);
366 dma_async_device_unregister(ddev);
385 list_for_each_entry(chan, &mdev->ddev.channels, device_node) {
393 dma_async_device_unregister(&mdev->ddev);