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>
77 oris r7,r6,0x8000 /* specify way explicitly */
104 /* 476 variant. There's not simple way to do this, hopefully we'll
109 li r3,-1 /* Current set */
112 lis r7,0x8000 /* Specify way explicitly */
117 li r4,0 /* Current way */
119 andi. r0,r8,1 /* Check if way 0 is bolted */
120 mtctr r9 /* Load way counter */
121 bne- 3f /* Bolted, skip loading it */
123 2: /* For each way */
124 or r5,r3,r4 /* Make way|index for tlbre */
127 3: addis r4,r4,0x2000 /* Next way */
130 rlwimi r7,r5,0,1,2 /* Insert way number */
133 4: bdnz 2b /* Loop for each way */
178 2: mflr r6
373 * Load multiple TLB entries at once, using an alternate-space
417 2: bl loadcam_entry
421 blt 2b