Searched refs:tegra_mem_map (Results 1 – 3 of 3) sorted by relevance
26 extern struct mm_region tegra_mem_map[];44 u64 bank_start = tegra_mem_map[bank].virt; in mark_ram_allocated()45 u64 bank_size = tegra_mem_map[bank].size; in mark_ram_allocated()61 memmove(&tegra_mem_map[bank + 1], &tegra_mem_map[bank], in mark_ram_allocated()63 tegra_mem_map[bank].size = allocated_start - bank_start; in mark_ram_allocated()65 tegra_mem_map[bank].virt = allocated_end; in mark_ram_allocated()66 tegra_mem_map[bank].phys = allocated_end; in mark_ram_allocated()67 tegra_mem_map[bank].size = bank_end - allocated_end; in mark_ram_allocated()69 tegra_mem_map[bank].size = allocated_start - bank_start; in mark_ram_allocated()71 tegra_mem_map[bank].virt = allocated_end; in mark_ram_allocated()[all …]
31 extern struct mm_region tegra_mem_map[];114 tegra_mem_map[ram_bank_count].virt = bank_start; in dram_init()115 tegra_mem_map[ram_bank_count].phys = bank_start; in dram_init()116 tegra_mem_map[ram_bank_count].size = bank_size; in dram_init()117 tegra_mem_map[ram_bank_count].attrs = in dram_init()135 tegra_mem_map[ram_bank_count + 1].virt = 0; in dram_init()136 tegra_mem_map[ram_bank_count + 1].phys = 0; in dram_init()137 tegra_mem_map[ram_bank_count + 1].size = 0; in dram_init()138 tegra_mem_map[ram_bank_count + 1].attrs = 0; in dram_init()159 gd->bd->bi_dram[i].start = tegra_mem_map[1 + i].virt; in dram_init_banksize()[all …]
15 struct mm_region tegra_mem_map[1 + CONFIG_NR_DRAM_BANKS + 1] = { variable35 struct mm_region *mem_map = tegra_mem_map;