/openbmc/linux/drivers/gpu/drm/msm/adreno/ |
H A D | a5xx_preempt.c | 63 for (i = 0; i < gpu->nr_rings; i++) { in get_next_ring() 101 if (gpu->nr_rings == 1) in a5xx_preempt_trigger() 226 if (gpu->nr_rings == 1) in a5xx_preempt_hw_init() 229 for (i = 0; i < gpu->nr_rings; i++) { in a5xx_preempt_hw_init() 297 for (i = 0; i < gpu->nr_rings; i++) { in a5xx_preempt_fini() 310 if (gpu->nr_rings <= 1) in a5xx_preempt_init() 313 for (i = 0; i < gpu->nr_rings; i++) { in a5xx_preempt_init() 320 gpu->nr_rings = 1; in a5xx_preempt_init()
|
H A D | adreno_gpu.c | 348 *value = gpu->nr_rings * NR_SCHED_PRIORITIES; in adreno_get_param() 561 for (int i = 0; i < gpu->nr_rings; i++) { in adreno_hw_init() 662 for (i = 0; i < gpu->nr_rings; i++) { in adreno_gpu_state_get() 862 for (i = 0; i < gpu->nr_rings; i++) { in adreno_show() 916 for (i = 0; i < gpu->nr_rings; i++) { in adreno_dump_info() 1059 const struct adreno_gpu_funcs *funcs, int nr_rings) in adreno_gpu_init() argument 1105 adreno_gpu_config.nr_rings = nr_rings; in adreno_gpu_init()
|
H A D | a5xx_gpu.c | 521 if (gpu->nr_rings == 1) in a5xx_preempt_start() 619 sizeof(u32) * gpu->nr_rings, in a5xx_ucode_load() 629 } else if (gpu->nr_rings > 1) { in a5xx_ucode_load() 632 gpu->nr_rings = 1; in a5xx_ucode_load() 1428 for (i = 0; i < gpu->nr_rings; i++) in a5xx_pm_suspend() 1758 unsigned int nr_rings; in a5xx_gpu_init() local 1779 nr_rings = 4; in a5xx_gpu_init() 1782 nr_rings = 1; in a5xx_gpu_init() 1784 ret = adreno_gpu_init(dev, pdev, adreno_gpu, &funcs, nr_rings); in a5xx_gpu_init()
|
H A D | adreno_device.c | 811 for (i = 0; i < gpu->nr_rings; i++) { in suspend_scheduler() 821 for (i = 0; i < gpu->nr_rings; i++) { in resume_scheduler()
|
H A D | adreno_gpu.h | 432 int nr_rings);
|
H A D | a6xx_gpu.c | 1155 sizeof(u32) * gpu->nr_rings, in a6xx_ucode_load() 1998 for (i = 0; i < gpu->nr_rings; i++) in a6xx_gmu_pm_suspend() 2034 for (i = 0; i < gpu->nr_rings; i++) in a6xx_pm_suspend()
|
/openbmc/linux/drivers/gpu/drm/msm/ |
H A D | msm_gpu.c | 406 for (i = 0; i < gpu->nr_rings; i++) { in recover_worker() 431 for (i = 0; i < gpu->nr_rings; i++) { in recover_worker() 699 for (i = 0; i < gpu->nr_rings; i++) { in retire_submits() 739 for (i = 0; i < gpu->nr_rings; i++) in msm_gpu_retire() 847 int i, ret, nr_rings = config->nr_rings; in msm_gpu_init() local 945 sizeof(struct msm_rbmemptrs) * nr_rings, in msm_gpu_init() 957 if (nr_rings > ARRAY_SIZE(gpu->rb)) { in msm_gpu_init() 960 nr_rings = ARRAY_SIZE(gpu->rb); in msm_gpu_init() 964 for (i = 0; i < nr_rings; i++) { in msm_gpu_init() 978 gpu->nr_rings = nr_rings; in msm_gpu_init()
|
H A D | msm_gpu.h | 29 unsigned int nr_rings; member 187 int nr_rings; member 322 for (i = 0; i < gpu->nr_rings; i++) { in msm_gpu_active() 470 if (rn >= gpu->nr_rings) in msm_gpu_convert_priority()
|
H A D | msm_submitqueue.c | 225 max_priority = (priv->gpu->nr_rings * NR_SCHED_PRIORITIES) - 1; in msm_submitqueue_init()
|
/openbmc/linux/drivers/i3c/master/mipi-i3c-hci/ |
H A 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()
|
/openbmc/linux/drivers/block/xen-blkback/ |
H A 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++) { \ 1107 blkif->nr_rings = requested_num_queues; in connect_ring() 1112 blkif->nr_rings, blkif->blk_protocol, protocol, in connect_ring() 1132 if (blkif->nr_rings == 1) in connect_ring() 1142 for (i = 0; i < blkif->nr_rings; i++) { in connect_ring()
|
H A D | common.h | 322 unsigned int nr_rings; member
|
/openbmc/linux/drivers/block/ |
H A 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() 1119 info->tag_set.nr_hw_queues = info->nr_rings; in xlvbd_alloc_gendisk() 1318 info->nr_rings = 0; in blkif_free() 1820 if (info->nr_rings == 1) { in talk_to_blkback() 1829 info->nr_rings); in talk_to_blkback() 1901 BUG_ON(info->nr_rings); in negotiate_mq() 1908 if (!info->nr_rings) in negotiate_mq() 1909 info->nr_rings = 1; in negotiate_mq() [all …]
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 5547 unsigned int nr_rings) in bnxt_hwrm_vnic_alloc() argument 5549 unsigned int i, j, grp_idx, end_idx = start_rx_ring_idx + nr_rings; in bnxt_hwrm_vnic_alloc() 5567 j, nr_rings); in bnxt_hwrm_vnic_alloc()
|