Lines Matching +full:4 +full:- +full:way

1 // SPDX-License-Identifier: GPL-2.0
32 return (retval & SRMMU_CTX_PMASK) << 4; in leon_get_ctable_ptr()
67 printk(KERN_INFO "swprobe: --- ctx (%x) ---\n", ctx); in leon_swprobe()
69 pgd = LEON_BYPASS_LOAD_PA(ctxtbl + (ctx * 4)); in leon_swprobe()
86 printk(KERN_INFO "swprobe: --- pgd (%x) ---\n", pgd); in leon_swprobe()
88 ptr = (pgd & SRMMU_PTD_PMASK) << 4; in leon_swprobe()
89 ptr += ((((vaddr) >> LEON_PGD_SH) & LEON_PGD_M) * 4); in leon_swprobe()
109 printk(KERN_INFO "swprobe: --- pmd (%x) ---\n", pmd); in leon_swprobe()
111 ptr = (pmd & SRMMU_PTD_PMASK) << 4; in leon_swprobe()
112 ptr += (((vaddr >> LEON_PMD_SH) & LEON_PMD_M) * 4); in leon_swprobe()
137 printk(KERN_INFO "swprobe: --- ped (%x) ---\n", ped); in leon_swprobe()
139 ptr = (ped & SRMMU_PTD_PMASK) << 4; in leon_swprobe()
140 ptr += (((vaddr >> LEON_PTE_SH) & LEON_PTE_M) * 4); in leon_swprobe()
161 (vaddr & ~(-1 << LEON_PTE_SH)) | ((pte & ~0xff) << 4); in leon_swprobe()
165 (vaddr & ~(-1 << LEON_PMD_SH)) | ((pte & ~0xff) << 4); in leon_swprobe()
169 (vaddr & ~(-1 << LEON_PGD_SH)) | ((pte & ~0xff) << 4); in leon_swprobe()
196 if (vma->vm_flags & VM_EXEC) in leon_flush_pcache_all()
233 regs->ccr = ccr; in leon3_getCacheRegs()
234 regs->iccr = iccr; in leon3_getCacheRegs()
235 regs->dccr = dccr; in leon3_getCacheRegs()
241 * Leon2 and Leon3 differ in their way of telling cache information
246 int flush_needed = -1; in leon_flush_needed()
248 char *setStr[4] = in leon_flush_needed()
249 { "direct mapped", "2-way associative", "3-way associative", in leon_flush_needed()
250 "4-way associative" in leon_flush_needed()
256 /* (ssize=>realsize) 0=>1k, 1=>2k, 2=>4k, 3=>8k ... */ in leon_flush_needed()