/linux-6.1.9/drivers/infiniband/hw/usnic/ |
D | usnic_abi.h | 80 u32 cq_cnt; member
|
D | usnic_ib_verbs.c | 152 resp.cq_cnt = chunk->cnt; in usnic_ib_fill_create_qp_resp() 467 int cq_cnt; in usnic_ib_create_qp() local 501 cq_cnt = (init_attr->send_cq == init_attr->recv_cq) ? 1 : 2; in usnic_ib_create_qp() 503 usnic_vnic_res_spec_update(&res_spec, USNIC_VNIC_RES_TYPE_CQ, cq_cnt); in usnic_ib_create_qp()
|
/linux-6.1.9/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_main.c | 887 if (!pdata->cq_cnt) { in xgene_enet_set_irq_name() 896 for (i = 0; i < pdata->cq_cnt; i++) { in xgene_enet_set_irq_name() 922 for (i = 0; i < pdata->cq_cnt; i++) { in xgene_enet_register_irq() 952 for (i = 0; i < pdata->cq_cnt; i++) { in xgene_enet_free_irq() 969 for (i = 0; i < pdata->cq_cnt; i++) { in xgene_enet_napi_enable() 985 for (i = 0; i < pdata->cq_cnt; i++) { in xgene_enet_napi_disable() 1071 if (pdata->cq_cnt) in xgene_enet_delete_desc_rings() 1161 if (ring->cp_ring && pdata->cq_cnt) in xgene_enet_free_desc_rings() 1422 if (!pdata->cq_cnt) { in xgene_enet_create_desc_rings() 1640 pdata->cq_cnt = max_irqs / 2; in xgene_enet_get_irqs() [all …]
|
D | xgene_enet_main.h | 200 u8 cq_cnt; member
|
/linux-6.1.9/drivers/misc/habanalabs/common/ |
D | hw_queue.c | 633 int rc = 0, i, cq_cnt; in hl_hw_queue_schedule_cs() local 653 for (i = 0, cq_cnt = 0 ; i < max_queues ; i++, q++) { in hl_hw_queue_schedule_cs() 685 cq_cnt++; in hl_hw_queue_schedule_cs() 784 for (i = 0 ; (i < max_queues) && (cq_cnt > 0) ; i++, q++) { in hl_hw_queue_schedule_cs() 790 cq_cnt--; in hl_hw_queue_schedule_cs()
|
D | device.c | 1758 int i, rc, cq_cnt, user_interrupt_cnt, cq_ready_cnt; in hl_device_init() local 1834 cq_cnt = hdev->asic_prop.completion_queues_count; in hl_device_init() 1841 if (cq_cnt) { in hl_device_init() 1842 hdev->completion_queue = kcalloc(cq_cnt, in hl_device_init() 1854 for (i = 0, cq_ready_cnt = 0 ; i < cq_cnt ; i++, cq_ready_cnt++) { in hl_device_init()
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_txrx.h | 144 u16 cq_cnt; member
|
D | otx2_common.c | 1060 for (qidx = 0; qidx < pfvf->qset.cq_cnt; qidx++) { in otx2_config_nix_queues() 1070 pfvf->refill_wrk = devm_kcalloc(pfvf->dev, pfvf->qset.cq_cnt, in otx2_config_nix_queues() 1075 for (qidx = 0; qidx < pfvf->qset.cq_cnt; qidx++) { in otx2_config_nix_queues() 1099 nixlf->cq_cnt = pfvf->qset.cq_cnt; in otx2_config_nix()
|
D | otx2_pf.c | 1235 for (qidx = 0; qidx < pf->qset.cq_cnt; qidx++) { in otx2_q_intr_handler() 1370 for (qidx = 0; qidx < qset->cq_cnt; qidx++) { in otx2_free_cq_res() 1580 for (qidx = 0; qidx < qset->cq_cnt; qidx++) { in otx2_free_hw_resources() 1691 pf->qset.cq_cnt = pf->hw.rx_queues + pf->hw.tot_tx_queues; in otx2_open() 1706 qset->cq = kcalloc(pf->qset.cq_cnt, in otx2_open() 1921 for (wrk = 0; wrk < pf->qset.cq_cnt; wrk++) in otx2_stop()
|
D | otx2_ethtool.c | 306 pfvf->qset.cq_cnt = pfvf->hw.tx_queues + pfvf->hw.rx_queues; in otx2_set_channels()
|
/linux-6.1.9/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_main.c | 456 nic->snicvf[sqs]->qs->cq_cnt = in nicvf_request_sqs() 995 for (qidx = 0; qidx < qs->cq_cnt; qidx++) { in nicvf_handle_qs_err() 1138 for (irq = 0; irq < nic->qs->cq_cnt; irq++) { in nicvf_register_interrupts() 1315 for (qidx = 0; qidx < nic->qs->cq_cnt; qidx++) { in nicvf_free_cq_poll() 1372 for (qidx = 0; qidx < nic->qs->cq_cnt; qidx++) { in nicvf_stop() 1467 for (qidx = 0; qidx < qs->cq_cnt; qidx++) { in nicvf_open() 1543 for (qidx = 0; qidx < qs->cq_cnt; qidx++) in nicvf_open() 1567 for (qidx = 0; qidx < qs->cq_cnt; qidx++) { in nicvf_open() 1826 nic->qs->cq_cnt = max_t(u8, nic->qs->rq_cnt, nic->qs->sq_cnt); in nicvf_set_xdp_queues()
|
D | nicvf_queues.c | 999 for (qidx = 0; qidx < qs->cq_cnt; qidx++) in nicvf_free_resources() 1026 for (qidx = 0; qidx < qs->cq_cnt; qidx++) { in nicvf_alloc_resources() 1050 qs->cq_cnt = max_t(u8, qs->rq_cnt, qs->sq_cnt); in nicvf_set_qset_resources() 1089 for (qidx = 0; qidx < qs->cq_cnt; qidx++) in nicvf_config_data_transfer() 1102 for (qidx = 0; qidx < qs->cq_cnt; qidx++) in nicvf_config_data_transfer()
|
D | nicvf_queues.h | 293 u8 cq_cnt; member
|
D | nicvf_ethtool.c | 768 nic->qs->cq_cnt = max(nic->qs->rq_cnt, nic->qs->sq_cnt); in nicvf_set_channels()
|
/linux-6.1.9/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_hw.c | 614 dev->eq_tbl[0].cq_cnt++; in ocrdma_create_mq() 1002 int budget = eq->cq_cnt; in ocrdma_irq_handler() 1746 int i, selected_eq = 0, cq_cnt = 0; in ocrdma_bind_eq() local 1750 cq_cnt = dev->eq_tbl[0].cq_cnt; in ocrdma_bind_eq() 1756 if (dev->eq_tbl[i].cq_cnt < cq_cnt) { in ocrdma_bind_eq() 1757 cq_cnt = dev->eq_tbl[i].cq_cnt; in ocrdma_bind_eq() 1762 dev->eq_tbl[selected_eq].cq_cnt += 1; in ocrdma_bind_eq() 1775 dev->eq_tbl[i].cq_cnt -= 1; in ocrdma_unbind_eq()
|
D | ocrdma.h | 150 int cq_cnt; member
|
/linux-6.1.9/drivers/infiniband/hw/irdma/ |
D | uk.c | 981 void irdma_uk_cq_set_resized_cnt(struct irdma_cq_uk *cq, u16 cq_cnt) in irdma_uk_cq_set_resized_cnt() argument 992 sw_cq_sel += cq_cnt; in irdma_uk_cq_set_resized_cnt()
|
/linux-6.1.9/drivers/misc/habanalabs/gaudi/ |
D | gaudi.c | 2013 int cq_cnt = hdev->asic_prop.completion_queues_count; in gaudi_enable_msi_multi() local 2016 for (i = 0, irq_cnt_init = 0 ; i < cq_cnt ; i++, irq_cnt_init++) { in gaudi_enable_msi_multi() 2027 rc = request_irq(irq, hl_irq_handler_eq, 0, gaudi_irq_name[cq_cnt], in gaudi_enable_msi_multi() 2080 int i, cq_cnt = hdev->asic_prop.completion_queues_count; in gaudi_sync_irqs() local 2087 for (i = 0 ; i < cq_cnt ; i++) in gaudi_sync_irqs() 2101 int i, irq, cq_cnt = hdev->asic_prop.completion_queues_count; in gaudi_disable_msi() local 2113 for (i = 0 ; i < cq_cnt ; i++) { in gaudi_disable_msi()
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_nix.c | 1293 if (!req->rq_cnt || !req->sq_cnt || !req->cq_cnt) in rvu_mbox_handler_nix_lf_alloc() 1385 err = qmem_alloc(rvu->dev, &pfvf->cq_ctx, req->cq_cnt, hwctx_size); in rvu_mbox_handler_nix_lf_alloc() 1389 pfvf->cq_bmap = kcalloc(req->cq_cnt, sizeof(long), GFP_KERNEL); in rvu_mbox_handler_nix_lf_alloc() 1396 cfg = BIT_ULL(36) | (req->cq_cnt - 1) | req->way_mask << 20; in rvu_mbox_handler_nix_lf_alloc()
|
D | mbox.h | 843 u32 cq_cnt; /* No of completion queues */ member
|
/linux-6.1.9/drivers/misc/habanalabs/goya/ |
D | goya.c | 2350 int cq_cnt = hdev->asic_prop.completion_queues_count; in goya_enable_msix() local 2365 for (i = 0, irq_cnt_init = 0 ; i < cq_cnt ; i++, irq_cnt_init++) { in goya_enable_msix()
|