Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/amd/amdgpu/
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()
464 for (i = 0; i < adev->vce.num_rings; i++) in vce_v2_0_hw_init()
467 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v2_0_hw_init()
630 for (i = 0; i < adev->vce.num_rings; i++) in vce_v2_0_set_ring_funcs()
Dvce_v3_0.c409 adev->vce.num_rings = 3; in vce_v3_0_early_init()
435 adev->vce.num_rings = 2; in vce_v3_0_sw_init()
441 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v3_0_sw_init()
473 for (i = 0; i < adev->vce.num_rings; i++) in vce_v3_0_hw_init()
476 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v3_0_hw_init()
944 for (i = 0; i < adev->vce.num_rings; i++) in vce_v3_0_set_ring_funcs()
948 for (i = 0; i < adev->vce.num_rings; i++) in vce_v3_0_set_ring_funcs()
Dvce_v4_0.c394 adev->vce.num_rings = 1; in vce_v4_0_early_init()
396 adev->vce.num_rings = 3; in vce_v4_0_early_init()
443 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v4_0_sw_init()
502 for (i = 0; i < adev->vce.num_rings; i++) in vce_v4_0_hw_init()
505 for (i = 0; i < adev->vce.num_rings; i++) { in vce_v4_0_hw_init()
531 for (i = 0; i < adev->vce.num_rings; i++) in vce_v4_0_hw_fini()
1084 for (i = 0; i < adev->vce.num_rings; i++) in vce_v4_0_set_ring_funcs()
Damdgpu_vce.h51 unsigned num_rings; member
Damdgpu_ctx.c50 for (i = 0; i < adev->num_rings; i++) { in amdgpu_ctx_init()
94 for (i = 0; i < adev->num_rings; i++) in amdgpu_ctx_fini()
Damdgpu_ring.c186 if (adev->num_rings >= AMDGPU_MAX_RINGS) in amdgpu_ring_init()
190 ring->idx = adev->num_rings++; in amdgpu_ring_init()
Damdgpu_queue_mgr.c246 ip_num_rings = adev->vce.num_rings; in amdgpu_queue_mgr_map()
Damdgpu_vce.c215 for (i = 0; i < adev->vce.num_rings; i++) in amdgpu_vce_sw_fini()
307 for (i = 0; i < adev->vce.num_rings; i++) in amdgpu_vce_idle_work_handler()
Dgmc_v9_0.c410 for(i = 0; i < adev->num_rings; ++i) { in gmc_v9_0_late_init()
Damdgpu_kms.c312 for (i = 0; i < adev->vce.num_rings; i++) in amdgpu_info_ioctl()
Damdgpu.h1512 unsigned num_rings; member
/drivers/mailbox/
Dbcm-flexrm-mailbox.c286 u32 num_rings; member
934 for (i = 0; i < mbox->num_rings; i++) { in flexrm_write_config_in_seqfile()
962 for (i = 0; i < mbox->num_rings; i++) { in flexrm_write_stats_in_seqfile()
1288 val = ring->mbox->num_rings; in flexrm_startup()
1521 mbox->num_rings = 0; in flexrm_mbox_probe()
1524 mbox->num_rings++; in flexrm_mbox_probe()
1526 if (!mbox->num_rings) { in flexrm_mbox_probe()
1532 ring = devm_kcalloc(dev, mbox->num_rings, sizeof(*ring), GFP_KERNEL); in flexrm_mbox_probe()
1541 for (index = 0; index < mbox->num_rings; index++) { in flexrm_mbox_probe()
1595 ret = platform_msi_domain_alloc_irqs(dev, mbox->num_rings, in flexrm_mbox_probe()
[all …]
/drivers/gpu/drm/i915/
Di915_gem_context.c576 const int num_rings = in mi_set_context() local
579 INTEL_INFO(dev_priv)->num_rings - 1 : in mi_set_context()
593 len += 2 + (num_rings ? 4*num_rings + 6 : 0); in mi_set_context()
602 if (num_rings) { in mi_set_context()
605 *cs++ = MI_LOAD_REGISTER_IMM(num_rings); in mi_set_context()
628 if (num_rings) { in mi_set_context()
632 *cs++ = MI_LOAD_REGISTER_IMM(num_rings); in mi_set_context()
Dintel_ringbuffer.c759 int num_rings = 0; in gen6_signal() local
772 num_rings++; in gen6_signal()
775 if (num_rings & 1) in gen6_signal()
2147 int num_rings; in intel_ring_default_vfuncs() local
2151 num_rings = INTEL_INFO(dev_priv)->num_rings - 1; in intel_ring_default_vfuncs()
2153 engine->emit_breadcrumb_sz += num_rings * 6; in intel_ring_default_vfuncs()
2155 engine->emit_breadcrumb_sz += num_rings * 3; in intel_ring_default_vfuncs()
2156 if (num_rings & 1) in intel_ring_default_vfuncs()
2191 int num_rings; in intel_init_render_ring_buffer() local
2195 num_rings = INTEL_INFO(dev_priv)->num_rings - 1; in intel_init_render_ring_buffer()
[all …]
Di915_debugfs.c3402 int num_rings = INTEL_INFO(dev_priv)->num_rings; in i915_semaphore_status() local
3429 for (j = 0; j < num_rings; j++) { in i915_semaphore_status()
3437 for (j = 0; j < num_rings; j++) { in i915_semaphore_status()
3449 for (j = 0; j < num_rings; j++) in i915_semaphore_status()
Dintel_engine_cs.c277 device_info->num_rings = hweight32(mask); in intel_engines_init_mmio()
/drivers/gpu/drm/radeon/
Dradeon_fence.c610 unsigned i, num_rings = 0; in radeon_fence_wait_any() local
621 ++num_rings; in radeon_fence_wait_any()
625 if (num_rings == 0) in radeon_fence_wait_any()
/drivers/scsi/lpfc/
Dlpfc_sli.h313 uint32_t num_rings; member
Dlpfc_mbox.c961 pcbp->maxRing = (psli->num_rings - 1); in lpfc_config_pcb_setup()
963 for (i = 0; i < psli->num_rings; i++) { in lpfc_config_pcb_setup()
1408 for (i = 0; i < phba->sli.num_rings; i++) { in lpfc_config_port()
Dlpfc_init.c573 if (psli->num_rings > 0) in lpfc_config_port_post()
575 if (psli->num_rings > 1) in lpfc_config_port_post()
577 if (psli->num_rings > 2) in lpfc_config_port_post()
579 if (psli->num_rings > 3) in lpfc_config_port_post()
963 for (i = 0; i < psli->num_rings; i++) { in lpfc_hba_clean_txcmplq()
/drivers/gpu/drm/i915/selftests/
Di915_gem_context.c390 ncontexts, INTEL_INFO(i915)->num_rings, ndwords); in igt_ctx_exec()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_main.c655 int num_rings, max_rings = QLCNIC_MAX_SDS_RINGS; in qlcnic_max_rings() local
662 num_rings = rounddown_pow_of_two(min_t(int, num_online_cpus(), in qlcnic_max_rings()
665 if (ring_cnt > num_rings) in qlcnic_max_rings()
666 return num_rings; in qlcnic_max_rings()
/drivers/net/wireless/ath/ath10k/
Dhtt.h226 u8 num_rings; /* supported values: 1, 2 */ member
Dhtt_tx.c641 cmd->rx_setup.hdr.num_rings = 1; in ath10k_htt_send_rx_ring_cfg_ll()
/drivers/net/ethernet/broadcom/
Dbnx2.c5218 u32 buf_size, int num_rings) in bnx2_init_rxbd_rings() argument
5223 for (i = 0; i < num_rings; i++) { in bnx2_init_rxbd_rings()
5231 if (i == (num_rings - 1)) in bnx2_init_rxbd_rings()
5375 u32 max, num_rings = 1; in bnx2_find_max_ring() local
5379 num_rings++; in bnx2_find_max_ring()
5383 while ((max & num_rings) == 0) in bnx2_find_max_ring()
5386 if (num_rings != max) in bnx2_find_max_ring()

12