Lines Matching +full:soft +full:- +full:ip

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"
72 * Perform a soft reset of the system. Put the CPU into the
76 * loc: location to jump to for soft reset
81 mov ip, #0
82 mcr p15, 0, ip, c7, c7, 0 @ invalidate I,D caches
83 mcr p15, 0, ip, c7, c10, 4 @ drain WB
85 mcr p15, 0, ip, c8, c7, 0 @ invalidate I & D TLBs
87 mrc p15, 0, ip, c1, c0, 0 @ ctrl register
88 bic ip, ip, #0x000f @ ............wcam
89 bic ip, ip, #0x1100 @ ...i...s........
90 mcr p15, 0, ip, c1, c0, 0 @ ctrl register
132 mov ip, #0
134 mov r1, #(CACHE_DSEGMENTS - 1) << 5 @ 8 segments
135 1: orr r3, r1, #(CACHE_DENTRIES - 1) << 26 @ 64 entries
142 mcrne p15, 0, ip, c7, c5, 0 @ invalidate I cache
143 mcrne p15, 0, ip, c7, c10, 4 @ drain WB
153 * - start - start address (inclusive)
154 * - end - end address (exclusive)
155 * - flags - vm_flags describing address space
158 mov ip, #0
170 mcrne p15, 0, ip, c7, c10, 4 @ drain WB
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
218 * - addr - kernel address
219 * - size - region size
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
264 * - start - virtual start address
265 * - end - virtual end address
270 bic r0, r0, #CACHE_DLINESIZE - 1
283 * - start - virtual start address
284 * - end - virtual end address
287 bic r0, r0, #CACHE_DLINESIZE - 1
298 * - start - kernel virtual start address
299 * - size - size of region
300 * - dir - DMA direction
312 * - start - kernel virtual start address
313 * - size - size of region
314 * - dir - DMA direction
344 mov ip, #0
346 mcr p15, 0, ip, c7, c6, 0 @ invalidate D cache
349 @ && Re-written to use Index Ops.
350 @ && Uses registers r1, r3 and ip
352 mov r1, #(CACHE_DSEGMENTS - 1) << 5 @ 4 segments
353 1: orr r3, r1, #(CACHE_DENTRIES - 1) << 26 @ 64 entries
360 mcr p15, 0, ip, c7, c5, 0 @ invalidate I cache
361 mcr p15, 0, ip, c7, c10, 4 @ drain WB
363 mcr p15, 0, ip, c8, c7, 0 @ invalidate I & D TLBs
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