Home
last modified time | relevance | path

Searched refs:max_pfn (Results 1 – 25 of 26) sorted by relevance

12

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_csa.c29 uint64_t addr = adev->vm_manager.max_pfn << AMDGPU_GPU_PAGE_SHIFT; in amdgpu_csa_vaddr()
Dgfxhub_v1_0.c301 lower_32_bits(adev->vm_manager.max_pfn - 1)); in gfxhub_v1_0_setup_vmid_config()
304 upper_32_bits(adev->vm_manager.max_pfn - 1)); in gfxhub_v1_0_setup_vmid_config()
Dgfxhub_v2_0.c323 lower_32_bits(adev->vm_manager.max_pfn - 1)); in gfxhub_v2_0_setup_vmid_config()
326 upper_32_bits(adev->vm_manager.max_pfn - 1)); in gfxhub_v2_0_setup_vmid_config()
Dgfxhub_v2_1.c332 lower_32_bits(adev->vm_manager.max_pfn - 1)); in gfxhub_v2_1_setup_vmid_config()
335 upper_32_bits(adev->vm_manager.max_pfn - 1)); in gfxhub_v2_1_setup_vmid_config()
Dmmhub_v2_0.c408 lower_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v2_0_setup_vmid_config()
411 upper_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v2_0_setup_vmid_config()
Dmmhub_v2_3.c321 lower_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v2_3_setup_vmid_config()
324 upper_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v2_3_setup_vmid_config()
Dmmhub_v1_0.c279 lower_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v1_0_setup_vmid_config()
282 upper_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v1_0_setup_vmid_config()
Dgmc_v6_0.c446 uint32_t high = adev->vm_manager.max_pfn - in gmc_v6_0_set_prt()
529 WREG32(mmVM_CONTEXT1_PAGE_TABLE_END_ADDR, adev->vm_manager.max_pfn - 1); in gmc_v6_0_gart_enable()
Damdgpu_vm.h336 uint64_t max_pfn; member
Damdgpu_vm.c199 return round_up(adev->vm_manager.max_pfn, 1ULL << shift) in amdgpu_vm_num_entries()
2345 (eaddr >= adev->vm_manager.max_pfn << AMDGPU_GPU_PAGE_SHIFT)) in amdgpu_vm_bo_map()
2411 (eaddr >= adev->vm_manager.max_pfn << AMDGPU_GPU_PAGE_SHIFT)) in amdgpu_vm_bo_replace_map()
2861 adev->vm_manager.max_pfn = (uint64_t)vm_size << 18; in amdgpu_vm_adjust_size()
2863 tmp = roundup_pow_of_two(adev->vm_manager.max_pfn); in amdgpu_vm_adjust_size()
Dgmc_v7_0.c580 uint32_t high = adev->vm_manager.max_pfn - in gmc_v7_0_set_prt()
681 WREG32(mmVM_CONTEXT1_PAGE_TABLE_END_ADDR, adev->vm_manager.max_pfn - 1); in gmc_v7_0_gart_enable()
Dmmhub_v1_7.c313 lower_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v1_7_setup_vmid_config()
316 upper_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v1_7_setup_vmid_config()
Dgmc_v8_0.c803 uint32_t high = adev->vm_manager.max_pfn - in gmc_v8_0_set_prt()
920 WREG32(mmVM_CONTEXT1_PAGE_TABLE_END_ADDR, adev->vm_manager.max_pfn - 1); in gmc_v8_0_gart_enable()
Damdgpu_amdkfd.c125 .gpuvm_size = min(adev->vm_manager.max_pfn in amdgpu_amdkfd_device_init()
Dmmhub_v9_4.c346 lower_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v9_4_setup_vmid_config()
351 upper_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v9_4_setup_vmid_config()
Damdgpu_gem.c700 vm_size = adev->vm_manager.max_pfn * AMDGPU_GPU_PAGE_SIZE; in amdgpu_gem_va_ioctl()
Damdgpu_kms.c836 vm_size = adev->vm_manager.max_pfn * AMDGPU_GPU_PAGE_SIZE; in amdgpu_info_ioctl()
/drivers/android/
Dandroid_debug_symbols.c59 ADS_ENTRY(ADS_MAX_PFN, &max_pfn),
/drivers/xen/
Dballoon.c701 extra_pfn_end = min(max_pfn, start_pfn + pages); in balloon_add_region()
725 ? min(xen_start_info->nr_pages - xen_released_pages, max_pfn) in balloon_init()
/drivers/gpu/drm/radeon/
Dradeon_vm.c62 return rdev->vm_manager.max_pfn >> radeon_vm_block_size; in radeon_vm_num_pdes()
467 if (last_pfn >= rdev->vm_manager.max_pfn) { in radeon_vm_bo_set_addr()
469 last_pfn, rdev->vm_manager.max_pfn); in radeon_vm_bo_set_addr()
Dradeon_device.c1339 rdev->vm_manager.max_pfn = radeon_vm_size << 18; in radeon_device_init()
Dni.c1313 rdev->vm_manager.max_pfn - 1); in cayman_pcie_gart_enable()
Dradeon.h947 uint32_t max_pfn; member
Dsi.c4331 WREG32(VM_CONTEXT1_PAGE_TABLE_END_ADDR, rdev->vm_manager.max_pfn - 1); in si_pcie_gart_enable()
/drivers/base/
Darch_numa.c282 phys = memblock_phys_alloc_range(size, PAGE_SIZE, 0, PFN_PHYS(max_pfn)); in numa_alloc_distance()

12