Lines Matching refs:start
19 static void __flush_dcache(unsigned long start, unsigned long end) in __flush_dcache() argument
23 start &= ~(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
42 start &= ~(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
58 start &= ~(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()
114 void flush_icache_range(unsigned long start, unsigned long end) in flush_icache_range() argument
116 __flush_dcache(start, end); in flush_icache_range()
117 __flush_icache(start, end); in flush_icache_range()
120 void flush_dcache_range(unsigned long start, unsigned long end) in flush_dcache_range() argument
122 __flush_dcache(start, end); in flush_dcache_range()
123 __flush_icache(start, end); in flush_dcache_range()
127 void invalidate_dcache_range(unsigned long start, unsigned long end) in invalidate_dcache_range() argument
129 __invalidate_dcache(start, end); in invalidate_dcache_range()
133 void flush_cache_range(struct vm_area_struct *vma, unsigned long start, in flush_cache_range() argument
136 __flush_dcache(start, end); in flush_cache_range()
138 __flush_icache(start, end); in flush_cache_range()
143 unsigned long start = (unsigned long) page_address(page); in flush_icache_page() local
144 unsigned long end = start + PAGE_SIZE; in flush_icache_page()
146 __flush_dcache(start, end); in flush_icache_page()
147 __flush_icache(start, end); in flush_icache_page()
153 unsigned long start = vmaddr; in flush_cache_page() local
154 unsigned long end = start + PAGE_SIZE; in flush_cache_page()
156 __flush_dcache(start, end); in flush_cache_page()
158 __flush_icache(start, end); in flush_cache_page()
168 unsigned long start = (unsigned long)page_address(page); in __flush_dcache_page() local
170 __flush_dcache(start, start + PAGE_SIZE); in __flush_dcache_page()
192 unsigned long start = (unsigned long)page_address(page); in flush_dcache_page() local
194 flush_icache_range(start, start + PAGE_SIZE); in flush_dcache_page()