Home
last modified time | relevance | path

Searched refs:bank_start (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/arch/arm/mach-tegra/tegra186/
Dnvtboot_mem.c84 u64 bank_start, bank_end, bank_size, usable_bank_size; in dram_init() local
87 bank_start = fdt_read_number(prop, na); in dram_init()
92 bank_end = bank_start + bank_size; in dram_init()
94 bank_start, bank_end, bank_size); in dram_init()
103 bank_start = ROUND(bank_start, SZ_2M); in dram_init()
105 bank_size = bank_end - bank_start; in dram_init()
107 bank_start, bank_end, bank_size); in dram_init()
108 if (bank_end <= bank_start) in dram_init()
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()
[all …]
Dnvtboot_board.c44 u64 bank_start = tegra_mem_map[bank].virt; in mark_ram_allocated() local
46 u64 bank_end = bank_start + bank_size; in mark_ram_allocated()
47 bool keep_front = allocated_start != bank_start; in mark_ram_allocated()
63 tegra_mem_map[bank].size = allocated_start - bank_start; in mark_ram_allocated()
69 tegra_mem_map[bank].size = allocated_start - bank_start; in mark_ram_allocated()
90 u64 bank_start = tegra_mem_map[bank].virt; in reserve_ram() local
92 u64 bank_end = bank_start + bank_size; in reserve_ram()
94 if (end <= bank_start || start > bank_end) in reserve_ram()
106 u64 bank_start = tegra_mem_map[bank].virt; in alloc_ram() local
108 u64 bank_end = bank_start + bank_size; in alloc_ram()
[all …]