Lines Matching +full:sub +full:- +full:space
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/arch/arm/mm/cache-v7m.S
5 * Based on linux/arch/arm/mm/cache-v7.S
20 #include "proc-macros.S"
22 .arch armv7-m
132 and r3, r1, r0, lsr #3 @ NumWays - 1
140 1: sub r2, r2, #1 @ NumSets--
142 2: subs r3, r3, #1 @ Temp--
158 * Flush the whole I-cache.
161 * r0 - set to 0
171 * Flush the whole D-cache.
173 * Corrupted registers: r0-r7, r9-r11
188 blt skip @ skip if no cache, or just i-cache
241 stmfd sp!, {r4-r7, r9-r11, lr}
244 ldmfd sp!, {r4-r7, r9-r11, lr}
251 * Flush all TLB entries in a particular address space
253 * - mm - mm_struct describing address space
262 * Flush a range of TLB entries in the specified address space.
264 * - start - start address (may not be aligned)
265 * - end - end address (exclusive, may not be aligned)
266 * - flags - vm_area_struct flags describing address space
269 * - we have a VIPT cache.
282 * - start - virtual start address of region
283 * - end - virtual end address of region
286 * - the Icache does not read data from the write buffer
301 * - start - virtual start address of region
302 * - end - virtual end address of region
305 * - the Icache does not read data from the write buffer
310 sub r3, r2, #1
323 sub r3, r2, #1
343 * - addr - kernel address
344 * - size - region size
349 sub r3, r2, #1
367 * - start - virtual start address of region
368 * - end - virtual end address of region
372 sub r3, r2, #1
393 * - start - virtual start address of region
394 * - end - virtual end address of region
398 sub r3, r2, #1
411 * - start - virtual start address of region
412 * - end - virtual end address of region
416 sub r3, r2, #1
429 * - start - kernel virtual start address
430 * - size - size of region
431 * - dir - DMA direction
442 * - start - kernel virtual start address
443 * - size - size of region
444 * - dir - DMA direction