Lines Matching +full:4 +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>
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 */
141 1: li r9,4 /* Number of ways */
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 */
152 3: addis r4,r4,0x2000 /* Next way */
154 beq 4f /* Nope, skip it */
155 rlwimi r7,r5,0,1,2 /* Insert way number */
158 4: bdnz 2b /* Loop for each way */
166 addi r10,r10,4 /* Next word */
202 bcl 20,31,$+4
398 * Load multiple TLB entries at once, using an alternate-space
419 bcl 20,31,$+4