Lines Matching refs:end
13 static void __flush_dcache(unsigned long start, unsigned long end) in __flush_dcache() argument
18 end += (gd->arch.dcache_line_size - 1); in __flush_dcache()
19 end &= ~(gd->arch.dcache_line_size - 1); in __flush_dcache()
21 for (addr = start; addr < end; addr += gd->arch.dcache_line_size) { in __flush_dcache()
29 static void __flush_dcache_all(unsigned long start, unsigned long end) in __flush_dcache_all() argument
34 end += (gd->arch.dcache_line_size - 1); in __flush_dcache_all()
35 end &= ~(gd->arch.dcache_line_size - 1); in __flush_dcache_all()
37 if (end > start + gd->arch.dcache_size) in __flush_dcache_all()
38 end = start + gd->arch.dcache_size; in __flush_dcache_all()
40 for (addr = start; addr < end; addr += gd->arch.dcache_line_size) { in __flush_dcache_all()
48 static void __invalidate_dcache(unsigned long start, unsigned long end) in __invalidate_dcache() argument
53 end += (gd->arch.dcache_line_size - 1); in __invalidate_dcache()
54 end &= ~(gd->arch.dcache_line_size - 1); in __invalidate_dcache()
56 for (addr = start; addr < end; addr += gd->arch.dcache_line_size) { in __invalidate_dcache()
64 static void __flush_icache(unsigned long start, unsigned long end) in __flush_icache() argument
69 end += (gd->arch.icache_line_size - 1); in __flush_icache()
70 end &= ~(gd->arch.icache_line_size - 1); in __flush_icache()
72 if (end > start + gd->arch.icache_size) in __flush_icache()
73 end = start + gd->arch.icache_size; in __flush_icache()
75 for (addr = start; addr < end; addr += gd->arch.icache_line_size) { in __flush_icache()
90 void flush_dcache_range(unsigned long start, unsigned long end) in flush_dcache_range() argument
93 __flush_dcache(start, end); in flush_dcache_range()
95 __flush_dcache_all(start, end); in flush_dcache_range()
107 void invalidate_dcache_range(unsigned long start, unsigned long end) in invalidate_dcache_range() argument
110 __invalidate_dcache(start, end); in invalidate_dcache_range()
112 __flush_dcache_all(start, end); in invalidate_dcache_range()