Lines Matching refs:sun4c_vacinfo

56 #define SUN4C_VAC_SIZE sun4c_vacinfo.num_bytes
68 struct sun4c_vac_props sun4c_vacinfo; variable
76 if (sun4c_vacinfo.on) in sun4c_flush_all()
85 begin += sun4c_vacinfo.linesize; in sun4c_flush_all()
140 unsigned long lsize = sun4c_vacinfo.linesize; in sun4c_flush_context_sw()
171 unsigned long lsize = sun4c_vacinfo.linesize; in sun4c_flush_segment_sw()
207 unsigned long lsize = sun4c_vacinfo.linesize; in sun4c_flush_page_sw()
293 sun4c_vacinfo.type = VAC_NONE; in sun4c_probe_vac()
294 sun4c_vacinfo.num_bytes = 0; in sun4c_probe_vac()
295 sun4c_vacinfo.linesize = 0; in sun4c_probe_vac()
296 sun4c_vacinfo.do_hwflushes = 0; in sun4c_probe_vac()
302 sun4c_vacinfo.type = VAC_WRITE_BACK; in sun4c_probe_vac()
303 sun4c_vacinfo.num_bytes = 128 * 1024; in sun4c_probe_vac()
304 sun4c_vacinfo.linesize = 16; in sun4c_probe_vac()
305 sun4c_vacinfo.do_hwflushes = 0; in sun4c_probe_vac()
309 sun4c_vacinfo.type = VAC_WRITE_THROUGH; in sun4c_probe_vac()
310 sun4c_vacinfo.num_bytes = 128 * 1024; in sun4c_probe_vac()
311 sun4c_vacinfo.linesize = 16; in sun4c_probe_vac()
312 sun4c_vacinfo.do_hwflushes = 0; in sun4c_probe_vac()
316 sun4c_vacinfo.type = VAC_WRITE_BACK; in sun4c_probe_vac()
317 sun4c_vacinfo.num_bytes = 128 * 1024; in sun4c_probe_vac()
318 sun4c_vacinfo.linesize = 32; in sun4c_probe_vac()
319 sun4c_vacinfo.do_hwflushes = 0; in sun4c_probe_vac()
327 sun4c_vacinfo.type = VAC_WRITE_THROUGH; in sun4c_probe_vac()
334 sun4c_vacinfo.num_bytes = 65536; in sun4c_probe_vac()
335 sun4c_vacinfo.linesize = 16; in sun4c_probe_vac()
337 sun4c_vacinfo.num_bytes = in sun4c_probe_vac()
339 sun4c_vacinfo.linesize = in sun4c_probe_vac()
342 sun4c_vacinfo.do_hwflushes = in sun4c_probe_vac()
345 if (sun4c_vacinfo.do_hwflushes == 0) in sun4c_probe_vac()
346 sun4c_vacinfo.do_hwflushes = in sun4c_probe_vac()
349 if (sun4c_vacinfo.num_bytes != 65536) { in sun4c_probe_vac()
356 sun4c_vacinfo.num_lines = in sun4c_probe_vac()
357 (sun4c_vacinfo.num_bytes / sun4c_vacinfo.linesize); in sun4c_probe_vac()
358 switch (sun4c_vacinfo.linesize) { in sun4c_probe_vac()
360 sun4c_vacinfo.log2lsize = 4; in sun4c_probe_vac()
363 sun4c_vacinfo.log2lsize = 5; in sun4c_probe_vac()
367 sun4c_vacinfo.linesize); in sun4c_probe_vac()
430 if (sun4c_vacinfo.do_hwflushes != 0) { in patch_kernel_fault_handler()
434 switch (sun4c_vacinfo.linesize) { in patch_kernel_fault_handler()
443 sun4c_vacinfo.linesize); in patch_kernel_fault_handler()
1298 if (sun4c_vacinfo.linesize == 32) { in sun4c_flush_cache_all()
1679 sun4c_vacinfo.num_bytes, in sun4c_mmu_info()
1680 (sun4c_vacinfo.do_hwflushes ? "yes" : "no"), in sun4c_mmu_info()
1681 sun4c_vacinfo.linesize, in sun4c_mmu_info()
2099 if (sun4c_vacinfo.do_hwflushes) { in ld_mmu_sun4c()