Lines Matching refs:cpuinfo
23 start &= ~(cpuinfo.dcache_line_size - 1); in __flush_dcache()
24 end += (cpuinfo.dcache_line_size - 1); in __flush_dcache()
25 end &= ~(cpuinfo.dcache_line_size - 1); in __flush_dcache()
27 if (end > start + cpuinfo.dcache_size) in __flush_dcache()
28 end = start + cpuinfo.dcache_size; in __flush_dcache()
30 for (addr = start; addr < end; addr += cpuinfo.dcache_line_size) { in __flush_dcache()
42 start &= ~(cpuinfo.dcache_line_size - 1); in __invalidate_dcache()
43 end += (cpuinfo.dcache_line_size - 1); in __invalidate_dcache()
44 end &= ~(cpuinfo.dcache_line_size - 1); in __invalidate_dcache()
46 for (addr = start; addr < end; addr += cpuinfo.dcache_line_size) { in __invalidate_dcache()
58 start &= ~(cpuinfo.icache_line_size - 1); in __flush_icache()
59 end += (cpuinfo.icache_line_size - 1); in __flush_icache()
60 end &= ~(cpuinfo.icache_line_size - 1); in __flush_icache()
62 if (end > start + cpuinfo.icache_size) in __flush_icache()
63 end = start + cpuinfo.icache_size; in __flush_icache()
65 for (addr = start; addr < end; addr += cpuinfo.icache_line_size) { in __flush_icache()
100 __flush_dcache(0, cpuinfo.dcache_size); in flush_cache_all()
101 __flush_icache(0, cpuinfo.icache_size); in flush_cache_all()