Lines Matching +full:add +full:- +full:ctrl
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * linux/arch/arm/mm/proc-arm1026.S: MMU functions for ARM1026EJ-S
7 * hacked for non-paged-MM by Hyok S. Choi, 2003.
10 * functions on the ARM1026EJ-S.
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
162 * - start - start address (inclusive)
163 * - end - end address (exclusive)
164 * - flags - vm_flags for this space
174 add r0, r0, #CACHE_DLINESIZE
190 * region described by start. If you have non-snooping
193 * - start - virtual start address
194 * - end - virtual end address
206 * region described by start. If you have non-snooping
209 * - start - virtual start address
210 * - end - virtual end address
214 bic r0, r0, #CACHE_DLINESIZE - 1
222 add r0, r0, #CACHE_DLINESIZE
236 * - addr - kernel address
237 * - size - region size
242 add r1, r0, r1
244 add r0, r0, #CACHE_DLINESIZE
260 * - start - virtual start address
261 * - end - virtual end address
268 tst r0, #CACHE_DLINESIZE - 1
269 bic r0, r0, #CACHE_DLINESIZE - 1
271 tst r1, #CACHE_DLINESIZE - 1
274 add r0, r0, #CACHE_DLINESIZE
286 * - start - virtual start address
287 * - end - virtual end address
294 bic r0, r0, #CACHE_DLINESIZE - 1
296 add r0, r0, #CACHE_DLINESIZE
308 * - start - virtual start address
309 * - end - virtual end address
314 bic r0, r0, #CACHE_DLINESIZE - 1
316 add r0, r0, #CACHE_DLINESIZE
326 * - start - kernel virtual start address
327 * - size - size of region
328 * - dir - DMA direction
331 add r1, r1, r0
340 * - start - kernel virtual start address
341 * - size - size of region
342 * - dir - DMA direction
353 add r0, r0, #CACHE_DLINESIZE
426 .size __arm1026_setup, . - __arm1026_setup
439 @ define struct processor (see <asm/proc-fns.h> and proc-macros.S)
447 string cpu_arm1026_name, "ARM1026EJ-S"
454 .long 0x4106a260 @ ARM 1026EJ-S (v5TEJ)
473 .size __arm1026_proc_info, . - __arm1026_proc_info