Lines Matching refs:mem_ranges
1855 struct amdgpu_mem_partition_info *mem_ranges) in gmc_v9_0_init_acpi_mem_ranges() argument
1872 mem_ranges[0].size = numa_info.size; in gmc_v9_0_init_acpi_mem_ranges()
1873 mem_ranges[0].numa.node = numa_info.nid; in gmc_v9_0_init_acpi_mem_ranges()
1883 mem_ranges[num_ranges].numa.node = numa_info.nid; in gmc_v9_0_init_acpi_mem_ranges()
1884 mem_ranges[num_ranges].size = numa_info.size; in gmc_v9_0_init_acpi_mem_ranges()
1893 struct amdgpu_mem_partition_info *mem_ranges) in gmc_v9_0_init_sw_mem_ranges() argument
1921 r = amdgpu_gmc_get_nps_memranges(adev, mem_ranges, in gmc_v9_0_init_sw_mem_ranges()
1926 if (mem_ranges[i].range.lpfn > in gmc_v9_0_init_sw_mem_ranges()
1927 mem_ranges[i - 1].range.lpfn) in gmc_v9_0_init_sw_mem_ranges()
1937 mem_ranges[i].range.fpfn = start_addr; in gmc_v9_0_init_sw_mem_ranges()
1938 mem_ranges[i].size = in gmc_v9_0_init_sw_mem_ranges()
1940 mem_ranges[i].range.lpfn = start_addr + size - 1; in gmc_v9_0_init_sw_mem_ranges()
1948 mem_ranges[l].range.lpfn = in gmc_v9_0_init_sw_mem_ranges()
1950 mem_ranges[l].size = in gmc_v9_0_init_sw_mem_ranges()
1952 ((u64)mem_ranges[l].range.fpfn << AMDGPU_GPU_PAGE_SHIFT); in gmc_v9_0_init_sw_mem_ranges()