Lines Matching refs:cpuinfo
22 start &= ~(cpuinfo.dcache_line_size - 1); in __flush_dcache()
23 end += (cpuinfo.dcache_line_size - 1); in __flush_dcache()
24 end &= ~(cpuinfo.dcache_line_size - 1); in __flush_dcache()
26 if (end > start + cpuinfo.dcache_size) in __flush_dcache()
27 end = start + cpuinfo.dcache_size; in __flush_dcache()
29 for (addr = start; addr < end; addr += cpuinfo.dcache_line_size) { in __flush_dcache()
41 start &= ~(cpuinfo.dcache_line_size - 1); in __invalidate_dcache()
42 end += (cpuinfo.dcache_line_size - 1); in __invalidate_dcache()
43 end &= ~(cpuinfo.dcache_line_size - 1); in __invalidate_dcache()
45 for (addr = start; addr < end; addr += cpuinfo.dcache_line_size) { in __invalidate_dcache()
57 start &= ~(cpuinfo.icache_line_size - 1); in __flush_icache()
58 end += (cpuinfo.icache_line_size - 1); in __flush_icache()
59 end &= ~(cpuinfo.icache_line_size - 1); in __flush_icache()
61 if (end > start + cpuinfo.icache_size) in __flush_icache()
62 end = start + cpuinfo.icache_size; in __flush_icache()
64 for (addr = start; addr < end; addr += cpuinfo.icache_line_size) { in __flush_icache()
99 __flush_dcache(0, cpuinfo.dcache_size); in flush_cache_all()
100 __flush_icache(0, cpuinfo.icache_size); in flush_cache_all()