Home
last modified time | relevance | path

Searched refs:q2_ctx_mem (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/infiniband/hw/irdma/
Dverbs.h206 struct irdma_dma_mem q2_ctx_mem; member
Dverbs.c855 iwqp->q2_ctx_mem.size = ALIGN(IRDMA_Q2_BUF_SIZE + IRDMA_QP_CTX_SIZE, in irdma_create_qp()
857 iwqp->q2_ctx_mem.va = dma_alloc_coherent(dev->hw->device, in irdma_create_qp()
858 iwqp->q2_ctx_mem.size, in irdma_create_qp()
859 &iwqp->q2_ctx_mem.pa, in irdma_create_qp()
861 if (!iwqp->q2_ctx_mem.va) in irdma_create_qp()
864 init_info.q2 = iwqp->q2_ctx_mem.va; in irdma_create_qp()
865 init_info.q2_pa = iwqp->q2_ctx_mem.pa; in irdma_create_qp()
Dutils.c1133 dma_free_coherent(rf->sc_dev.hw->device, iwqp->q2_ctx_mem.size, in irdma_free_qp_rsrc()
1134 iwqp->q2_ctx_mem.va, iwqp->q2_ctx_mem.pa); in irdma_free_qp_rsrc()
1135 iwqp->q2_ctx_mem.va = NULL; in irdma_free_qp_rsrc()