Lines Matching +full:i +full:- +full:tlb +full:- +full:size
2 * Copyright 2003-2011 NetLogic Microsystems, Inc. (NetLogic). All rights
47 #include <asm/netlogic/xlp-hal/iomap.h>
48 #include <asm/netlogic/xlp-hal/xlp.h>
49 #include <asm/netlogic/xlp-hal/sys.h>
58 uint64_t sysbase = nlm_get_node(0)->sysbase; in nlm_linux_exit()
74 memblock_remove(mem->base + mem->size - pref_backup, in nlm_fixup_mem()
82 int i, n; in xlp_init_mem_from_bars() local
84 n = nlm_get_dram_map(-1, map, ARRAY_SIZE(map)); /* -1 : all nodes */ in xlp_init_mem_from_bars()
85 for (i = 0; i < n; i += 2) { in xlp_init_mem_from_bars()
86 /* exclude 0x1000_0000-0x2000_0000, u-boot device */ in xlp_init_mem_from_bars()
87 if (map[i] <= 0x10000000 && map[i+1] > 0x10000000) in xlp_init_mem_from_bars()
88 map[i+1] = 0x10000000; in xlp_init_mem_from_bars()
89 if (map[i] > 0x10000000 && map[i] < 0x20000000) in xlp_init_mem_from_bars()
90 map[i] = 0x20000000; in xlp_init_mem_from_bars()
92 memblock_add(map[i], map[i+1] - map[i]); in xlp_init_mem_from_bars()
101 /* update TLB size after waking up threads */ in plat_mem_setup()
145 write_c0_config4(conf4 | ((PAGE_SHIFT - 10) / 2 << 8)); in xlp_mmu_init()
147 /* enable extended TLB and Large Fixed TLB */ in xlp_mmu_init()
150 /* set page mask of extended Fixed TLB in config7 */ in xlp_mmu_init()
174 (nlm_reset_entry_end - nlm_reset_entry)); in prom_init()