Lines Matching refs:end
15 static void __flush_dcache(unsigned long start, unsigned long end) in __flush_dcache() argument
20 end += (gd->arch.dcache_line_size - 1); in __flush_dcache()
21 end &= ~(gd->arch.dcache_line_size - 1); in __flush_dcache()
23 for (addr = start; addr < end; addr += gd->arch.dcache_line_size) { in __flush_dcache()
31 static void __flush_dcache_all(unsigned long start, unsigned long end) in __flush_dcache_all() argument
36 end += (gd->arch.dcache_line_size - 1); in __flush_dcache_all()
37 end &= ~(gd->arch.dcache_line_size - 1); in __flush_dcache_all()
39 if (end > start + gd->arch.dcache_size) in __flush_dcache_all()
40 end = start + gd->arch.dcache_size; in __flush_dcache_all()
42 for (addr = start; addr < end; addr += gd->arch.dcache_line_size) { in __flush_dcache_all()
50 static void __invalidate_dcache(unsigned long start, unsigned long end) in __invalidate_dcache() argument
55 end += (gd->arch.dcache_line_size - 1); in __invalidate_dcache()
56 end &= ~(gd->arch.dcache_line_size - 1); in __invalidate_dcache()
58 for (addr = start; addr < end; addr += gd->arch.dcache_line_size) { in __invalidate_dcache()
66 static void __flush_icache(unsigned long start, unsigned long end) in __flush_icache() argument
71 end += (gd->arch.icache_line_size - 1); in __flush_icache()
72 end &= ~(gd->arch.icache_line_size - 1); in __flush_icache()
74 if (end > start + gd->arch.icache_size) in __flush_icache()
75 end = start + gd->arch.icache_size; in __flush_icache()
77 for (addr = start; addr < end; addr += gd->arch.icache_line_size) { in __flush_icache()
92 void flush_dcache_range(unsigned long start, unsigned long end) in flush_dcache_range() argument
95 __flush_dcache(start, end); in flush_dcache_range()
97 __flush_dcache_all(start, end); in flush_dcache_range()
109 void invalidate_dcache_range(unsigned long start, unsigned long end) in invalidate_dcache_range() argument
112 __invalidate_dcache(start, end); in invalidate_dcache_range()
114 __flush_dcache_all(start, end); in invalidate_dcache_range()