Lines Matching full:start

18 static void __flush_dcache(unsigned long start, unsigned long end)  in __flush_dcache()  argument
22 start &= ~(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
41 start &= ~(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
57 start &= ~(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()
132 void flush_cache_range(struct vm_area_struct *vma, unsigned long start, in flush_cache_range() argument
135 __flush_dcache(start, end); in flush_cache_range()
137 __flush_icache(start, end); in flush_cache_range()
142 unsigned long start = (unsigned long) page_address(page); in flush_icache_page() local
143 unsigned long end = start + PAGE_SIZE; in flush_icache_page()
145 __flush_dcache(start, end); in flush_icache_page()
146 __flush_icache(start, end); in flush_icache_page()
152 unsigned long start = vmaddr; in flush_cache_page() local
153 unsigned long end = start + PAGE_SIZE; in flush_cache_page()
155 __flush_dcache(start, end); in flush_cache_page()
157 __flush_icache(start, end); in flush_cache_page()
167 unsigned long start = (unsigned long)page_address(page); in __flush_dcache_page() local
169 __flush_dcache(start, start + PAGE_SIZE); in __flush_dcache_page()
191 unsigned long start = (unsigned long)page_address(page); in flush_dcache_page() local
193 flush_icache_range(start, start + PAGE_SIZE); in flush_dcache_page()