Lines Matching refs:end
54 unsigned long begin, end; in sh2a__flush_wback_region() local
59 end = ((unsigned long)start + size + L1_CACHE_BYTES-1) in sh2a__flush_wback_region()
67 if (((end - begin) >> PAGE_SHIFT) >= MAX_OCACHE_PAGES) { in sh2a__flush_wback_region()
69 end = begin + (nr_ways * current_cpu_data.dcache.way_size); in sh2a__flush_wback_region()
71 for (v = begin; v < end; v += L1_CACHE_BYTES) { in sh2a__flush_wback_region()
79 for (v = begin; v < end; v += L1_CACHE_BYTES) in sh2a__flush_wback_region()
95 unsigned long begin, end; in sh2a__flush_purge_region() local
99 end = ((unsigned long)start + size + L1_CACHE_BYTES-1) in sh2a__flush_purge_region()
105 for (v = begin; v < end; v+=L1_CACHE_BYTES) { in sh2a__flush_purge_region()
125 unsigned long begin, end; in sh2a__flush_invalidate_region() local
129 end = ((unsigned long)start + size + L1_CACHE_BYTES-1) in sh2a__flush_invalidate_region()
136 if (((end - begin) >> PAGE_SHIFT) >= MAX_OCACHE_PAGES) { in sh2a__flush_invalidate_region()
140 for (v = begin; v < end; v += L1_CACHE_BYTES) in sh2a__flush_invalidate_region()
154 unsigned long start, end; in sh2a_flush_icache_range() local
159 end = (data->addr2 + L1_CACHE_BYTES-1) & ~(L1_CACHE_BYTES-1); in sh2a_flush_icache_range()
162 sh2a__flush_wback_region((void *)start, end-start); in sh2a_flush_icache_range()
170 if (((end - start) >> PAGE_SHIFT) >= MAX_ICACHE_PAGES) { in sh2a_flush_icache_range()
174 for (v = start; v < end; v += L1_CACHE_BYTES) in sh2a_flush_icache_range()