• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/powerpc/kernel/

Lines Matching refs:base

139 	u64	base;
503 unsigned long result = 0, base = 10, value;
506 base = 8;
510 base = 16;
515 (value = isdigit(*cp) ? *cp - '0' : toupper(*cp) - 'A' + 10) < base) {
516 result = result * base + value;
847 unsigned long base = RELOC(alloc_bottom);
851 base = _ALIGN_UP(base, align);
857 base = _ALIGN_UP(RELOC(alloc_bottom), align);
859 base = RELOC(alloc_bottom);
861 for(; (base + size) <= RELOC(alloc_top);
862 base = _ALIGN_UP(base + 0x100000, align)) {
863 prom_debug(" trying: 0x%x\n\r", base);
864 addr = (unsigned long)prom_claim(base, size, 0);
893 unsigned long base, addr = 0;
920 base = _ALIGN_DOWN(RELOC(alloc_top) - size, align);
921 for (; base > RELOC(alloc_bottom);
922 base = _ALIGN_DOWN(base - 0x100000, align)) {
923 prom_debug(" trying: 0x%x\n\r", base);
924 addr = (unsigned long)prom_claim(base, size, 0);
968 static void __init reserve_mem(u64 base, u64 size)
970 u64 top = base + size;
980 base = _ALIGN_DOWN(base, PAGE_SIZE);
982 size = top - base;
986 RELOC(mem_reserve_map)[cnt].base = base;
1048 unsigned long base, size;
1050 base = prom_next_cell(rac, &p);
1055 prom_debug(" %x %x\n", base, size);
1056 if (base == 0 && (RELOC(of_platform) & PLATFORM_LPAR))
1058 if ((base + size) > RELOC(ram_top))
1059 RELOC(ram_top) = base + size;
1095 u32 base, entry = 0;
1109 base = alloc_down(size, PAGE_SIZE, 0);
1110 if (base == 0) {
1121 prom_printf("instantiating rtas at 0x%x ...", base);
1125 rtas_inst, base) != 0
1132 reserve_mem(base, size);
1134 prom_setprop(rtas_node, "/rtas", "linux,rtas-base",
1135 &base, sizeof(base));
1139 prom_debug("rtas base = 0x%x\n", base);
1156 u64 base, align;
1222 base = alloc_down(minsize, align, 1);
1223 if (base == 0)
1225 if (base < local_alloc_bottom)
1226 local_alloc_bottom = base;
1237 prom_setprop(node, path, "linux,tce-base", &base, sizeof(base));
1242 prom_debug("\tbase = 0x%x\n", base);
1248 tce_entryp = (unsigned long *)base;
1264 (u32) base, (u32) (base >> 32));
1959 RELOC(mem_reserve_map)[i].base,