Searched refs:nr_rings (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/msm/adreno/ |
D | a5xx_preempt.c | 61 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()
|
D | adreno_gpu.c | 194 *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()
|
D | adreno_gpu.h | 241 int nr_rings);
|
D | a5xx_gpu.c | 374 if (gpu->nr_rings == 1) in a5xx_preempt_start()
|
/Linux-v5.4/drivers/gpu/drm/msm/ |
D | msm_gpu.c | 470 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()
|
D | msm_gpu.h | 26 unsigned int nr_rings; member 88 int nr_rings; member 148 for (i = 0; i < gpu->nr_rings; i++) { in msm_gpu_active()
|
D | msm_submitqueue.c | 74 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/ |
D | xen-blkfront.c | 218 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/ |
D | xenbus.c | 109 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()
|
D | common.h | 321 unsigned int nr_rings; member
|
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 5078 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()
|