Lines Matching refs:end
19 static void __flush_dcache(unsigned long start, unsigned long end) in __flush_dcache() argument
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()
38 static void __invalidate_dcache(unsigned long start, unsigned long end) in __invalidate_dcache() argument
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()
54 static void __flush_icache(unsigned long start, unsigned long end) in __flush_icache() argument
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()
115 void flush_icache_range(unsigned long start, unsigned long end) in flush_icache_range() argument
117 __flush_dcache(start, end); in flush_icache_range()
118 __flush_icache(start, end); in flush_icache_range()
121 void flush_dcache_range(unsigned long start, unsigned long end) in flush_dcache_range() argument
123 __flush_dcache(start, end); in flush_dcache_range()
124 __flush_icache(start, end); in flush_dcache_range()
128 void invalidate_dcache_range(unsigned long start, unsigned long end) in invalidate_dcache_range() argument
130 __invalidate_dcache(start, end); in invalidate_dcache_range()
135 unsigned long end) in flush_cache_range() argument
137 __flush_dcache(start, end); in flush_cache_range()
139 __flush_icache(start, end); in flush_cache_range()
146 unsigned long end = start + nr * PAGE_SIZE; in flush_icache_pages() local
148 __flush_dcache(start, end); in flush_icache_pages()
149 __flush_icache(start, end); in flush_icache_pages()
156 unsigned long end = start + PAGE_SIZE; in flush_cache_page() local
158 __flush_dcache(start, end); in flush_cache_page()
160 __flush_icache(start, end); in flush_cache_page()