Lines Matching refs:cqmem
787 rsrc->cqmem.size = ALIGN(cqsize + sizeof(struct irdma_cq_shadow_area), in irdma_puda_cq_create()
789 rsrc->cqmem.va = dma_alloc_coherent(dev->hw->device, rsrc->cqmem.size, in irdma_puda_cq_create()
790 &rsrc->cqmem.pa, GFP_KERNEL); in irdma_puda_cq_create()
791 if (!rsrc->cqmem.va) in irdma_puda_cq_create()
794 mem = &rsrc->cqmem; in irdma_puda_cq_create()
819 dma_free_coherent(dev->hw->device, rsrc->cqmem.size, in irdma_puda_cq_create()
820 rsrc->cqmem.va, rsrc->cqmem.pa); in irdma_puda_cq_create()
821 rsrc->cqmem.va = NULL; in irdma_puda_cq_create()
942 dma_free_coherent(dev->hw->device, rsrc->cqmem.size, in irdma_puda_dele_rsrc()
943 rsrc->cqmem.va, rsrc->cqmem.pa); in irdma_puda_dele_rsrc()
944 rsrc->cqmem.va = NULL; in irdma_puda_dele_rsrc()