Lines Matching refs:dma_dev
161 struct dma_device dma_dev; member
712 vchan_init(&hdma_dev->chan[i].vc, &hdma_dev->dma_dev); in hisi_dma_enable_qps()
824 struct dma_device *dma_dev; in hisi_dma_init_dma_dev() local
826 dma_dev = &hdma_dev->dma_dev; in hisi_dma_init_dma_dev()
827 dma_cap_set(DMA_MEMCPY, dma_dev->cap_mask); in hisi_dma_init_dma_dev()
828 dma_dev->device_free_chan_resources = hisi_dma_free_chan_resources; in hisi_dma_init_dma_dev()
829 dma_dev->device_prep_dma_memcpy = hisi_dma_prep_dma_memcpy; in hisi_dma_init_dma_dev()
830 dma_dev->device_tx_status = hisi_dma_tx_status; in hisi_dma_init_dma_dev()
831 dma_dev->device_issue_pending = hisi_dma_issue_pending; in hisi_dma_init_dma_dev()
832 dma_dev->device_terminate_all = hisi_dma_terminate_all; in hisi_dma_init_dma_dev()
833 dma_dev->device_synchronize = hisi_dma_synchronize; in hisi_dma_init_dma_dev()
834 dma_dev->directions = BIT(DMA_MEM_TO_MEM); in hisi_dma_init_dma_dev()
835 dma_dev->dev = &hdma_dev->pdev->dev; in hisi_dma_init_dma_dev()
836 INIT_LIST_HEAD(&dma_dev->channels); in hisi_dma_init_dma_dev()
906 hdma_dev->dma_dev.dbg_dev_root); in hisi_dma_create_chan_dir()
921 if (hdma_dev->dma_dev.dbg_dev_root == NULL) in hisi_dma_create_debugfs()
939 hdma_dev->dma_dev.dbg_dev_root, regset); in hisi_dma_create_debugfs()
955 struct dma_device *dma_dev; in hisi_dma_probe() local
1024 dma_dev = &hdma_dev->dma_dev; in hisi_dma_probe()
1025 ret = dmaenginem_async_device_register(dma_dev); in hisi_dma_probe()