Lines Matching refs:boot_cpu_data
62 if (boot_cpu_data.dcache.n_aliases && page_mapped(page) && in copy_to_user_page()
69 if (boot_cpu_data.dcache.n_aliases) in copy_to_user_page()
81 if (boot_cpu_data.dcache.n_aliases && page_mapped(page) && in copy_from_user_page()
88 if (boot_cpu_data.dcache.n_aliases) in copy_from_user_page()
100 if (boot_cpu_data.dcache.n_aliases && page_mapped(from) && in copy_user_highpage()
140 if (!boot_cpu_data.dcache.n_aliases) in __update_cache()
156 if (boot_cpu_data.dcache.n_aliases && page_mapped(page) && in __flush_anon_page()
177 if (boot_cpu_data.dcache.n_aliases == 0) in flush_cache_mm()
185 if (boot_cpu_data.dcache.n_aliases == 0) in flush_cache_dup_mm()
253 boot_cpu_data.icache.ways, in emit_cache_params()
254 boot_cpu_data.icache.sets, in emit_cache_params()
255 boot_cpu_data.icache.way_incr); in emit_cache_params()
257 boot_cpu_data.icache.entry_mask, in emit_cache_params()
258 boot_cpu_data.icache.alias_mask, in emit_cache_params()
259 boot_cpu_data.icache.n_aliases); in emit_cache_params()
261 boot_cpu_data.dcache.ways, in emit_cache_params()
262 boot_cpu_data.dcache.sets, in emit_cache_params()
263 boot_cpu_data.dcache.way_incr); in emit_cache_params()
265 boot_cpu_data.dcache.entry_mask, in emit_cache_params()
266 boot_cpu_data.dcache.alias_mask, in emit_cache_params()
267 boot_cpu_data.dcache.n_aliases); in emit_cache_params()
272 if (boot_cpu_data.flags & CPU_HAS_L2_CACHE) { in emit_cache_params()
274 boot_cpu_data.scache.ways, in emit_cache_params()
275 boot_cpu_data.scache.sets, in emit_cache_params()
276 boot_cpu_data.scache.way_incr); in emit_cache_params()
278 boot_cpu_data.scache.entry_mask, in emit_cache_params()
279 boot_cpu_data.scache.alias_mask, in emit_cache_params()
280 boot_cpu_data.scache.n_aliases); in emit_cache_params()
292 compute_alias(&boot_cpu_data.icache); in cpu_cache_init()
293 compute_alias(&boot_cpu_data.dcache); in cpu_cache_init()
294 compute_alias(&boot_cpu_data.scache); in cpu_cache_init()
307 if (boot_cpu_data.family == CPU_FAMILY_SH2) { in cpu_cache_init()
313 if (boot_cpu_data.family == CPU_FAMILY_SH2A) { in cpu_cache_init()
319 if (boot_cpu_data.family == CPU_FAMILY_SH3) { in cpu_cache_init()
324 if ((boot_cpu_data.type == CPU_SH7705) && in cpu_cache_init()
325 (boot_cpu_data.dcache.sets == 512)) { in cpu_cache_init()
332 if ((boot_cpu_data.family == CPU_FAMILY_SH4) || in cpu_cache_init()
333 (boot_cpu_data.family == CPU_FAMILY_SH4A) || in cpu_cache_init()
334 (boot_cpu_data.family == CPU_FAMILY_SH4AL_DSP)) { in cpu_cache_init()
339 if ((boot_cpu_data.type == CPU_SH7786) || in cpu_cache_init()
340 (boot_cpu_data.type == CPU_SHX3)) { in cpu_cache_init()
347 if (boot_cpu_data.family == CPU_FAMILY_SH5) { in cpu_cache_init()