Lines Matching +full:8 +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>
63 * Nothing to do for 8xx, everything is inline
102 oris r7,r6,0x8000 /* specify way explicitly */
129 /* 476 variant. There's not simple way to do this, hopefully we'll
134 li r3,-1 /* Current set */
137 lis r7,0x8000 /* Specify way explicitly */
142 li r4,0 /* Current way */
144 andi. r0,r8,1 /* Check if way 0 is bolted */
145 mtctr r9 /* Load way counter */
146 bne- 3f /* Bolted, skip loading it */
148 2: /* For each way */
149 or r5,r3,r4 /* Make way|index for tlbre */
150 rlwimi r5,r5,16,8,15 /* Copy index into position */
152 3: addis r4,r4,0x2000 /* Next way */
155 rlwimi r7,r5,0,1,2 /* Insert way number */
158 4: bdnz 2b /* Loop for each way */
398 * Load multiple TLB entries at once, using an alternate-space