Home
last modified time | relevance | path

Searched refs:sp_banks (Results 1 – 3 of 3) sorted by relevance

/linux/arch/sparc/mm/
H A Dinit_32.c48 struct sparc_phys_banks sp_banks[SPARC_PHYS_BANKS+1]; variable
63 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in calc_highpages()
64 unsigned long start_pfn = sp_banks[i].base_addr >> PAGE_SHIFT; in calc_highpages()
65 unsigned long end_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in calc_highpages()
85 last_pfn = (sp_banks[0].base_addr + sp_banks[0].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()
86 for (i = 1; sp_banks[i].num_bytes != 0; i++) { in calc_max_low_pfn()
87 curr_pfn = sp_banks[i].base_addr >> PAGE_SHIFT; in calc_max_low_pfn()
95 last_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()
142 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in bootmem_init()
143 end_of_phys_memory = sp_banks[i].base_addr + in bootmem_init()
[all …]
/linux/arch/sparc/prom/
H A Dmemory.c24 sp_banks[index].base_addr = (unsigned long) p->start_adr; in prom_meminit_v0()
25 sp_banks[index].num_bytes = p->num_bytes; in prom_meminit_v0()
43 sp_banks[i].base_addr = reg[i].phys_addr; in prom_meminit_v2()
44 sp_banks[i].num_bytes = reg[i].reg_size; in prom_meminit_v2()
79 sort(sp_banks, num_ents, sizeof(struct sparc_phys_banks), in prom_meminit()
83 sp_banks[num_ents].base_addr = 0xdeadbeef; in prom_meminit()
84 sp_banks[num_ents].num_bytes = 0; in prom_meminit()
87 sp_banks[i].num_bytes &= PAGE_MASK; in prom_meminit()
/linux/arch/sparc/kernel/
H A Dsetup_32.c325 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in setup_arch()
328 if (sp_banks[i].base_addr < phys_base) in setup_arch()
329 phys_base = sp_banks[i].base_addr; in setup_arch()
330 top = sp_banks[i].base_addr + in setup_arch()
331 sp_banks[i].num_bytes; in setup_arch()