Home
last modified time | relevance | path

Searched refs:num_rings (Results 1 – 25 of 43) sorted by relevance

12

/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep_vf/
Doctep_vf_cn9k.c311 int num_rings, q; in octep_vf_enable_interrupts_cn93() local
314 num_rings = CFG_GET_PORTS_ACTIVE_IO_RINGS(oct->conf); in octep_vf_enable_interrupts_cn93()
315 for (q = 0; q < num_rings; q++) { in octep_vf_enable_interrupts_cn93()
332 int num_rings, q; in octep_vf_disable_interrupts_cn93() local
339 num_rings = CFG_GET_PORTS_ACTIVE_IO_RINGS(oct->conf); in octep_vf_disable_interrupts_cn93()
340 for (q = 0; q < num_rings; q++) { in octep_vf_disable_interrupts_cn93()
448 u8 num_rings, q; in octep_vf_dump_registers_cn93() local
450 num_rings = CFG_GET_PORTS_ACTIVE_IO_RINGS(oct->conf); in octep_vf_dump_registers_cn93()
451 for (q = 0; q < num_rings; q++) in octep_vf_dump_registers_cn93()
Doctep_vf_cnxk.c322 int num_rings, q; in octep_vf_enable_interrupts_cnxk() local
325 num_rings = CFG_GET_PORTS_ACTIVE_IO_RINGS(oct->conf); in octep_vf_enable_interrupts_cnxk()
326 for (q = 0; q < num_rings; q++) { in octep_vf_enable_interrupts_cnxk()
343 int num_rings, q; in octep_vf_disable_interrupts_cnxk() local
350 num_rings = CFG_GET_PORTS_ACTIVE_IO_RINGS(oct->conf); in octep_vf_disable_interrupts_cnxk()
351 for (q = 0; q < num_rings; q++) { in octep_vf_disable_interrupts_cnxk()
459 u8 num_rings, q; in octep_vf_dump_registers_cnxk() local
461 num_rings = CFG_GET_PORTS_ACTIVE_IO_RINGS(oct->conf); in octep_vf_dump_registers_cnxk()
462 for (q = 0; q < num_rings; q++) in octep_vf_dump_registers_cnxk()
/linux-6.12.1/drivers/crypto/intel/qat/qat_common/
Dadf_sysfs.c284 int num_rings, ret; in rp2srv_store() local
295 num_rings = GET_MAX_BANKS(accel_dev); in rp2srv_store()
296 if (ring >= num_rings) { in rp2srv_store()
299 num_rings); in rp2srv_store()
Dadf_gen4_hw_data.c493 u32 bank, struct bank_state *state, u32 num_rings) in bank_state_save() argument
514 for (i = 0; i < num_rings; i++) { in bank_state_save()
532 u32 bank, struct bank_state *state, u32 num_rings, in bank_state_restore() argument
538 for (i = 0; i < num_rings; i++) in bank_state_restore()
541 for (i = 0; i < num_rings; i++) in bank_state_restore()
544 for (i = 0; i < num_rings / 2; i++) { in bank_state_restore()
/linux-6.12.1/drivers/soc/ti/
Dk3-ringacc.c211 u32 num_rings; /* number of rings in Ringacc module */ member
420 *compl_ring = &ringacc->rings[fwd_id + ringacc->num_rings]; in k3_dmaring_request_dual_ring()
755 reverse_ring = &ringacc->rings[ring->ring_id + ringacc->num_rings]; in k3_dmaring_cfg()
1317 ret = of_property_read_u32(node, "ti,num-rings", &ringacc->num_rings); in k3_ringacc_probe_dt()
1411 ringacc->num_rings, in k3_ringacc_init()
1413 ringacc->rings_inuse = devm_bitmap_zalloc(dev, ringacc->num_rings, in k3_ringacc_init()
1421 for (i = 0; i < ringacc->num_rings; i++) { in k3_ringacc_init()
1434 ringacc->num_rings, in k3_ringacc_init()
1477 ringacc->num_rings = data->num_rings; in k3_ringacc_dmarings_init()
1489 ringacc->num_rings * 2, in k3_ringacc_dmarings_init()
[all …]
/linux-6.12.1/drivers/net/ethernet/freescale/enetc/
Denetc_pf.c471 int num_rings, i; in enetc_port_si_configure() local
475 num_rings = min(ENETC_PCAPR0_RXBDR(val), ENETC_PCAPR0_TXBDR(val)); in enetc_port_si_configure()
480 if (unlikely(num_rings < ENETC_PF_NUM_RINGS)) { in enetc_port_si_configure()
481 val = ENETC_PSICFGR0_SET_TXBDR(num_rings); in enetc_port_si_configure()
482 val |= ENETC_PSICFGR0_SET_RXBDR(num_rings); in enetc_port_si_configure()
485 num_rings, ENETC_PF_NUM_RINGS); in enetc_port_si_configure()
487 num_rings = 0; in enetc_port_si_configure()
495 if (num_rings) in enetc_port_si_configure()
496 num_rings -= ENETC_PF_NUM_RINGS; in enetc_port_si_configure()
502 if (num_rings) { in enetc_port_si_configure()
[all …]
/linux-6.12.1/drivers/mailbox/
Dbcm-flexrm-mailbox.c284 u32 num_rings; member
930 for (i = 0; i < mbox->num_rings; i++) { in flexrm_write_config_in_seqfile()
958 for (i = 0; i < mbox->num_rings; i++) { in flexrm_write_stats_in_seqfile()
1287 val = ring->mbox->num_rings; in flexrm_startup()
1516 mbox->num_rings = 0; in flexrm_mbox_probe()
1519 mbox->num_rings++; in flexrm_mbox_probe()
1521 if (!mbox->num_rings) { in flexrm_mbox_probe()
1527 ring = devm_kcalloc(dev, mbox->num_rings, sizeof(*ring), GFP_KERNEL); in flexrm_mbox_probe()
1536 for (index = 0; index < mbox->num_rings; index++) { in flexrm_mbox_probe()
1590 ret = platform_device_msi_init_and_alloc_irqs(dev, mbox->num_rings, in flexrm_mbox_probe()
[all …]
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep/
Doctep_cn9k_pf.c672 int srn, num_rings, i; in octep_enable_interrupts_cn93_pf() local
675 num_rings = CFG_GET_PORTS_ACTIVE_IO_RINGS(oct->conf); in octep_enable_interrupts_cn93_pf()
677 for (i = 0; i < num_rings; i++) in octep_enable_interrupts_cn93_pf()
700 int srn, num_rings, i; in octep_disable_interrupts_cn93_pf() local
703 num_rings = CFG_GET_PORTS_ACTIVE_IO_RINGS(oct->conf); in octep_disable_interrupts_cn93_pf()
705 for (i = 0; i < num_rings; i++) in octep_disable_interrupts_cn93_pf()
828 u8 srn, num_rings, q; in octep_dump_registers_cn93_pf() local
831 num_rings = CFG_GET_PORTS_ACTIVE_IO_RINGS(oct->conf); in octep_dump_registers_cn93_pf()
833 for (q = srn; q < srn + num_rings; q++) in octep_dump_registers_cn93_pf()
Doctep_cnxk_pf.c697 int srn, num_rings, i; in octep_enable_interrupts_cnxk_pf() local
700 num_rings = CFG_GET_PORTS_ACTIVE_IO_RINGS(oct->conf); in octep_enable_interrupts_cnxk_pf()
702 for (i = 0; i < num_rings; i++) in octep_enable_interrupts_cnxk_pf()
724 int srn, num_rings, i; in octep_disable_interrupts_cnxk_pf() local
727 num_rings = CFG_GET_PORTS_ACTIVE_IO_RINGS(oct->conf); in octep_disable_interrupts_cnxk_pf()
729 for (i = 0; i < num_rings; i++) in octep_disable_interrupts_cnxk_pf()
851 u8 srn, num_rings, q; in octep_dump_registers_cnxk_pf() local
854 num_rings = CFG_GET_PORTS_ACTIVE_IO_RINGS(oct->conf); in octep_dump_registers_cnxk_pf()
856 for (q = srn; q < srn + num_rings; q++) in octep_dump_registers_cnxk_pf()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_kms.c380 unsigned int num_rings = 0; in amdgpu_hw_ip_info() local
391 ++num_rings; in amdgpu_hw_ip_info()
399 ++num_rings; in amdgpu_hw_ip_info()
407 ++num_rings; in amdgpu_hw_ip_info()
418 ++num_rings; in amdgpu_hw_ip_info()
425 for (i = 0; i < adev->vce.num_rings; i++) in amdgpu_hw_ip_info()
427 ++num_rings; in amdgpu_hw_ip_info()
439 ++num_rings; in amdgpu_hw_ip_info()
451 ++num_rings; in amdgpu_hw_ip_info()
464 ++num_rings; in amdgpu_hw_ip_info()
[all …]
Dvce_v2_0.c405 adev->vce.num_rings = 2; in vce_v2_0_early_init()
433 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v2_0_sw_init()
467 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v2_0_hw_init()
659 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v2_0_set_ring_funcs()
Dvce_v3_0.c410 adev->vce.num_rings = 3; in vce_v3_0_early_init()
436 adev->vce.num_rings = 2; in vce_v3_0_sw_init()
442 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v3_0_sw_init()
477 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v3_0_hw_init()
976 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v3_0_set_ring_funcs()
982 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v3_0_set_ring_funcs()
Damdgpu_vce.h53 unsigned num_rings; member
Dvce_v4_0.c415 adev->vce.num_rings = 1; in vce_v4_0_early_init()
417 adev->vce.num_rings = 3; in vce_v4_0_early_init()
465 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v4_0_sw_init()
528 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v4_0_hw_init()
1132 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v4_0_set_ring_funcs()
Damdgpu_ring.c223 if (adev->num_rings >= AMDGPU_MAX_RINGS) in amdgpu_ring_init()
232 ring->idx = adev->num_rings++; in amdgpu_ring_init()
Damdgpu_ib.c404 for (i = 0; i < adev->num_rings; ++i) { in amdgpu_ib_ring_tests()
Damdgpu_vce.c220 for (i = 0; i < adev->vce.num_rings; i++) in amdgpu_vce_sw_fini()
338 for (i = 0; i < adev->vce.num_rings; i++) in amdgpu_vce_idle_work_handler()
Damdgpu_dev_coredump.c298 for (int i = 0; i < coredump->adev->num_rings; i++) { in amdgpu_devcoredump_read()
/linux-6.12.1/drivers/net/ethernet/google/gve/
Dgve_main.c929 cfg->num_rings = gve_num_tx_queues(priv); in gve_tx_get_curr_alloc_cfg()
933 static void gve_tx_stop_rings(struct gve_priv *priv, int start_id, int num_rings) in gve_tx_stop_rings() argument
940 for (i = start_id; i < start_id + num_rings; i++) { in gve_tx_stop_rings()
949 int num_rings) in gve_tx_start_rings() argument
953 for (i = start_id; i < start_id + num_rings; i++) { in gve_tx_start_rings()
971 cfg.num_rings = priv->num_xdp_queues; in gve_alloc_xdp_rings()
977 gve_tx_start_rings(priv, cfg.start_idx, cfg.num_rings); in gve_alloc_xdp_rings()
1063 cfg.num_rings = priv->num_xdp_queues; in gve_free_xdp_rings()
1066 gve_tx_stop_rings(priv, cfg.start_idx, cfg.num_rings); in gve_free_xdp_rings()
1305 static void gve_rx_start_rings(struct gve_priv *priv, int num_rings) in gve_rx_start_rings() argument
[all …]
Dgve_tx.c337 if (cfg->start_idx + cfg->num_rings > cfg->qcfg->max_queues) { in gve_tx_alloc_rings_gqi()
354 for (i = cfg->start_idx; i < cfg->start_idx + cfg->num_rings; i++) { in gve_tx_alloc_rings_gqi()
384 for (i = cfg->start_idx; i < cfg->start_idx + cfg->num_rings; i++) in gve_tx_free_rings_gqi()
Dgve_tx_dqo.c385 if (cfg->start_idx + cfg->num_rings > cfg->qcfg->max_queues) { in gve_tx_alloc_rings_dqo()
402 for (i = cfg->start_idx; i < cfg->start_idx + cfg->num_rings; i++) { in gve_tx_alloc_rings_dqo()
432 for (i = cfg->start_idx; i < cfg->start_idx + cfg->num_rings; i++) in gve_tx_free_rings_dqo()
/linux-6.12.1/include/linux/soc/ti/
Dk3-ringacc.h264 u32 num_rings; member
/linux-6.12.1/drivers/gpu/drm/radeon/
Dradeon_fence.c595 unsigned int i, num_rings = 0; in radeon_fence_wait_any() local
605 ++num_rings; in radeon_fence_wait_any()
609 if (num_rings == 0) in radeon_fence_wait_any()
/linux-6.12.1/drivers/gpu/drm/virtio/
Dvirtgpu_ioctl.c645 vfpriv->num_rings = value; in virtio_gpu_context_init_ioctl()
678 for (i = 0; i < vfpriv->num_rings; i++) in virtio_gpu_context_init_ioctl()
/linux-6.12.1/drivers/scsi/lpfc/
Dlpfc_sli.h370 uint32_t num_rings; member

12