Searched refs:sp_banks (Results 1 – 5 of 5) sorted by relevance
50 struct sparc_phys_banks sp_banks[SPARC_PHYS_BANKS+1]; variable65 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in calc_highpages()66 unsigned long start_pfn = sp_banks[i].base_addr >> PAGE_SHIFT; in calc_highpages()67 unsigned long end_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in calc_highpages()87 last_pfn = (sp_banks[0].base_addr + sp_banks[0].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()88 for (i = 1; sp_banks[i].num_bytes != 0; i++) { in calc_max_low_pfn()89 curr_pfn = sp_banks[i].base_addr >> PAGE_SHIFT; in calc_max_low_pfn()97 last_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()144 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in bootmem_init()145 end_of_phys_memory = sp_banks[i].base_addr + in bootmem_init()[all …]
263 for (i = 0; sp_banks[i].num_bytes; i++) in probe_memory()264 total += sp_banks[i].num_bytes; in probe_memory()868 unsigned long pstart = (sp_banks[sp_entry].base_addr & SRMMU_PGDIR_MASK); in map_spbank()870 unsigned long vend = SRMMU_PGDIR_ALIGN(vbase + sp_banks[sp_entry].num_bytes); in map_spbank()896 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in map_kernel()897 map_spbank((unsigned long)__va(sp_banks[i].base_addr), i); in map_kernel()
24 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()
344 for (i = 0; sp_banks[i].num_bytes != 0; i++) { in setup_arch()347 if (sp_banks[i].base_addr < phys_base) in setup_arch()348 phys_base = sp_banks[i].base_addr; in setup_arch()349 top = sp_banks[i].base_addr + in setup_arch()350 sp_banks[i].num_bytes; in setup_arch()
45 extern struct sparc_phys_banks sp_banks[SPARC_PHYS_BANKS+1];