Searched refs:nr_rings (Results 1 – 13 of 13) sorted by relevance
/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 | 265 *value = gpu->nr_rings * NR_SCHED_PRIORITIES; in adreno_get_param() 417 for (i = 0; i < gpu->nr_rings; i++) { in adreno_hw_init() 511 for (i = 0; i < gpu->nr_rings; i++) { in adreno_gpu_state_get() 707 for (i = 0; i < gpu->nr_rings; i++) { in adreno_show() 761 for (i = 0; i < gpu->nr_rings; i++) { in adreno_dump_info() 924 const struct adreno_gpu_funcs *funcs, int nr_rings) in adreno_gpu_init() argument 939 adreno_gpu_config.nr_rings = nr_rings; in adreno_gpu_init()
|
D | a5xx_gpu.c | 515 if (gpu->nr_rings == 1) in a5xx_preempt_start() 923 sizeof(u32) * gpu->nr_rings, in a5xx_hw_init() 934 } else if (gpu->nr_rings > 1) { in a5xx_hw_init() 937 gpu->nr_rings = 1; in a5xx_hw_init() 1409 for (i = 0; i < gpu->nr_rings; i++) in a5xx_pm_suspend() 1753 unsigned int nr_rings; in a5xx_gpu_init() local 1774 nr_rings = 4; in a5xx_gpu_init() 1777 nr_rings = 1; in a5xx_gpu_init() 1779 ret = adreno_gpu_init(dev, pdev, adreno_gpu, &funcs, nr_rings); in a5xx_gpu_init()
|
D | adreno_gpu.h | 299 int nr_rings);
|
D | a6xx_gpu.c | 1071 sizeof(u32) * gpu->nr_rings, in hw_init() 1561 for (i = 0; i < gpu->nr_rings; i++) in a6xx_pm_suspend()
|
/drivers/gpu/drm/msm/ |
D | msm_gpu.c | 407 for (i = 0; i < gpu->nr_rings; i++) { in recover_worker() 434 for (i = 0; i < gpu->nr_rings; i++) { in recover_worker() 683 for (i = 0; i < gpu->nr_rings; i++) { in retire_submits() 721 for (i = 0; i < gpu->nr_rings; i++) in msm_gpu_retire() 829 int i, ret, nr_rings = config->nr_rings; in msm_gpu_init() local 919 sizeof(struct msm_rbmemptrs) * nr_rings, in msm_gpu_init() 931 if (nr_rings > ARRAY_SIZE(gpu->rb)) { in msm_gpu_init() 934 nr_rings = ARRAY_SIZE(gpu->rb); in msm_gpu_init() 938 for (i = 0; i < nr_rings; i++) { in msm_gpu_init() 952 gpu->nr_rings = nr_rings; in msm_gpu_init()
|
D | msm_gpu.h | 27 unsigned int nr_rings; member 138 int nr_rings; member 244 for (i = 0; i < gpu->nr_rings; i++) { in msm_gpu_active() 344 if (rn >= gpu->nr_rings) in msm_gpu_convert_priority()
|
D | msm_submitqueue.c | 183 max_priority = (priv->gpu->nr_rings * NR_SCHED_PRIORITIES) - 1; in msm_submitqueue_init()
|
/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(sizeof(*rings) + nr_rings * sizeof(*rh), GFP_KERNEL); in hci_dma_init() 230 rings->total = nr_rings; in hci_dma_init()
|
/drivers/block/xen-blkback/ |
D | xenbus.c | 108 for (i = 0; i < blkif->nr_rings; i++) { in xen_update_blkif_status() 133 blkif->rings = kcalloc(blkif->nr_rings, sizeof(struct xen_blkif_ring), in xen_blkif_alloc_rings() 138 for (r = 0; r < blkif->nr_rings; r++) { in xen_blkif_alloc_rings() 272 for (r = 0; r < blkif->nr_rings; r++) { in xen_blkif_disconnect() 339 blkif->nr_rings = 0; in xen_blkif_disconnect() 391 for (i = 0; i < blkif->nr_rings; i++) { \ 1112 blkif->nr_rings = requested_num_queues; in connect_ring() 1117 blkif->nr_rings, blkif->blk_protocol, protocol, in connect_ring() 1137 if (blkif->nr_rings == 1) in connect_ring() 1147 for (i = 0; i < blkif->nr_rings; i++) { in connect_ring()
|
D | common.h | 322 unsigned int nr_rings; member
|
/drivers/block/ |
D | xen-blkfront.c | 227 unsigned int nr_rings; member 277 (idx) < (info)->nr_rings; \ 283 BUG_ON(i >= info->nr_rings); in get_rinfo() 1120 info->tag_set.nr_hw_queues = info->nr_rings; in xlvbd_alloc_gendisk() 1330 info->nr_rings = 0; in blkif_free() 1846 if (info->nr_rings == 1) { in talk_to_blkback() 1855 info->nr_rings); in talk_to_blkback() 1927 BUG_ON(info->nr_rings); in negotiate_mq() 1932 info->nr_rings = min(backend_max_queues, xen_blkif_max_queues); in negotiate_mq() 1934 if (!info->nr_rings) in negotiate_mq() [all …]
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 5390 unsigned int nr_rings) in bnxt_hwrm_vnic_alloc() argument 5392 unsigned int i, j, grp_idx, end_idx = start_rx_ring_idx + nr_rings; in bnxt_hwrm_vnic_alloc() 5410 j, nr_rings); in bnxt_hwrm_vnic_alloc()
|