/linux-6.1.9/net/9p/ |
D | trans_xen.c | 57 int num_rings; member 134 num = p9_req->tc.tag % priv->num_rings; in p9_xen_request() 280 for (i = 0; i < priv->num_rings; i++) { in xen_9pfs_front_free() 406 priv->num_rings = XEN_9PFS_NUM_RINGS; in xen_9pfs_front_probe() 407 priv->rings = kcalloc(priv->num_rings, sizeof(*priv->rings), in xen_9pfs_front_probe() 414 for (i = 0; i < priv->num_rings; i++) { in xen_9pfs_front_probe() 432 priv->num_rings); in xen_9pfs_front_probe() 435 for (i = 0; i < priv->num_rings; i++) { in xen_9pfs_front_probe()
|
/linux-6.1.9/drivers/soc/ti/ |
D | k3-ringacc.c | 211 u32 num_rings; /* number of rings in Ringacc module */ member 409 *compl_ring = &ringacc->rings[fwd_id + ringacc->num_rings]; in k3_dmaring_request_dual_ring() 740 reverse_ring = &ringacc->rings[ring->ring_id + ringacc->num_rings]; in k3_dmaring_cfg() 1302 ret = of_property_read_u32(node, "ti,num-rings", &ringacc->num_rings); in k3_ringacc_probe_dt() 1403 ringacc->num_rings, in k3_ringacc_init() 1405 ringacc->rings_inuse = devm_bitmap_zalloc(dev, ringacc->num_rings, in k3_ringacc_init() 1413 for (i = 0; i < ringacc->num_rings; i++) { in k3_ringacc_init() 1426 ringacc->num_rings, in k3_ringacc_init() 1469 ringacc->num_rings = data->num_rings; in k3_ringacc_dmarings_init() 1482 ringacc->num_rings * 2, in k3_ringacc_dmarings_init() [all …]
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeon_ep/ |
D | octep_cn9k_pf.c | 544 int srn, num_rings, i; in octep_enable_interrupts_cn93_pf() local 547 num_rings = CFG_GET_PORTS_ACTIVE_IO_RINGS(oct->conf); in octep_enable_interrupts_cn93_pf() 549 for (i = 0; i < num_rings; i++) in octep_enable_interrupts_cn93_pf() 563 int srn, num_rings, i; in octep_disable_interrupts_cn93_pf() local 566 num_rings = CFG_GET_PORTS_ACTIVE_IO_RINGS(oct->conf); in octep_disable_interrupts_cn93_pf() 568 for (i = 0; i < num_rings; i++) in octep_disable_interrupts_cn93_pf() 682 u8 srn, num_rings, q; in octep_dump_registers_cn93_pf() local 685 num_rings = CFG_GET_PORTS_ACTIVE_IO_RINGS(oct->conf); in octep_dump_registers_cn93_pf() 687 for (q = srn; q < srn + num_rings; q++) in octep_dump_registers_cn93_pf()
|
/linux-6.1.9/drivers/net/ethernet/freescale/enetc/ |
D | enetc_pf.c | 472 int num_rings, i; in enetc_port_si_configure() local 476 num_rings = min(ENETC_PCAPR0_RXBDR(val), ENETC_PCAPR0_TXBDR(val)); in enetc_port_si_configure() 481 if (unlikely(num_rings < ENETC_PF_NUM_RINGS)) { in enetc_port_si_configure() 482 val = ENETC_PSICFGR0_SET_TXBDR(num_rings); in enetc_port_si_configure() 483 val |= ENETC_PSICFGR0_SET_RXBDR(num_rings); in enetc_port_si_configure() 486 num_rings, ENETC_PF_NUM_RINGS); in enetc_port_si_configure() 488 num_rings = 0; in enetc_port_si_configure() 496 if (num_rings) in enetc_port_si_configure() 497 num_rings -= ENETC_PF_NUM_RINGS; in enetc_port_si_configure() 503 if (num_rings) { in enetc_port_si_configure() [all …]
|
/linux-6.1.9/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() 1520 mbox->num_rings = 0; in flexrm_mbox_probe() 1523 mbox->num_rings++; in flexrm_mbox_probe() 1525 if (!mbox->num_rings) { in flexrm_mbox_probe() 1531 ring = devm_kcalloc(dev, mbox->num_rings, sizeof(*ring), GFP_KERNEL); in flexrm_mbox_probe() 1540 for (index = 0; index < mbox->num_rings; index++) { in flexrm_mbox_probe() 1594 ret = platform_msi_domain_alloc_irqs(dev, mbox->num_rings, in flexrm_mbox_probe() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_kms.c | 366 unsigned int num_rings = 0; in amdgpu_hw_ip_info() local 377 ++num_rings; in amdgpu_hw_ip_info() 385 ++num_rings; in amdgpu_hw_ip_info() 393 ++num_rings; in amdgpu_hw_ip_info() 404 ++num_rings; in amdgpu_hw_ip_info() 411 for (i = 0; i < adev->vce.num_rings; i++) in amdgpu_hw_ip_info() 413 ++num_rings; in amdgpu_hw_ip_info() 425 ++num_rings; in amdgpu_hw_ip_info() 437 ++num_rings; in amdgpu_hw_ip_info() 450 ++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() 469 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() 479 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() 532 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v4_0_hw_init() 1137 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v4_0_set_ring_funcs()
|
D | amdgpu_ring.c | 198 if (adev->num_rings >= AMDGPU_MAX_RINGS) in amdgpu_ring_init() 207 ring->idx = adev->num_rings++; in amdgpu_ring_init()
|
D | amdgpu_ib.c | 383 for (i = 0; i < adev->num_rings; ++i) { in amdgpu_ib_ring_tests()
|
D | amdgpu_vce.c | 226 for (i = 0; i < adev->vce.num_rings; i++) in amdgpu_vce_sw_fini() 343 for (i = 0; i < adev->vce.num_rings; i++) in amdgpu_vce_idle_work_handler()
|
D | amdgpu_gmc.c | 488 for (i = 0; i < adev->num_rings; ++i) { in amdgpu_gmc_allocate_vm_inv_eng()
|
D | amdgpu.h | 884 unsigned num_rings; member
|
/linux-6.1.9/include/linux/soc/ti/ |
D | k3-ringacc.h | 264 u32 num_rings; member
|
/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | radeon_fence.c | 599 unsigned i, num_rings = 0; in radeon_fence_wait_any() local 610 ++num_rings; in radeon_fence_wait_any() 614 if (num_rings == 0) in radeon_fence_wait_any()
|
/linux-6.1.9/drivers/gpu/drm/virtio/ |
D | virtgpu_ioctl.c | 145 if (exbuf->ring_idx >= vfpriv->num_rings) in virtio_gpu_execbuffer_ioctl() 820 vfpriv->num_rings = value; in virtio_gpu_context_init_ioctl() 838 for (i = 0; i < vfpriv->num_rings; i++) in virtio_gpu_context_init_ioctl()
|
D | virtgpu_drv.h | 271 uint32_t num_rings; member
|
/linux-6.1.9/drivers/scsi/lpfc/ |
D | lpfc_sli.h | 350 uint32_t num_rings; member
|
D | lpfc_mbox.c | 1023 pcbp->maxRing = (psli->num_rings - 1); in lpfc_config_pcb_setup() 1025 for (i = 0; i < psli->num_rings; i++) { in lpfc_config_pcb_setup() 1469 for (i = 0; i < phba->sli.num_rings; i++) { in lpfc_config_port()
|
/linux-6.1.9/drivers/net/wireless/ath/ath10k/ |
D | htt_tx.c | 847 cmd->rx_setup_32.hdr.num_rings = 1; in ath10k_htt_send_rx_ring_cfg_32() 919 cmd->rx_setup_64.hdr.num_rings = 1; in ath10k_htt_send_rx_ring_cfg_64() 988 cmd->rx_setup_32.hdr.num_rings = 1; in ath10k_htt_send_rx_ring_cfg_hl()
|
D | htt.h | 280 u8 num_rings; /* supported values: 1, 2 */ member
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_main.c | 627 int num_rings, max_rings = QLCNIC_MAX_SDS_RINGS; in qlcnic_max_rings() local 634 num_rings = rounddown_pow_of_two(min_t(int, num_online_cpus(), in qlcnic_max_rings() 637 if (ring_cnt > num_rings) in qlcnic_max_rings() 638 return num_rings; in qlcnic_max_rings()
|
/linux-6.1.9/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 5211 u32 buf_size, int num_rings) in bnx2_init_rxbd_rings() argument 5216 for (i = 0; i < num_rings; i++) { in bnx2_init_rxbd_rings() 5224 if (i == (num_rings - 1)) in bnx2_init_rxbd_rings() 5368 u32 max, num_rings = 1; in bnx2_find_max_ring() local 5372 num_rings++; in bnx2_find_max_ring() 5376 while ((max & num_rings) == 0) in bnx2_find_max_ring() 5379 if (num_rings != max) in bnx2_find_max_ring()
|