shared_resources  604 drivers/gpu/drm/amd/amdkfd/kfd_device.c 	kfd->shared_resources = *gpu_resources;
shared_resources   75 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c 	int pipe_offset = mec * dqm->dev->shared_resources.num_pipe_per_mec
shared_resources   76 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c 		+ pipe * dqm->dev->shared_resources.num_queue_per_pipe;
shared_resources   79 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c 	for (i = 0; i <  dqm->dev->shared_resources.num_queue_per_pipe; ++i)
shared_resources   81 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c 			      dqm->dev->shared_resources.queue_bitmap))
shared_resources   88 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c 	return bitmap_weight(dqm->dev->shared_resources.queue_bitmap,
shared_resources   94 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c 	return dqm->dev->shared_resources.num_queue_per_pipe;
shared_resources   99 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c 	return dqm->dev->shared_resources.num_pipe_per_mec;
shared_resources  152 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c 				dev->shared_resources.sdma_doorbell_idx;
shared_resources  878 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c 				     dqm->dev->shared_resources.queue_bitmap))
shared_resources  976 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c 	res.vmid_mask = dqm->dev->shared_resources.compute_vmid_bitmap;
shared_resources  980 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c 		mec = (i / dqm->dev->shared_resources.num_queue_per_pipe)
shared_resources  981 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c 			/ dqm->dev->shared_resources.num_pipe_per_mec;
shared_resources  983 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c 		if (!test_bit(i, dqm->dev->shared_resources.queue_bitmap))
shared_resources 1907 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c 				      dqm->dev->shared_resources.queue_bitmap))
shared_resources   73 drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c 			roundup(kfd->shared_resources.doorbell_start_offset,
shared_resources   77 drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c 			rounddown(kfd->shared_resources.doorbell_aperture_size,
shared_resources   91 drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c 	kfd->doorbell_base = kfd->shared_resources.doorbell_physical_address +
shared_resources  116 drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c 			kfd->shared_resources.doorbell_aperture_size);
shared_resources  246 drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c 	uint64_t num_of_elems = (kfd->shared_resources.doorbell_aperture_size -
shared_resources  247 drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c 				kfd->shared_resources.doorbell_start_offset) /
shared_resources  331 drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c 			pdd->dev->shared_resources.gpuvm_size - 1;
shared_resources  338 drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c 				pdd->dev->shared_resources.gpuvm_size);
shared_resources  358 drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c 		pdd->dev->shared_resources.gpuvm_size - 1;
shared_resources  248 drivers/gpu/drm/amd/amdkfd/kfd_priv.h 	struct kgd2kfd_shared_resources shared_resources;
shared_resources  702 drivers/gpu/drm/amd/amdkfd/kfd_process.c 		if (i >= dev->shared_resources.non_cp_doorbells_start
shared_resources  703 drivers/gpu/drm/amd/amdkfd/kfd_process.c 			&& i <= dev->shared_resources.non_cp_doorbells_end) {
shared_resources 1284 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 		gpu->shared_resources.drm_render_minor;