Lines Matching +full:add +full:- +full:ctrl
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * linux/arch/arm/mm/proc-arm922.S: MMU functions for ARM922
8 * hacked for non-paged-MM by Hyok S. Choi, 2003.
13 * CONFIG_CPU_ARM922_CPU_IDLE -> nohlt
21 #include <asm/pgtable-hwdef.h>
24 #include "proc-macros.S"
62 mrc p15, 0, r0, c1, c0, 0 @ ctrl register
87 mrc p15, 0, ip, c1, c0, 0 @ ctrl register
90 mcr p15, 0, ip, c1, c0, 0 @ ctrl register
134 mov r1, #(CACHE_DSEGMENTS - 1) << 5 @ 8 segments
135 1: orr r3, r1, #(CACHE_DENTRIES - 1) << 26 @ 64 entries
153 * - start - start address (inclusive)
154 * - end - end address (exclusive)
155 * - flags - vm_flags describing address space
166 add r0, r0, #CACHE_DLINESIZE
178 * region described by start, end. If you have non-snooping
181 * - start - virtual start address
182 * - end - virtual end address
194 * region described by start, end. If you have non-snooping
197 * - start - virtual start address
198 * - end - virtual end address
201 bic r0, r0, #CACHE_DLINESIZE - 1
204 add r0, r0, #CACHE_DLINESIZE
218 * - addr - kernel address
219 * - size - region size
222 add r1, r0, r1
224 add r0, r0, #CACHE_DLINESIZE
241 * - start - virtual start address
242 * - end - virtual end address
247 tst r0, #CACHE_DLINESIZE - 1
248 bic r0, r0, #CACHE_DLINESIZE - 1
250 tst r1, #CACHE_DLINESIZE - 1
253 add r0, r0, #CACHE_DLINESIZE
264 * - start - virtual start address
265 * - end - virtual end address
270 bic r0, r0, #CACHE_DLINESIZE - 1
272 add r0, r0, #CACHE_DLINESIZE
283 * - start - virtual start address
284 * - end - virtual end address
287 bic r0, r0, #CACHE_DLINESIZE - 1
289 add r0, r0, #CACHE_DLINESIZE
298 * - start - kernel virtual start address
299 * - size - size of region
300 * - dir - DMA direction
303 add r1, r1, r0
312 * - start - kernel virtual start address
313 * - size - size of region
314 * - dir - DMA direction
325 add r0, r0, #CACHE_DLINESIZE
349 @ && Re-written to use Index Ops.
352 mov r1, #(CACHE_DSEGMENTS - 1) << 5 @ 4 segments
353 1: orr r3, r1, #(CACHE_DENTRIES - 1) << 26 @ 64 entries
398 .size __arm922_setup, . - __arm922_setup
411 @ define struct processor (see <asm/proc-fns.h> and proc-macros.S)
451 .size __arm922_proc_info, . - __arm922_proc_info