Lines Matching refs:dma_dev
105 struct dma_device dma_dev; member
411 vchan_init(&hdma_dev->chan[i].vc, &hdma_dev->dma_dev); in hisi_dma_enable_qps()
507 struct dma_device *dma_dev; in hisi_dma_probe() local
550 dma_dev = &hdma_dev->dma_dev; in hisi_dma_probe()
551 dma_cap_set(DMA_MEMCPY, dma_dev->cap_mask); in hisi_dma_probe()
552 dma_dev->device_free_chan_resources = hisi_dma_free_chan_resources; in hisi_dma_probe()
553 dma_dev->device_prep_dma_memcpy = hisi_dma_prep_dma_memcpy; in hisi_dma_probe()
554 dma_dev->device_tx_status = hisi_dma_tx_status; in hisi_dma_probe()
555 dma_dev->device_issue_pending = hisi_dma_issue_pending; in hisi_dma_probe()
556 dma_dev->device_terminate_all = hisi_dma_terminate_all; in hisi_dma_probe()
557 dma_dev->device_synchronize = hisi_dma_synchronize; in hisi_dma_probe()
558 dma_dev->directions = BIT(DMA_MEM_TO_MEM); in hisi_dma_probe()
559 dma_dev->dev = dev; in hisi_dma_probe()
560 INIT_LIST_HEAD(&dma_dev->channels); in hisi_dma_probe()
575 ret = dmaenginem_async_device_register(dma_dev); in hisi_dma_probe()