Lines Matching defs:ddev
77 struct dma_device ddev;
413 chan = dma_get_any_slave_channel(&mdev->ddev);
450 vchan_init(&mc->vc, &mdev->ddev);
459 struct dma_device *ddev;
489 ddev = &mdev->ddev;
490 ddev->dev = dev;
491 dma_cap_set(DMA_SLAVE, ddev->cap_mask);
492 dma_cap_set(DMA_PRIVATE, ddev->cap_mask);
493 ddev->src_addr_widths = MLB_HDMAC_BUSWIDTHS;
494 ddev->dst_addr_widths = MLB_HDMAC_BUSWIDTHS;
495 ddev->directions = BIT(DMA_MEM_TO_DEV) | BIT(DMA_DEV_TO_MEM);
496 ddev->device_free_chan_resources = milbeaut_hdmac_free_chan_resources;
497 ddev->device_config = milbeaut_hdmac_chan_config;
498 ddev->device_pause = milbeaut_hdmac_chan_pause;
499 ddev->device_resume = milbeaut_hdmac_chan_resume;
500 ddev->device_prep_slave_sg = milbeaut_hdmac_prep_slave_sg;
501 ddev->device_terminate_all = milbeaut_hdmac_terminate_all;
502 ddev->device_synchronize = milbeaut_hdmac_synchronize;
503 ddev->device_tx_status = milbeaut_hdmac_tx_status;
504 ddev->device_issue_pending = milbeaut_hdmac_issue_pending;
505 INIT_LIST_HEAD(&ddev->channels);
513 ret = dma_async_device_register(ddev);
527 dma_async_device_unregister(ddev);
547 list_for_each_entry(chan, &mdev->ddev.channels, device_node) {
555 dma_async_device_unregister(&mdev->ddev);