Searched refs:sp_banks (Results 1 – 6 of 6) sorted by relevance
54 struct sparc_phys_banks sp_banks[SPARC_PHYS_BANKS+1]; variable122 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in calc_highpages()123 unsigned long start_pfn = sp_banks[i].base_addr >> PAGE_SHIFT; in calc_highpages()124 unsigned long end_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in calc_highpages()144 last_pfn = (sp_banks[0].base_addr + sp_banks[0].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()145 for (i = 1; sp_banks[i].num_bytes != 0; i++) { in calc_max_low_pfn()146 curr_pfn = sp_banks[i].base_addr >> PAGE_SHIFT; in calc_max_low_pfn()154 last_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()168 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in bootmem_init()169 end_of_phys_memory = sp_banks[i].base_addr + in bootmem_init()[all …]
59 for (i = 0; sp_banks[i].num_bytes; i++) in probe_memory()60 total += sp_banks[i].num_bytes; in probe_memory()
1214 unsigned long pstart = (sp_banks[sp_entry].base_addr & SRMMU_PGDIR_MASK); in map_spbank()1216 unsigned long vend = SRMMU_PGDIR_ALIGN(vbase + sp_banks[sp_entry].num_bytes); in map_spbank()1249 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in map_kernel()1250 map_spbank((unsigned long)__va(sp_banks[i].base_addr), i); in map_kernel()
23 sp_banks[index].base_addr = (unsigned long) p->start_adr; in prom_meminit_v0()24 sp_banks[index].num_bytes = p->num_bytes; in prom_meminit_v0()42 sp_banks[i].base_addr = reg[i].phys_addr; in prom_meminit_v2()43 sp_banks[i].num_bytes = reg[i].reg_size; in prom_meminit_v2()78 sort(sp_banks, num_ents, sizeof(struct sparc_phys_banks), in prom_meminit()82 sp_banks[num_ents].base_addr = 0xdeadbeef; in prom_meminit()83 sp_banks[num_ents].num_bytes = 0; in prom_meminit()86 sp_banks[i].num_bytes &= PAGE_MASK; in prom_meminit()
277 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in setup_arch()280 if (sp_banks[i].base_addr < phys_base) in setup_arch()281 phys_base = sp_banks[i].base_addr; in setup_arch()282 top = sp_banks[i].base_addr + in setup_arch()283 sp_banks[i].num_bytes; in setup_arch()
50 extern struct sparc_phys_banks sp_banks[SPARC_PHYS_BANKS+1];