• Home
  • Raw
  • Download

Lines Matching refs:boot_cpu_data

35 	boot_cpu_data.icache.way_incr		= (1 << 13);  in cpu_probe()
36 boot_cpu_data.icache.entry_shift = 5; in cpu_probe()
37 boot_cpu_data.icache.sets = 256; in cpu_probe()
38 boot_cpu_data.icache.ways = 1; in cpu_probe()
39 boot_cpu_data.icache.linesz = L1_CACHE_BYTES; in cpu_probe()
44 boot_cpu_data.dcache.way_incr = (1 << 14); in cpu_probe()
45 boot_cpu_data.dcache.entry_shift = 5; in cpu_probe()
46 boot_cpu_data.dcache.sets = 512; in cpu_probe()
47 boot_cpu_data.dcache.ways = 1; in cpu_probe()
48 boot_cpu_data.dcache.linesz = L1_CACHE_BYTES; in cpu_probe()
51 boot_cpu_data.cut_major = boot_cpu_data.cut_minor = -1; in cpu_probe()
57 boot_cpu_data.family = CPU_FAMILY_SH4A; in cpu_probe()
60 boot_cpu_data.flags |= CPU_HAS_DSP; in cpu_probe()
61 boot_cpu_data.family = CPU_FAMILY_SH4AL_DSP; in cpu_probe()
64 boot_cpu_data.flags |= CPU_HAS_LLSC | CPU_HAS_PERF_COUNTER; in cpu_probe()
65 boot_cpu_data.cut_major = pvr & 0x7f; in cpu_probe()
67 boot_cpu_data.icache.ways = 4; in cpu_probe()
68 boot_cpu_data.dcache.ways = 4; in cpu_probe()
71 boot_cpu_data.flags |= CPU_HAS_PTEA | CPU_HAS_FPU; in cpu_probe()
72 boot_cpu_data.family = CPU_FAMILY_SH4; in cpu_probe()
77 boot_cpu_data.flags |= CPU_HAS_FPU; in cpu_probe()
88 boot_cpu_data.type = CPU_SH7750; in cpu_probe()
89 boot_cpu_data.flags |= CPU_HAS_P2_FLUSH_BUG | in cpu_probe()
93 boot_cpu_data.type = CPU_SH7750S; in cpu_probe()
94 boot_cpu_data.flags |= CPU_HAS_P2_FLUSH_BUG | in cpu_probe()
98 boot_cpu_data.type = CPU_SH7751; in cpu_probe()
102 boot_cpu_data.type = CPU_SH7770; in cpu_probe()
107 boot_cpu_data.type = CPU_SH7781; in cpu_probe()
109 boot_cpu_data.type = CPU_SH7763; in cpu_probe()
111 boot_cpu_data.type = CPU_SH7780; in cpu_probe()
117 boot_cpu_data.type = CPU_SH7343; in cpu_probe()
121 boot_cpu_data.type = CPU_SH7785; in cpu_probe()
125 boot_cpu_data.type = CPU_SH7786; in cpu_probe()
126 boot_cpu_data.flags |= CPU_HAS_PTEAEX | CPU_HAS_L2_CACHE; in cpu_probe()
132 boot_cpu_data.type = CPU_SH7723; in cpu_probe()
133 boot_cpu_data.flags |= CPU_HAS_L2_CACHE; in cpu_probe()
136 boot_cpu_data.type = CPU_SH7366; in cpu_probe()
140 boot_cpu_data.type = CPU_SH7722; in cpu_probe()
147 boot_cpu_data.type = CPU_SH7724; in cpu_probe()
148 boot_cpu_data.flags |= CPU_HAS_L2_CACHE; in cpu_probe()
152 boot_cpu_data.type = CPU_SH7757; in cpu_probe()
156 boot_cpu_data.type = CPU_SH7372; in cpu_probe()
159 boot_cpu_data.type = CPU_SH7734; /* SH7733/SH7734 */ in cpu_probe()
166 boot_cpu_data.type = CPU_SHX3; in cpu_probe()
169 boot_cpu_data.type = CPU_SH4_501; in cpu_probe()
170 boot_cpu_data.flags &= ~CPU_HAS_FPU; in cpu_probe()
171 boot_cpu_data.icache.ways = 2; in cpu_probe()
172 boot_cpu_data.dcache.ways = 2; in cpu_probe()
175 boot_cpu_data.type = CPU_SH4_202; in cpu_probe()
176 boot_cpu_data.icache.ways = 2; in cpu_probe()
177 boot_cpu_data.dcache.ways = 2; in cpu_probe()
182 boot_cpu_data.type = CPU_SH7750R; in cpu_probe()
185 boot_cpu_data.type = CPU_SH7751R; in cpu_probe()
188 boot_cpu_data.type = CPU_SH7760; in cpu_probe()
192 boot_cpu_data.icache.ways = 2; in cpu_probe()
193 boot_cpu_data.dcache.ways = 2; in cpu_probe()
202 if (boot_cpu_data.icache.ways > 1) { in cpu_probe()
204 boot_cpu_data.icache.way_incr = (size >> 1); in cpu_probe()
205 boot_cpu_data.icache.sets = (size >> 6); in cpu_probe()
210 if (boot_cpu_data.dcache.ways > 1) { in cpu_probe()
212 boot_cpu_data.dcache.way_incr = (size >> 1); in cpu_probe()
213 boot_cpu_data.dcache.sets = (size >> 6); in cpu_probe()
219 if (boot_cpu_data.flags & CPU_HAS_L2_CACHE) { in cpu_probe()
226 boot_cpu_data.flags &= ~CPU_HAS_L2_CACHE; in cpu_probe()
242 boot_cpu_data.scache.way_incr = (1 << 16); in cpu_probe()
243 boot_cpu_data.scache.entry_shift = 5; in cpu_probe()
244 boot_cpu_data.scache.ways = 4; in cpu_probe()
245 boot_cpu_data.scache.linesz = L1_CACHE_BYTES; in cpu_probe()
247 boot_cpu_data.scache.entry_mask = in cpu_probe()
248 (boot_cpu_data.scache.way_incr - in cpu_probe()
249 boot_cpu_data.scache.linesz); in cpu_probe()
251 boot_cpu_data.scache.sets = size / in cpu_probe()
252 (boot_cpu_data.scache.linesz * in cpu_probe()
253 boot_cpu_data.scache.ways); in cpu_probe()
255 boot_cpu_data.scache.way_size = in cpu_probe()
256 (boot_cpu_data.scache.sets * in cpu_probe()
257 boot_cpu_data.scache.linesz); in cpu_probe()