Searched refs:cq_tbl (Results 1 - 20 of 20) sorted by relevance
/kernel/linux/linux-6.6/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_main.c | 222 dev->cq_tbl = kcalloc(OCRDMA_MAX_CQ, sizeof(struct ocrdma_cq *), in ocrdma_alloc_resources() 224 if (!dev->cq_tbl) in ocrdma_alloc_resources() 259 kfree(dev->cq_tbl); in ocrdma_free_resources()
|
H A D | ocrdma.h | 245 struct ocrdma_cq **cq_tbl; member
|
H A D | ocrdma_hw.c | 707 cq = dev->cq_tbl[cqid]; in ocrdma_dispatch_ibevent() 973 cq = dev->cq_tbl[cq_idx]; in ocrdma_qp_cq_handler()
|
H A D | ocrdma_verbs.c | 1005 dev->cq_tbl[cq->id] = cq; in ocrdma_create_cq() 1061 dev->cq_tbl[cq->id] = NULL; in ocrdma_destroy_cq()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_main.c | 266 dev->cq_tbl = kcalloc(OCRDMA_MAX_CQ, sizeof(struct ocrdma_cq *), in ocrdma_alloc_resources() 268 if (!dev->cq_tbl) in ocrdma_alloc_resources() 303 kfree(dev->cq_tbl); in ocrdma_free_resources()
|
H A D | ocrdma.h | 245 struct ocrdma_cq **cq_tbl; member
|
H A D | ocrdma_hw.c | 707 cq = dev->cq_tbl[cqid]; in ocrdma_dispatch_ibevent() 973 cq = dev->cq_tbl[cq_idx]; in ocrdma_qp_cq_handler()
|
H A D | ocrdma_verbs.c | 1003 dev->cq_tbl[cq->id] = cq; in ocrdma_create_cq() 1059 dev->cq_tbl[cq->id] = NULL; in ocrdma_destroy_cq()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_main.c | 238 dev->cq_tbl = kcalloc(dev->dsr->caps.max_cq, sizeof(struct pvrdma_cq *), in pvrdma_register_device() 240 if (!dev->cq_tbl) in pvrdma_register_device() 286 kfree(dev->cq_tbl); in pvrdma_register_device() 343 cq = dev->cq_tbl[cqn % dev->dsr->caps.max_cq]; in pvrdma_cq_event() 515 cq = dev->cq_tbl[cqne->info % dev->dsr->caps.max_cq]; in pvrdma_intrx_handler() 1131 kfree(dev->cq_tbl); in pvrdma_pci_remove()
|
H A D | pvrdma_cq.c | 196 dev->cq_tbl[cq->cq_handle % dev->dsr->caps.max_cq] = cq; in pvrdma_create_cq() 259 dev->cq_tbl[vcq->cq_handle] = NULL; in pvrdma_destroy_cq()
|
H A D | pvrdma.h | 228 struct pvrdma_cq **cq_tbl; member
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_main.c | 219 dev->cq_tbl = kcalloc(dev->dsr->caps.max_cq, sizeof(struct pvrdma_cq *), in pvrdma_register_device() 221 if (!dev->cq_tbl) in pvrdma_register_device() 259 kfree(dev->cq_tbl); in pvrdma_register_device() 316 cq = dev->cq_tbl[cqn % dev->dsr->caps.max_cq]; in pvrdma_cq_event() 487 cq = dev->cq_tbl[cqne->info % dev->dsr->caps.max_cq]; in pvrdma_intrx_handler() 1093 kfree(dev->cq_tbl); in pvrdma_pci_remove()
|
H A D | pvrdma_cq.c | 199 dev->cq_tbl[cq->cq_handle % dev->dsr->caps.max_cq] = cq; in pvrdma_create_cq() 262 dev->cq_tbl[vcq->cq_handle] = NULL; in pvrdma_destroy_cq()
|
H A D | pvrdma.h | 228 struct pvrdma_cq **cq_tbl; member
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_rcfw.c | 512 lvl = ctx->cq_tbl.level; in bnxt_qplib_init_rcfw() 513 pgsz = bnxt_qplib_base_pg_size(&ctx->cq_tbl); in bnxt_qplib_init_rcfw() 531 cpu_to_le64(ctx->cq_tbl.pbl[PBL_LVL_0].pg_map_arr[0]); in bnxt_qplib_init_rcfw() 540 req.number_of_cq = cpu_to_le32(ctx->cq_tbl.max_elements); in bnxt_qplib_init_rcfw()
|
H A D | qplib_res.h | 251 struct bnxt_qplib_hwq cq_tbl; member
|
H A D | qplib_res.c | 371 bnxt_qplib_free_hwq(res, &ctx->cq_tbl); in bnxt_qplib_free_ctx() 538 rc = bnxt_qplib_alloc_init_hwq(&ctx->cq_tbl, &hwq_attr); in bnxt_qplib_alloc_ctx()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_rcfw.c | 872 lvl = ctx->cq_tbl.level; in bnxt_qplib_init_rcfw() 873 pgsz = bnxt_qplib_base_pg_size(&ctx->cq_tbl); in bnxt_qplib_init_rcfw() 891 cpu_to_le64(ctx->cq_tbl.pbl[PBL_LVL_0].pg_map_arr[0]); in bnxt_qplib_init_rcfw() 900 req.number_of_cq = cpu_to_le32(ctx->cq_tbl.max_elements); in bnxt_qplib_init_rcfw()
|
H A D | qplib_res.h | 266 struct bnxt_qplib_hwq cq_tbl; member
|
H A D | qplib_res.c | 372 bnxt_qplib_free_hwq(res, &ctx->cq_tbl); in bnxt_qplib_free_ctx() 539 rc = bnxt_qplib_alloc_init_hwq(&ctx->cq_tbl, &hwq_attr); in bnxt_qplib_alloc_ctx()
|
Completed in 32 milliseconds