/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep_vf/ |
D | octep_vf_cn9k.c | 311 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()
|
D | octep_vf_cnxk.c | 322 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/ |
D | adf_sysfs.c | 284 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()
|
D | adf_gen4_hw_data.c | 493 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/ |
D | k3-ringacc.c | 211 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/ |
D | enetc_pf.c | 471 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/ |
D | bcm-flexrm-mailbox.c | 284 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/ |
D | octep_cn9k_pf.c | 672 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()
|
D | octep_cnxk_pf.c | 697 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/ |
D | amdgpu_kms.c | 380 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 …]
|
D | vce_v2_0.c | 405 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()
|
D | vce_v3_0.c | 410 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()
|
D | amdgpu_vce.h | 53 unsigned num_rings; member
|
D | vce_v4_0.c | 415 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()
|
D | amdgpu_ring.c | 223 if (adev->num_rings >= AMDGPU_MAX_RINGS) in amdgpu_ring_init() 232 ring->idx = adev->num_rings++; in amdgpu_ring_init()
|
D | amdgpu_ib.c | 404 for (i = 0; i < adev->num_rings; ++i) { in amdgpu_ib_ring_tests()
|
D | amdgpu_vce.c | 220 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()
|
D | amdgpu_dev_coredump.c | 298 for (int i = 0; i < coredump->adev->num_rings; i++) { in amdgpu_devcoredump_read()
|
/linux-6.12.1/drivers/net/ethernet/google/gve/ |
D | gve_main.c | 929 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 …]
|
D | gve_tx.c | 337 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()
|
D | gve_tx_dqo.c | 385 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/ |
D | k3-ringacc.h | 264 u32 num_rings; member
|
/linux-6.12.1/drivers/gpu/drm/radeon/ |
D | radeon_fence.c | 595 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/ |
D | virtgpu_ioctl.c | 645 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/ |
D | lpfc_sli.h | 370 uint32_t num_rings; member
|