Lines Matching refs:start
98 static void xsc3_l2_inv_range(unsigned long start, unsigned long end) in xsc3_l2_inv_range() argument
102 if (start == 0 && end == -1ul) { in xsc3_l2_inv_range()
112 if (start & (CACHE_LINE_SIZE - 1)) { in xsc3_l2_inv_range()
113 vaddr = l2_map_va(start & ~(CACHE_LINE_SIZE - 1), vaddr); in xsc3_l2_inv_range()
116 start = (start | (CACHE_LINE_SIZE - 1)) + 1; in xsc3_l2_inv_range()
122 while (start < (end & ~(CACHE_LINE_SIZE - 1))) { in xsc3_l2_inv_range()
123 vaddr = l2_map_va(start, vaddr); in xsc3_l2_inv_range()
125 start += CACHE_LINE_SIZE; in xsc3_l2_inv_range()
131 if (start < end) { in xsc3_l2_inv_range()
132 vaddr = l2_map_va(start, vaddr); in xsc3_l2_inv_range()
142 static void xsc3_l2_clean_range(unsigned long start, unsigned long end) in xsc3_l2_clean_range() argument
148 start &= ~(CACHE_LINE_SIZE - 1); in xsc3_l2_clean_range()
149 while (start < end) { in xsc3_l2_clean_range()
150 vaddr = l2_map_va(start, vaddr); in xsc3_l2_clean_range()
152 start += CACHE_LINE_SIZE; in xsc3_l2_clean_range()
180 static void xsc3_l2_flush_range(unsigned long start, unsigned long end) in xsc3_l2_flush_range() argument
184 if (start == 0 && end == -1ul) { in xsc3_l2_flush_range()
191 start &= ~(CACHE_LINE_SIZE - 1); in xsc3_l2_flush_range()
192 while (start < end) { in xsc3_l2_flush_range()
193 vaddr = l2_map_va(start, vaddr); in xsc3_l2_flush_range()
196 start += CACHE_LINE_SIZE; in xsc3_l2_flush_range()