/linux-6.1.9/drivers/gpu/drm/msm/adreno/ |
D | a5xx_preempt.c | 61 for (i = 0; i < gpu->nr_rings; i++) { in get_next_ring() 97 if (gpu->nr_rings == 1) in a5xx_preempt_trigger() 204 if (gpu->nr_rings == 1) in a5xx_preempt_hw_init() 207 for (i = 0; i < gpu->nr_rings; i++) { in a5xx_preempt_hw_init() 274 for (i = 0; i < gpu->nr_rings; i++) { in a5xx_preempt_fini() 287 if (gpu->nr_rings <= 1) in a5xx_preempt_init() 290 for (i = 0; i < gpu->nr_rings; i++) { in a5xx_preempt_init() 297 gpu->nr_rings = 1; in a5xx_preempt_init()
|
D | adreno_gpu.c | 290 *value = gpu->nr_rings * NR_SCHED_PRIORITIES; in adreno_get_param() 514 for (i = 0; i < gpu->nr_rings; i++) { in adreno_hw_init() 615 for (i = 0; i < gpu->nr_rings; i++) { in adreno_gpu_state_get() 816 for (i = 0; i < gpu->nr_rings; i++) { in adreno_show() 871 for (i = 0; i < gpu->nr_rings; i++) { in adreno_dump_info() 1039 const struct adreno_gpu_funcs *funcs, int nr_rings) in adreno_gpu_init() argument 1070 adreno_gpu_config.nr_rings = nr_rings; in adreno_gpu_init()
|
D | a5xx_gpu.c | 513 if (gpu->nr_rings == 1) in a5xx_preempt_start() 927 sizeof(u32) * gpu->nr_rings, in a5xx_hw_init() 940 } else if (gpu->nr_rings > 1) { in a5xx_hw_init() 943 gpu->nr_rings = 1; in a5xx_hw_init() 1422 for (i = 0; i < gpu->nr_rings; i++) in a5xx_pm_suspend()
|
D | adreno_device.c | 661 for (i = 0; i < gpu->nr_rings; i++) { in suspend_scheduler() 671 for (i = 0; i < gpu->nr_rings; i++) { in resume_scheduler()
|
D | adreno_gpu.h | 320 int nr_rings);
|
D | a6xx_gpu.c | 1169 sizeof(u32) * gpu->nr_rings, in hw_init() 1704 for (i = 0; i < gpu->nr_rings; i++) in a6xx_pm_suspend()
|
/linux-6.1.9/drivers/gpu/drm/msm/ |
D | msm_gpu.c | 409 for (i = 0; i < gpu->nr_rings; i++) { in recover_worker() 434 for (i = 0; i < gpu->nr_rings; i++) { in recover_worker() 684 for (i = 0; i < gpu->nr_rings; i++) { in retire_submits() 724 for (i = 0; i < gpu->nr_rings; i++) in msm_gpu_retire() 835 int i, ret, nr_rings = config->nr_rings; in msm_gpu_init() local 928 sizeof(struct msm_rbmemptrs) * nr_rings, in msm_gpu_init() 940 if (nr_rings > ARRAY_SIZE(gpu->rb)) { in msm_gpu_init() 943 nr_rings = ARRAY_SIZE(gpu->rb); in msm_gpu_init() 947 for (i = 0; i < nr_rings; i++) { in msm_gpu_init() 961 gpu->nr_rings = nr_rings; in msm_gpu_init()
|
D | msm_gpu.h | 30 unsigned int nr_rings; member 171 int nr_rings; member 302 for (i = 0; i < gpu->nr_rings; i++) { in msm_gpu_active() 450 if (rn >= gpu->nr_rings) in msm_gpu_convert_priority()
|
D | msm_submitqueue.c | 225 max_priority = (priv->gpu->nr_rings * NR_SCHED_PRIORITIES) - 1; in msm_submitqueue_init()
|
/linux-6.1.9/drivers/i3c/master/mipi-i3c-hci/ |
D | dma.c | 213 unsigned int i, nr_rings, xfers_sz, resps_sz; in hci_dma_init() local 218 nr_rings = FIELD_GET(MAX_HEADER_COUNT_CAP, regval); in hci_dma_init() 219 dev_info(&hci->master.dev, "%d DMA rings available\n", nr_rings); in hci_dma_init() 220 if (unlikely(nr_rings > 8)) { in hci_dma_init() 222 nr_rings = 8; in hci_dma_init() 224 if (nr_rings > XFER_RINGS) in hci_dma_init() 225 nr_rings = XFER_RINGS; in hci_dma_init() 226 rings = kzalloc(struct_size(rings, headers, nr_rings), GFP_KERNEL); in hci_dma_init() 230 rings->total = nr_rings; in hci_dma_init()
|
/linux-6.1.9/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() 273 for (r = 0; r < blkif->nr_rings; r++) { in xen_blkif_disconnect() 340 blkif->nr_rings = 0; in xen_blkif_disconnect() 392 for (i = 0; i < blkif->nr_rings; i++) { \ 1109 blkif->nr_rings = requested_num_queues; in connect_ring() 1114 blkif->nr_rings, blkif->blk_protocol, protocol, in connect_ring() 1134 if (blkif->nr_rings == 1) in connect_ring() 1144 for (i = 0; i < blkif->nr_rings; i++) { in connect_ring()
|
D | common.h | 322 unsigned int nr_rings; member
|
/linux-6.1.9/drivers/block/ |
D | xen-blkfront.c | 228 unsigned int nr_rings; member 276 (idx) < (info)->nr_rings; \ 282 BUG_ON(i >= info->nr_rings); in get_rinfo() 1118 info->tag_set.nr_hw_queues = info->nr_rings; in xlvbd_alloc_gendisk() 1317 info->nr_rings = 0; in blkif_free() 1819 if (info->nr_rings == 1) { in talk_to_blkback() 1828 info->nr_rings); in talk_to_blkback() 1900 BUG_ON(info->nr_rings); in negotiate_mq() 1905 info->nr_rings = min(backend_max_queues, xen_blkif_max_queues); in negotiate_mq() 1907 if (!info->nr_rings) in negotiate_mq() [all …]
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 5545 unsigned int nr_rings) in bnxt_hwrm_vnic_alloc() argument 5547 unsigned int i, j, grp_idx, end_idx = start_rx_ring_idx + nr_rings; in bnxt_hwrm_vnic_alloc() 5565 j, nr_rings); in bnxt_hwrm_vnic_alloc()
|