Lines Matching +full:2 +full:- +full:way
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * This file contains low-level functions for performing various
7 * This file implements the following functions for all no-hash
11 * - tlbil_va
12 * - tlbil_pid
13 * - tlbil_all
14 * - tlbivax_bcast
18 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
29 #include <asm/asm-offsets.h>
32 #include <asm/asm-compat.h>
33 #include <asm/feature-fixups.h>
96 b 2f
106 2:
108 oris r7,r6,0x8000 /* specify way explicitly */
123 b 2f
139 2:
141 /* 476 variant. There's not simple way to do this, hopefully we'll
146 li r3,-1 /* Current set */
149 lis r7,0x8000 /* Specify way explicitly */
154 li r4,0 /* Current way */
156 andi. r0,r8,1 /* Check if way 0 is bolted */
157 mtctr r9 /* Load way counter */
158 bne- 3f /* Bolted, skip loading it */
160 2: /* For each way */
161 or r5,r3,r4 /* Make way|index for tlbre */
164 3: addis r4,r4,0x2000 /* Next way */
167 rlwimi r7,r5,0,1,2 /* Insert way number */
170 4: bdnz 2b /* Loop for each way */
217 bl 2f
218 2: mflr r6
426 * Load multiple TLB entries at once, using an alternate-space
468 2: bl loadcam_entry
472 blt 2b