Lines Matching refs:dma_dev
105 struct dma_device dma_dev; member
416 vchan_init(&hdma_dev->chan[i].vc, &hdma_dev->dma_dev); in hisi_dma_enable_qps()
513 struct dma_device *dma_dev; in hisi_dma_probe() local
559 dma_dev = &hdma_dev->dma_dev; in hisi_dma_probe()
560 dma_cap_set(DMA_MEMCPY, dma_dev->cap_mask); in hisi_dma_probe()
561 dma_dev->device_free_chan_resources = hisi_dma_free_chan_resources; in hisi_dma_probe()
562 dma_dev->device_prep_dma_memcpy = hisi_dma_prep_dma_memcpy; in hisi_dma_probe()
563 dma_dev->device_tx_status = hisi_dma_tx_status; in hisi_dma_probe()
564 dma_dev->device_issue_pending = hisi_dma_issue_pending; in hisi_dma_probe()
565 dma_dev->device_terminate_all = hisi_dma_terminate_all; in hisi_dma_probe()
566 dma_dev->device_synchronize = hisi_dma_synchronize; in hisi_dma_probe()
567 dma_dev->directions = BIT(DMA_MEM_TO_MEM); in hisi_dma_probe()
568 dma_dev->dev = dev; in hisi_dma_probe()
569 INIT_LIST_HEAD(&dma_dev->channels); in hisi_dma_probe()
584 ret = dmaenginem_async_device_register(dma_dev); in hisi_dma_probe()