Lines Matching refs:start
86 static void xsc3_l2_inv_range(unsigned long start, unsigned long end) in xsc3_l2_inv_range() argument
90 if (start == 0 && end == -1ul) { in xsc3_l2_inv_range()
100 if (start & (CACHE_LINE_SIZE - 1)) { in xsc3_l2_inv_range()
101 vaddr = l2_map_va(start & ~(CACHE_LINE_SIZE - 1), vaddr); in xsc3_l2_inv_range()
104 start = (start | (CACHE_LINE_SIZE - 1)) + 1; in xsc3_l2_inv_range()
110 while (start < (end & ~(CACHE_LINE_SIZE - 1))) { in xsc3_l2_inv_range()
111 vaddr = l2_map_va(start, vaddr); in xsc3_l2_inv_range()
113 start += CACHE_LINE_SIZE; in xsc3_l2_inv_range()
119 if (start < end) { in xsc3_l2_inv_range()
120 vaddr = l2_map_va(start, vaddr); in xsc3_l2_inv_range()
130 static void xsc3_l2_clean_range(unsigned long start, unsigned long end) in xsc3_l2_clean_range() argument
136 start &= ~(CACHE_LINE_SIZE - 1); in xsc3_l2_clean_range()
137 while (start < end) { in xsc3_l2_clean_range()
138 vaddr = l2_map_va(start, vaddr); in xsc3_l2_clean_range()
140 start += CACHE_LINE_SIZE; in xsc3_l2_clean_range()
168 static void xsc3_l2_flush_range(unsigned long start, unsigned long end) in xsc3_l2_flush_range() argument
172 if (start == 0 && end == -1ul) { in xsc3_l2_flush_range()
179 start &= ~(CACHE_LINE_SIZE - 1); in xsc3_l2_flush_range()
180 while (start < end) { in xsc3_l2_flush_range()
181 vaddr = l2_map_va(start, vaddr); in xsc3_l2_flush_range()
184 start += CACHE_LINE_SIZE; in xsc3_l2_flush_range()