Lines Matching refs:ddev
75 struct dma_device ddev;
287 vchan_init(&mc->vc, &mdev->ddev);
314 struct dma_device *ddev;
330 ddev = &mdev->ddev;
331 ddev->dev = dev;
332 dma_cap_set(DMA_MEMCPY, ddev->cap_mask);
333 ddev->src_addr_widths = MLB_XDMAC_BUSWIDTHS;
334 ddev->dst_addr_widths = MLB_XDMAC_BUSWIDTHS;
335 ddev->device_free_chan_resources = milbeaut_xdmac_free_chan_resources;
336 ddev->device_prep_dma_memcpy = milbeaut_xdmac_prep_memcpy;
337 ddev->device_terminate_all = milbeaut_xdmac_terminate_all;
338 ddev->device_synchronize = milbeaut_xdmac_synchronize;
339 ddev->device_tx_status = dma_cookie_status;
340 ddev->device_issue_pending = milbeaut_xdmac_issue_pending;
341 INIT_LIST_HEAD(&ddev->channels);
351 ret = dma_async_device_register(ddev);
365 dma_async_device_unregister(ddev);
384 list_for_each_entry(chan, &mdev->ddev.channels, device_node) {
399 dma_async_device_unregister(&mdev->ddev);