Home
last modified time | relevance | path

Searched refs:nr_rings (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/msm/adreno/
Da5xx_preempt.c61 for (i = 0; i < gpu->nr_rings; i++) { in get_next_ring()
98 if (gpu->nr_rings == 1) in a5xx_preempt_trigger()
206 if (gpu->nr_rings == 1) in a5xx_preempt_hw_init()
209 for (i = 0; i < gpu->nr_rings; i++) { in a5xx_preempt_hw_init()
263 for (i = 0; i < gpu->nr_rings; i++) in a5xx_preempt_fini()
274 if (gpu->nr_rings <= 1) in a5xx_preempt_init()
277 for (i = 0; i < gpu->nr_rings; i++) { in a5xx_preempt_init()
284 gpu->nr_rings = 1; in a5xx_preempt_init()
Dadreno_gpu.c194 *value = gpu->nr_rings; in adreno_get_param()
343 for (i = 0; i < gpu->nr_rings; i++) { in adreno_hw_init()
532 for (i = 0; i < gpu->nr_rings; i++) { in adreno_gpu_state_get()
713 for (i = 0; i < gpu->nr_rings; i++) { in adreno_show()
767 for (i = 0; i < gpu->nr_rings; i++) { in adreno_dump_info()
898 const struct adreno_gpu_funcs *funcs, int nr_rings) in adreno_gpu_init() argument
918 adreno_gpu_config.nr_rings = nr_rings; in adreno_gpu_init()
Dadreno_gpu.h241 int nr_rings);
Da5xx_gpu.c374 if (gpu->nr_rings == 1) in a5xx_preempt_start()
/Linux-v5.4/drivers/gpu/drm/msm/
Dmsm_gpu.c470 for (i = 0; i < gpu->nr_rings; i++) { in recover_worker()
497 for (i = 0; i < gpu->nr_rings; i++) { in recover_worker()
695 for (i = 0; i < gpu->nr_rings; i++) { in retire_submits()
711 for (i = 0; i < gpu->nr_rings; i++) in retire_worker()
854 int i, ret, nr_rings = config->nr_rings; in msm_gpu_init() local
933 sizeof(struct msm_rbmemptrs) * nr_rings, in msm_gpu_init()
945 if (nr_rings > ARRAY_SIZE(gpu->rb)) { in msm_gpu_init()
948 nr_rings = ARRAY_SIZE(gpu->rb); in msm_gpu_init()
952 for (i = 0; i < nr_rings; i++) { in msm_gpu_init()
966 gpu->nr_rings = nr_rings; in msm_gpu_init()
Dmsm_gpu.h26 unsigned int nr_rings; member
88 int nr_rings; member
148 for (i = 0; i < gpu->nr_rings; i++) { in msm_gpu_active()
Dmsm_submitqueue.c74 if (prio >= priv->gpu->nr_rings) in msm_submitqueue_create()
107 clamp_t(uint32_t, 2, 0, priv->gpu->nr_rings - 1) : 0; in msm_submitqueue_init()
/Linux-v5.4/drivers/block/
Dxen-blkfront.c218 unsigned int nr_rings; member
889 BUG_ON(info->nr_rings <= qid); in blkif_queue_rq()
968 info->tag_set.nr_hw_queues = info->nr_rings; in xlvbd_init_blk_queue()
1194 for (i = 0; i < info->nr_rings; i++) { in xlvbd_release_gendisk()
1353 for (i = 0; i < info->nr_rings; i++) in blkif_free()
1358 info->nr_rings = 0; in blkif_free()
1794 for (i = 0; i < info->nr_rings; i++) { in talk_to_blkback()
1820 if (info->nr_rings == 1) { in talk_to_blkback()
1829 info->nr_rings); in talk_to_blkback()
1843 for (i = 0; i < info->nr_rings; i++) { in talk_to_blkback()
[all …]
/Linux-v5.4/drivers/block/xen-blkback/
Dxenbus.c109 for (i = 0; i < blkif->nr_rings; i++) { in xen_update_blkif_status()
134 blkif->rings = kcalloc(blkif->nr_rings, sizeof(struct xen_blkif_ring), in xen_blkif_alloc_rings()
139 for (r = 0; r < blkif->nr_rings; r++) { in xen_blkif_alloc_rings()
242 for (r = 0; r < blkif->nr_rings; r++) { in xen_blkif_disconnect()
309 blkif->nr_rings = 0; in xen_blkif_disconnect()
354 for (i = 0; i < blkif->nr_rings; i++) { \
1063 blkif->nr_rings = requested_num_queues; in connect_ring()
1068 blkif->nr_rings, blkif->blk_protocol, protocol, in connect_ring()
1085 if (blkif->nr_rings == 1) in connect_ring()
1095 for (i = 0; i < blkif->nr_rings; i++) { in connect_ring()
Dcommon.h321 unsigned int nr_rings; member
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c5078 unsigned int nr_rings) in bnxt_hwrm_vnic_alloc() argument
5081 unsigned int i, j, grp_idx, end_idx = start_rx_ring_idx + nr_rings; in bnxt_hwrm_vnic_alloc()
5094 j, nr_rings); in bnxt_hwrm_vnic_alloc()