Lines Matching +full:soft +full:- +full:ip
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"
78 * Perform a soft reset of the system. Put the CPU into the
82 * loc: location to jump to for soft reset
87 mov ip, #0
88 mcr p15, 0, ip, c7, c7, 0 @ invalidate I,D caches
89 mcr p15, 0, ip, c7, c10, 4 @ drain WB
91 mcr p15, 0, ip, c8, c7, 0 @ invalidate I & D TLBs
93 mrc p15, 0, ip, c1, c0, 0 @ ctrl register
94 bic ip, ip, #0x000f @ ............wcam
95 bic ip, ip, #0x1100 @ ...i...s........
96 mcr p15, 0, ip, c1, c0, 0 @ ctrl register
142 mov ip, #0
145 mov r1, #(CACHE_DSEGMENTS - 1) << 5 @ 16 segments
146 1: orr r3, r1, #(CACHE_DENTRIES - 1) << 26 @ 64 entries
155 mcrne p15, 0, ip, c7, c5, 0 @ invalidate I cache
157 mcrne p15, 0, ip, c7, c10, 4 @ drain WB
167 * - start - start address (inclusive)
168 * - end - end address (exclusive)
169 * - flags - vm_flags for this space
172 mov ip, #0
185 mcrne p15, 0, ip, c7, c5, 0 @ invalidate I cache
187 mcrne p15, 0, ip, c7, c10, 4 @ drain WB
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
218 mov ip, #0
219 bic r0, r0, #CACHE_DLINESIZE - 1
230 mcr p15, 0, ip, c7, c10, 4 @ drain WB
241 * - addr - kernel address
242 * - size - region size
245 mov ip, #0
253 mcr p15, 0, ip, c7, c10, 4 @ drain WB
265 * - start - virtual start address
266 * - end - virtual end address
271 mov ip, #0
273 tst r0, #CACHE_DLINESIZE - 1
274 bic r0, r0, #CACHE_DLINESIZE - 1
276 tst r1, #CACHE_DLINESIZE - 1
283 mcr p15, 0, ip, c7, c10, 4 @ drain WB
291 * - start - virtual start address
292 * - end - virtual end address
297 mov ip, #0
299 bic r0, r0, #CACHE_DLINESIZE - 1
305 mcr p15, 0, ip, c7, c10, 4 @ drain WB
313 * - start - virtual start address
314 * - end - virtual end address
317 mov ip, #0
319 bic r0, r0, #CACHE_DLINESIZE - 1
325 mcr p15, 0, ip, c7, c10, 4 @ drain WB
331 * - start - kernel virtual start address
332 * - size - size of region
333 * - dir - DMA direction
345 * - start - kernel virtual start address
346 * - size - size of region
347 * - dir - DMA direction
356 mov ip, #0
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