Lines Matching refs:dmadev

145 		dma_alloc_coherent(aq->dmadev, size, &sq->dma_addr, GFP_KERNEL);  in efa_com_admin_init_sq()
183 dma_alloc_coherent(aq->dmadev, size, &cq->dma_addr, GFP_KERNEL); in efa_com_admin_init_cq()
224 aenq->entries = dma_alloc_coherent(edev->dmadev, size, &aenq->dma_addr, in efa_com_admin_init_aenq()
374 aq->comp_ctx = devm_kzalloc(aq->dmadev, size, GFP_KERNEL); in efa_com_init_comp_ctxt()
375 aq->comp_ctx_pool = devm_kzalloc(aq->dmadev, pool_size, GFP_KERNEL); in efa_com_init_comp_ctxt()
377 devm_kfree(aq->dmadev, aq->comp_ctx_pool); in efa_com_init_comp_ctxt()
378 devm_kfree(aq->dmadev, aq->comp_ctx); in efa_com_init_comp_ctxt()
680 devm_kfree(edev->dmadev, aq->comp_ctx_pool); in efa_com_admin_destroy()
681 devm_kfree(edev->dmadev, aq->comp_ctx); in efa_com_admin_destroy()
684 dma_free_coherent(edev->dmadev, size, sq->entries, sq->dma_addr); in efa_com_admin_destroy()
687 dma_free_coherent(edev->dmadev, size, cq->entries, cq->dma_addr); in efa_com_admin_destroy()
690 dma_free_coherent(edev->dmadev, size, aenq->entries, aenq->dma_addr); in efa_com_admin_destroy()
751 aq->dmadev = edev->dmadev; in efa_com_admin_init()
793 dma_free_coherent(edev->dmadev, aq->depth * sizeof(*aq->cq.entries), in efa_com_admin_init()
796 dma_free_coherent(edev->dmadev, aq->depth * sizeof(*aq->sq.entries), in efa_com_admin_init()
799 devm_kfree(edev->dmadev, aq->comp_ctx); in efa_com_admin_init()
916 dma_alloc_coherent(edev->dmadev, sizeof(*mmio_read->read_resp), in efa_com_mmio_reg_read_init()
934 dma_free_coherent(edev->dmadev, sizeof(*mmio_read->read_resp), in efa_com_mmio_reg_read_destroy()