Lines Matching full:end
18 static void __flush_dcache(unsigned long start, unsigned long end) in __flush_dcache() argument
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()
37 static void __invalidate_dcache(unsigned long start, unsigned long end) in __invalidate_dcache() argument
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()
53 static void __flush_icache(unsigned long start, unsigned long end) in __flush_icache() argument
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()
113 void flush_icache_range(unsigned long start, unsigned long end) in flush_icache_range() argument
115 __flush_dcache(start, end); in flush_icache_range()
116 __flush_icache(start, end); in flush_icache_range()
119 void flush_dcache_range(unsigned long start, unsigned long end) in flush_dcache_range() argument
121 __flush_dcache(start, end); in flush_dcache_range()
122 __flush_icache(start, end); in flush_dcache_range()
126 void invalidate_dcache_range(unsigned long start, unsigned long end) in invalidate_dcache_range() argument
128 __invalidate_dcache(start, end); in invalidate_dcache_range()
133 unsigned long end) in flush_cache_range() argument
135 __flush_dcache(start, end); in flush_cache_range()
137 __flush_icache(start, end); in flush_cache_range()
143 unsigned long end = start + PAGE_SIZE; in flush_icache_page() local
145 __flush_dcache(start, end); in flush_icache_page()
146 __flush_icache(start, end); in flush_icache_page()
153 unsigned long end = start + PAGE_SIZE; in flush_cache_page() local
155 __flush_dcache(start, end); in flush_cache_page()
157 __flush_icache(start, end); in flush_cache_page()