Lines Matching refs:boot_cpu_data

66 	if (boot_cpu_data.dcache.n_aliases && folio_mapped(folio) &&  in copy_to_user_page()
73 if (boot_cpu_data.dcache.n_aliases) in copy_to_user_page()
87 if (boot_cpu_data.dcache.n_aliases && folio_mapped(folio) && in copy_from_user_page()
94 if (boot_cpu_data.dcache.n_aliases) in copy_from_user_page()
107 if (boot_cpu_data.dcache.n_aliases && folio_mapped(src) && in copy_user_highpage()
146 if (!boot_cpu_data.dcache.n_aliases) in __update_cache()
164 if (boot_cpu_data.dcache.n_aliases && folio_mapped(folio) && in __flush_anon_page()
186 if (boot_cpu_data.dcache.n_aliases == 0) in flush_cache_mm()
194 if (boot_cpu_data.dcache.n_aliases == 0) in flush_cache_dup_mm()
268 boot_cpu_data.icache.ways, in emit_cache_params()
269 boot_cpu_data.icache.sets, in emit_cache_params()
270 boot_cpu_data.icache.way_incr); in emit_cache_params()
272 boot_cpu_data.icache.entry_mask, in emit_cache_params()
273 boot_cpu_data.icache.alias_mask, in emit_cache_params()
274 boot_cpu_data.icache.n_aliases); in emit_cache_params()
276 boot_cpu_data.dcache.ways, in emit_cache_params()
277 boot_cpu_data.dcache.sets, in emit_cache_params()
278 boot_cpu_data.dcache.way_incr); in emit_cache_params()
280 boot_cpu_data.dcache.entry_mask, in emit_cache_params()
281 boot_cpu_data.dcache.alias_mask, in emit_cache_params()
282 boot_cpu_data.dcache.n_aliases); in emit_cache_params()
287 if (boot_cpu_data.flags & CPU_HAS_L2_CACHE) { in emit_cache_params()
289 boot_cpu_data.scache.ways, in emit_cache_params()
290 boot_cpu_data.scache.sets, in emit_cache_params()
291 boot_cpu_data.scache.way_incr); in emit_cache_params()
293 boot_cpu_data.scache.entry_mask, in emit_cache_params()
294 boot_cpu_data.scache.alias_mask, in emit_cache_params()
295 boot_cpu_data.scache.n_aliases); in emit_cache_params()
307 compute_alias(&boot_cpu_data.icache); in cpu_cache_init()
308 compute_alias(&boot_cpu_data.dcache); in cpu_cache_init()
309 compute_alias(&boot_cpu_data.scache); in cpu_cache_init()
322 if (boot_cpu_data.type == CPU_J2) { in cpu_cache_init()
324 } else if (boot_cpu_data.family == CPU_FAMILY_SH2) { in cpu_cache_init()
328 if (boot_cpu_data.family == CPU_FAMILY_SH2A) { in cpu_cache_init()
332 if (boot_cpu_data.family == CPU_FAMILY_SH3) { in cpu_cache_init()
335 if ((boot_cpu_data.type == CPU_SH7705) && in cpu_cache_init()
336 (boot_cpu_data.dcache.sets == 512)) { in cpu_cache_init()
341 if ((boot_cpu_data.family == CPU_FAMILY_SH4) || in cpu_cache_init()
342 (boot_cpu_data.family == CPU_FAMILY_SH4A) || in cpu_cache_init()
343 (boot_cpu_data.family == CPU_FAMILY_SH4AL_DSP)) { in cpu_cache_init()
346 if ((boot_cpu_data.type == CPU_SH7786) || in cpu_cache_init()
347 (boot_cpu_data.type == CPU_SHX3)) { in cpu_cache_init()