Lines Matching +full:add +full:- +full:ctrl
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * linux/arch/arm/mm/proc-arm1022.S: MMU functions for ARM1022E
7 * hacked for non-paged-MM by Hyok S. Choi, 2003.
17 #include <asm/asm-offsets.h>
19 #include <asm/pgtable-hwdef.h>
22 #include "proc-macros.S"
68 mrc p15, 0, r0, c1, c0, 0 @ ctrl register
93 mrc p15, 0, ip, c1, c0, 0 @ ctrl register
96 mcr p15, 0, ip, c1, c0, 0 @ ctrl register
145 mov r1, #(CACHE_DSEGMENTS - 1) << 5 @ 16 segments
146 1: orr r3, r1, #(CACHE_DENTRIES - 1) << 26 @ 64 entries
167 * - start - start address (inclusive)
168 * - end - end address (exclusive)
169 * - flags - vm_flags for this space
179 add r0, r0, #CACHE_DLINESIZE
195 * region described by start. If you have non-snooping
198 * - start - virtual start address
199 * - end - virtual end address
211 * region described by start. If you have non-snooping
214 * - start - virtual start address
215 * - end - virtual end address
219 bic r0, r0, #CACHE_DLINESIZE - 1
227 add r0, r0, #CACHE_DLINESIZE
241 * - addr - kernel address
242 * - size - region size
247 add r1, r0, r1
249 add r0, r0, #CACHE_DLINESIZE
265 * - start - virtual start address
266 * - end - virtual end address
273 tst r0, #CACHE_DLINESIZE - 1
274 bic r0, r0, #CACHE_DLINESIZE - 1
276 tst r1, #CACHE_DLINESIZE - 1
279 add r0, r0, #CACHE_DLINESIZE
291 * - start - virtual start address
292 * - end - virtual end address
299 bic r0, r0, #CACHE_DLINESIZE - 1
301 add r0, r0, #CACHE_DLINESIZE
313 * - start - virtual start address
314 * - end - virtual end address
319 bic r0, r0, #CACHE_DLINESIZE - 1
321 add r0, r0, #CACHE_DLINESIZE
331 * - start - kernel virtual start address
332 * - size - size of region
333 * - dir - DMA direction
336 add r1, r1, r0
345 * - start - kernel virtual start address
346 * - size - size of region
347 * - dir - DMA direction
358 add r0, r0, #CACHE_DLINESIZE
378 mov r1, #(CACHE_DSEGMENTS - 1) << 5 @ 16 segments
379 1: orr r3, r1, #(CACHE_DENTRIES - 1) << 26 @ 64 entries
431 .size __arm1022_setup, . - __arm1022_setup
444 @ define struct processor (see <asm/proc-fns.h> and proc-macros.S)
478 .size __arm1022_proc_info, . - __arm1022_proc_info