Lines Matching refs:bootpg

182 	u32 bootpg;  in determine_mp_bootpg()  local
191 bootpg = ((gd->ram_size > CONFIG_MAX_MEM_MAPPED) ? in determine_mp_bootpg()
212 e = find_law(bootpg); in determine_mp_bootpg()
219 bootpg &= 0xffffe000; /* align to 8KB */ in determine_mp_bootpg()
220 check = bootpg >> 13; in determine_mp_bootpg()
223 bootpg = check << 13; in determine_mp_bootpg()
224 debug("Boot page (8K) at 0x%08x\n", bootpg); in determine_mp_bootpg()
227 bootpg &= 0xfffff000; /* align to 4KB */ in determine_mp_bootpg()
228 check = bootpg >> 12; in determine_mp_bootpg()
231 bootpg = check << 12; in determine_mp_bootpg()
232 debug("Boot page (4K) at 0x%08x\n", bootpg); in determine_mp_bootpg()
241 return bootpg; in determine_mp_bootpg()
250 static void plat_mp_up(unsigned long bootpg, unsigned int pagesize) in plat_mp_up() argument
269 out_be32(&ccm->bstrl, bootpg); in plat_mp_up()
271 e = find_law(bootpg); in plat_mp_up()
329 static void plat_mp_up(unsigned long bootpg, unsigned int pagesize) in plat_mp_up() argument
341 out_be32(&ecm->bptr, 0x80000000 | (bootpg >> 12)); in plat_mp_up()
409 u32 bootpg = determine_mp_bootpg(NULL); in cpu_mp_lmb_reserve() local
411 lmb_reserve(lmb, bootpg, 4096); in cpu_mp_lmb_reserve()
421 u32 bootpg, bootpg_map, pagesize; in setup_mp() local
423 bootpg = determine_mp_bootpg(&pagesize); in setup_mp()
432 bootpg_map = bootpg; in setup_mp()
435 bootpg += 4096; /* use 2nd half */ in setup_mp()
451 flush_cache(bootpg, 4096); in setup_mp()
461 set_tlb(1, CONFIG_BPTR_VIRT_ADDR, bootpg, /* tlb, epn, rpn */ in setup_mp()