Lines Matching full:arch
17 start &= ~(gd->arch.dcache_line_size - 1); in __flush_dcache()
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()
33 start &= ~(gd->arch.dcache_line_size - 1); in __flush_dcache_all()
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()
52 start &= ~(gd->arch.dcache_line_size - 1); in __invalidate_dcache()
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()
68 start &= ~(gd->arch.icache_line_size - 1); in __flush_icache()
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()
86 __flush_dcache_all(0, gd->arch.dcache_size); in flush_dcache_all()
87 __flush_icache(0, gd->arch.icache_size); in flush_dcache_all()
92 if (gd->arch.has_initda) in flush_dcache_range()
100 if (gd->arch.has_initda) in flush_cache()
109 if (gd->arch.has_initda) in invalidate_dcache_range()