Lines Matching full:start

13 static void __flush_dcache(unsigned long start, unsigned long end)  in __flush_dcache()  argument
17 start &= ~(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
33 start &= ~(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
52 start &= ~(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
68 start &= ~(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()
98 void flush_cache(unsigned long start, unsigned long size) in flush_cache() argument
101 __flush_dcache(start, start + size); in flush_cache()
103 __flush_dcache_all(start, start + size); in flush_cache()
104 __flush_icache(start, start + size); in flush_cache()
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()