Home
last modified time | relevance | path

Searched refs:cq_tbl (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/drivers/infiniband/hw/bnxt_re/
Dqplib_rcfw.c484 level = ctx->cq_tbl.level; in bnxt_qplib_init_rcfw()
486 __get_pbl_pg_idx(&ctx->cq_tbl.pbl[level]); in bnxt_qplib_init_rcfw()
490 level = ctx->cq_tbl.level; in bnxt_qplib_init_rcfw()
492 __get_pbl_pg_idx(&ctx->cq_tbl.pbl[level]); in bnxt_qplib_init_rcfw()
507 cpu_to_le64(ctx->cq_tbl.pbl[PBL_LVL_0].pg_map_arr[0]); in bnxt_qplib_init_rcfw()
516 req.number_of_cq = cpu_to_le32(ctx->cq_tbl.max_elements); in bnxt_qplib_init_rcfw()
Dqplib_res.c301 bnxt_qplib_free_hwq(pdev, &ctx->cq_tbl); in bnxt_qplib_free_ctx()
369 ctx->cq_tbl.max_elements = ctx->cq_count; in bnxt_qplib_alloc_ctx()
370 rc = bnxt_qplib_alloc_init_hwq(pdev, &ctx->cq_tbl, NULL, 0, in bnxt_qplib_alloc_ctx()
371 &ctx->cq_tbl.max_elements, in bnxt_qplib_alloc_ctx()
Dqplib_res.h170 struct bnxt_qplib_hwq cq_tbl; member
/Linux-v4.19/drivers/infiniband/hw/ocrdma/
Docrdma_main.c223 dev->cq_tbl = kcalloc(OCRDMA_MAX_CQ, sizeof(struct ocrdma_cq *), in ocrdma_alloc_resources()
225 if (!dev->cq_tbl) in ocrdma_alloc_resources()
260 kfree(dev->cq_tbl); in ocrdma_free_resources()
Docrdma.h247 struct ocrdma_cq **cq_tbl; member
Docrdma_hw.c707 cq = dev->cq_tbl[cqid]; in ocrdma_dispatch_ibevent()
973 cq = dev->cq_tbl[cq_idx]; in ocrdma_qp_cq_handler()
Docrdma_verbs.c1075 dev->cq_tbl[cq->id] = cq; in ocrdma_create_cq()
1132 dev->cq_tbl[cq->id] = NULL; in ocrdma_destroy_cq()
/Linux-v4.19/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_main.c235 dev->cq_tbl = kcalloc(dev->dsr->caps.max_cq, sizeof(struct pvrdma_cq *), in pvrdma_register_device()
237 if (!dev->cq_tbl) in pvrdma_register_device()
292 kfree(dev->cq_tbl); in pvrdma_register_device()
349 cq = dev->cq_tbl[cqn % dev->dsr->caps.max_cq]; in pvrdma_cq_event()
521 cq = dev->cq_tbl[cqne->info % dev->dsr->caps.max_cq]; in pvrdma_intrx_handler()
1129 kfree(dev->cq_tbl); in pvrdma_pci_remove()
Dpvrdma_cq.c203 dev->cq_tbl[cq->cq_handle % dev->dsr->caps.max_cq] = cq; in pvrdma_create_cq()
272 dev->cq_tbl[vcq->cq_handle] = NULL; in pvrdma_destroy_cq()
Dpvrdma.h228 struct pvrdma_cq **cq_tbl; member