Lines Matching refs:qpmem
654 rsrc->qpmem.size = ALIGN((sq_size + rq_size + (IRDMA_SHADOW_AREA_SIZE << 3) + IRDMA_QP_CTX_SIZE), in irdma_puda_qp_create()
656 rsrc->qpmem.va = dma_alloc_coherent(rsrc->dev->hw->device, in irdma_puda_qp_create()
657 rsrc->qpmem.size, &rsrc->qpmem.pa, in irdma_puda_qp_create()
659 if (!rsrc->qpmem.va) in irdma_puda_qp_create()
662 mem = &rsrc->qpmem; in irdma_puda_qp_create()
663 memset(mem->va, 0, rsrc->qpmem.size); in irdma_puda_qp_create()
694 dma_free_coherent(rsrc->dev->hw->device, rsrc->qpmem.size, in irdma_puda_qp_create()
695 rsrc->qpmem.va, rsrc->qpmem.pa); in irdma_puda_qp_create()
696 rsrc->qpmem.va = NULL; in irdma_puda_qp_create()
710 dma_free_coherent(rsrc->dev->hw->device, rsrc->qpmem.size, in irdma_puda_qp_create()
711 rsrc->qpmem.va, rsrc->qpmem.pa); in irdma_puda_qp_create()
712 rsrc->qpmem.va = NULL; in irdma_puda_qp_create()
934 dma_free_coherent(dev->hw->device, rsrc->qpmem.size, in irdma_puda_dele_rsrc()
935 rsrc->qpmem.va, rsrc->qpmem.pa); in irdma_puda_dele_rsrc()
936 rsrc->qpmem.va = NULL; in irdma_puda_dele_rsrc()