ways 284 arch/arc/include/asm/arcregs.h unsigned int sets:12, ways:4, u_dtlb:8, u_itlb:8; ways 255 arch/arc/mm/tlb.c int num_tlb = mmu->sets * mmu->ways; ways 732 arch/arc/mm/tlb.c unsigned int ver:8, ways:4, sets:4, u_itlb:8, u_dtlb:8; ways 734 arch/arc/mm/tlb.c unsigned int u_dtlb:8, u_itlb:8, sets:4, ways:4, ver:8; ways 740 arch/arc/mm/tlb.c unsigned int ver:8, ways:4, sets:4, res:3, sasid:1, pg_sz:4, ways 744 arch/arc/mm/tlb.c ways:4, ver:8; ways 767 arch/arc/mm/tlb.c mmu->ways = 1 << mmu2->ways; ways 774 arch/arc/mm/tlb.c mmu->ways = 1 << mmu3->ways; ways 784 arch/arc/mm/tlb.c mmu->ways = mmu4->n_ways * 2; ways 806 arch/arc/mm/tlb.c p_mmu->sets * p_mmu->ways, p_mmu->sets, p_mmu->ways, ways 895 arch/arc/mm/tlb.c #define SET_WAY_TO_IDX(mmu, set, way) ((set) * mmu->ways + (way)) ways 912 arch/arc/mm/tlb.c int set, n_ways = mmu->ways; ways 915 arch/arc/mm/tlb.c BUG_ON(mmu->ways > 4); ways 784 arch/arm/mm/cache-l2x0.c unsigned way_size_bits, ways; ways 817 arch/arm/mm/cache-l2x0.c ways = 16; ways 819 arch/arm/mm/cache-l2x0.c ways = 8; ways 824 arch/arm/mm/cache-l2x0.c ways = (aux >> 13) & 0xf; ways 828 arch/arm/mm/cache-l2x0.c ways = (aux >> 13) & 0xf; ways 829 arch/arm/mm/cache-l2x0.c ways = 2 << ((ways + 1) >> 2); ways 834 arch/arm/mm/cache-l2x0.c ways = 8; ways 838 arch/arm/mm/cache-l2x0.c l2x0_way_mask = (1 << ways) - 1; ways 850 arch/arm/mm/cache-l2x0.c l2x0_size = ways * (data->way_size_0 << way_size_bits); ways 885 arch/arm/mm/cache-l2x0.c data->type, ways, l2x0_size >> 10); ways 26 arch/mips/include/asm/cpu-info.h unsigned char ways; /* Number of ways */ ways 536 arch/mips/include/asm/r4kcache.h unsigned long ws_end = current_cpu_data.desc.ways << \ ways 562 arch/mips/include/asm/r4kcache.h unsigned long ws_end = current_cpu_data.desc.ways << \ ways 685 arch/mips/include/asm/r4kcache.h unsigned long ws_end = current_cpu_data.desc.ways << \ ways 14 arch/mips/kernel/cacheinfo.c leaf->ways_of_associativity = c->cache.ways; \ ways 16 arch/mips/kernel/cacheinfo.c c->cache.ways; \ ways 1796 arch/mips/kernel/cpu-probe.c c->scache.ways = 8; ways 197 arch/mips/kernel/pm-cps.c unsigned cache_size = cache->ways << cache->waybit; ways 182 arch/mips/mm/c-octeon.c c->icache.ways = 1 + ((config1 >> 16) & 7); ways 185 arch/mips/mm/c-octeon.c c->icache.sets * c->icache.ways * c->icache.linesz; ways 186 arch/mips/mm/c-octeon.c c->icache.waybit = ffs(icache_size / c->icache.ways) - 1; ways 192 arch/mips/mm/c-octeon.c c->dcache.ways = 64; ways 194 arch/mips/mm/c-octeon.c c->dcache.sets * c->dcache.ways * c->dcache.linesz; ways 195 arch/mips/mm/c-octeon.c c->dcache.waybit = ffs(dcache_size / c->dcache.ways) - 1; ways 202 arch/mips/mm/c-octeon.c c->icache.ways = 37; ways 204 arch/mips/mm/c-octeon.c icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; ways 207 arch/mips/mm/c-octeon.c c->dcache.ways = 32; ways 209 arch/mips/mm/c-octeon.c dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; ways 216 arch/mips/mm/c-octeon.c c->icache.ways = 39; ways 218 arch/mips/mm/c-octeon.c icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; ways 221 arch/mips/mm/c-octeon.c c->dcache.ways = 32; ways 223 arch/mips/mm/c-octeon.c dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; ways 233 arch/mips/mm/c-octeon.c c->icache.waysize = icache_size / c->icache.ways; ways 234 arch/mips/mm/c-octeon.c c->dcache.waysize = dcache_size / c->dcache.ways; ways 236 arch/mips/mm/c-octeon.c c->icache.sets = icache_size / (c->icache.linesz * c->icache.ways); ways 237 arch/mips/mm/c-octeon.c c->dcache.sets = dcache_size / (c->dcache.linesz * c->dcache.ways); ways 245 arch/mips/mm/c-octeon.c c->icache.ways, c->icache.sets, c->icache.linesz); ways 249 arch/mips/mm/c-octeon.c dcache_size >> 10, c->dcache.ways, ways 266 arch/mips/mm/c-r4k.c unsigned long ws_end = current_cpu_data.icache.ways << ways 297 arch/mips/mm/c-r4k.c unsigned long ws_end = current_cpu_data.icache.ways << ways 1090 arch/mips/mm/c-r4k.c c->icache.ways = 2; ways 1095 arch/mips/mm/c-r4k.c c->dcache.ways = 2; ways 1104 arch/mips/mm/c-r4k.c c->icache.ways = 2; ways 1109 arch/mips/mm/c-r4k.c c->dcache.ways = 2; ways 1118 arch/mips/mm/c-r4k.c c->icache.ways = 4; ways 1123 arch/mips/mm/c-r4k.c c->dcache.ways = 4; ways 1138 arch/mips/mm/c-r4k.c c->icache.ways = 1; ways 1143 arch/mips/mm/c-r4k.c c->dcache.ways = 1; ways 1155 arch/mips/mm/c-r4k.c c->icache.ways = 2; ways 1160 arch/mips/mm/c-r4k.c c->dcache.ways = 2; ways 1182 arch/mips/mm/c-r4k.c c->icache.ways = 2; ways 1187 arch/mips/mm/c-r4k.c c->dcache.ways = 2; ways 1199 arch/mips/mm/c-r4k.c c->icache.ways = 1; ways 1204 arch/mips/mm/c-r4k.c c->dcache.ways = 1; ways 1215 arch/mips/mm/c-r4k.c c->icache.ways = 4; ways 1216 arch/mips/mm/c-r4k.c c->icache.waybit = __ffs(icache_size / c->icache.ways); ways 1220 arch/mips/mm/c-r4k.c c->dcache.ways = 4; ways 1221 arch/mips/mm/c-r4k.c c->dcache.waybit = __ffs(dcache_size / c->dcache.ways); ways 1231 arch/mips/mm/c-r4k.c c->icache.ways = 4; ways 1233 arch/mips/mm/c-r4k.c c->icache.ways = 2; ways 1239 arch/mips/mm/c-r4k.c c->dcache.ways = 4; ways 1241 arch/mips/mm/c-r4k.c c->dcache.ways = 2; ways 1253 arch/mips/mm/c-r4k.c c->icache.ways = 1 + ((config1 >> 16) & 7); ways 1255 arch/mips/mm/c-r4k.c c->icache.ways * ways 1265 arch/mips/mm/c-r4k.c c->dcache.ways = 1 + ((config1 >> 7) & 7); ways 1267 arch/mips/mm/c-r4k.c c->dcache.ways * ways 1278 arch/mips/mm/c-r4k.c c->icache.ways = 8; ways 1280 arch/mips/mm/c-r4k.c icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; ways 1283 arch/mips/mm/c-r4k.c c->dcache.ways = 8; ways 1285 arch/mips/mm/c-r4k.c dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; ways 1308 arch/mips/mm/c-r4k.c c->icache.ways = 1 + ((config1 >> 16) & 7); ways 1311 arch/mips/mm/c-r4k.c c->icache.ways * ways 1313 arch/mips/mm/c-r4k.c c->icache.waybit = __ffs(icache_size/c->icache.ways); ways 1332 arch/mips/mm/c-r4k.c c->dcache.ways = 1 + ((config1 >> 7) & 7); ways 1335 arch/mips/mm/c-r4k.c c->dcache.ways * ways 1337 arch/mips/mm/c-r4k.c c->dcache.waybit = __ffs(dcache_size/c->dcache.ways); ways 1358 arch/mips/mm/c-r4k.c c->icache.waysize = icache_size / c->icache.ways; ways 1359 arch/mips/mm/c-r4k.c c->dcache.waysize = dcache_size / c->dcache.ways; ways 1362 arch/mips/mm/c-r4k.c icache_size / (c->icache.linesz * c->icache.ways) : 0; ways 1364 arch/mips/mm/c-r4k.c dcache_size / (c->dcache.linesz * c->dcache.ways) : 0; ways 1460 arch/mips/mm/c-r4k.c c->icache.ways = 1; ways 1466 arch/mips/mm/c-r4k.c way_string[c->icache.ways], c->icache.linesz); ways 1469 arch/mips/mm/c-r4k.c dcache_size >> 10, way_string[c->dcache.ways], ways 1491 arch/mips/mm/c-r4k.c c->vcache.ways = 1 + ((config2 >> 16) & 15); ways 1493 arch/mips/mm/c-r4k.c vcache_size = c->vcache.sets * c->vcache.ways * c->vcache.linesz; ways 1496 arch/mips/mm/c-r4k.c c->vcache.waysize = vcache_size / c->vcache.ways; ways 1499 arch/mips/mm/c-r4k.c vcache_size >> 10, way_string[c->vcache.ways], c->vcache.linesz); ways 1557 arch/mips/mm/c-r4k.c c->scache.ways = 1; ways 1569 arch/mips/mm/c-r4k.c c->scache.ways = 4; ways 1571 arch/mips/mm/c-r4k.c c->scache.waysize = scache_size / (c->scache.ways); ways 1572 arch/mips/mm/c-r4k.c c->scache.sets = scache_size / (c->scache.linesz * c->scache.ways); ways 1574 arch/mips/mm/c-r4k.c scache_size >> 10, way_string[c->scache.ways], c->scache.linesz); ways 1591 arch/mips/mm/c-r4k.c c->scache.ways = 1 + (config2 & 15); ways 1594 arch/mips/mm/c-r4k.c c->scache.ways * ways 1599 arch/mips/mm/c-r4k.c c->scache.waysize = scache_size / c->scache.ways; ways 1601 arch/mips/mm/c-r4k.c scache_size >> 10, way_string[c->scache.ways], c->scache.linesz); ways 1638 arch/mips/mm/c-r4k.c c->scache.ways = 2; ways 1675 arch/mips/mm/c-r4k.c scache_size = c->scache.ways * c->scache.sets * c->scache.linesz; ways 1678 arch/mips/mm/c-r4k.c way_string[c->scache.ways], c->scache.linesz); ways 1693 arch/mips/mm/c-r4k.c c->scache.waysize = scache_size / c->scache.ways; ways 1695 arch/mips/mm/c-r4k.c c->scache.sets = scache_size / (c->scache.linesz * c->scache.ways); ways 1698 arch/mips/mm/c-r4k.c scache_size >> 10, way_string[c->scache.ways], c->scache.linesz); ways 307 arch/mips/mm/c-tx39.c current_cpu_data.icache.ways = 1; ways 308 arch/mips/mm/c-tx39.c current_cpu_data.dcache.ways = 1; ways 313 arch/mips/mm/c-tx39.c current_cpu_data.icache.ways = 2; ways 314 arch/mips/mm/c-tx39.c current_cpu_data.dcache.ways = 2; ways 320 arch/mips/mm/c-tx39.c current_cpu_data.icache.ways = 1; ways 321 arch/mips/mm/c-tx39.c current_cpu_data.dcache.ways = 1; ways 388 arch/mips/mm/c-tx39.c (dcache_size / current_cpu_data.dcache.ways) - 1, ways 397 arch/mips/mm/c-tx39.c current_cpu_data.icache.waysize = icache_size / current_cpu_data.icache.ways; ways 398 arch/mips/mm/c-tx39.c current_cpu_data.dcache.waysize = dcache_size / current_cpu_data.dcache.ways; ways 171 arch/mips/mm/sc-mips.c c->scache.ways = assoc + 1; ways 220 arch/mips/mm/sc-mips.c c->scache.ways = tmp + 1; ways 231 arch/mips/mm/sc-mips.c c->scache.ways = 4; ways 240 arch/mips/mm/sc-mips.c c->scache.ways = 4; ways 238 arch/mips/mm/sc-rm7k.c c->scache.ways = 4; ways 239 arch/mips/mm/sc-rm7k.c c->scache.waybit= __ffs(scache_size / c->scache.ways); ways 240 arch/mips/mm/sc-rm7k.c c->scache.waysize = scache_size / c->scache.ways; ways 241 arch/mips/mm/sc-rm7k.c c->scache.sets = scache_size / (c->scache.linesz * c->scache.ways); ways 268 arch/mips/mm/sc-rm7k.c c->tcache.ways = 1; ways 5 arch/nds32/include/asm/cache_info.h unsigned char ways; ways 104 arch/nds32/kernel/setup.c L1_cache_info[ICACHE].ways = CACHE_WAY(ICACHE); ways 108 arch/nds32/kernel/setup.c L1_cache_info[ICACHE].ways * L1_cache_info[ICACHE].line_size * ways 111 arch/nds32/kernel/setup.c L1_cache_info[ICACHE].sets, L1_cache_info[ICACHE].ways, ways 113 arch/nds32/kernel/setup.c L1_cache_info[DCACHE].ways = CACHE_WAY(DCACHE); ways 117 arch/nds32/kernel/setup.c L1_cache_info[DCACHE].ways * L1_cache_info[DCACHE].line_size * ways 120 arch/nds32/kernel/setup.c L1_cache_info[DCACHE].sets, L1_cache_info[DCACHE].ways, ways 132 arch/nds32/kernel/setup.c L1_cache_info[ICACHE].ways; ways 138 arch/nds32/kernel/setup.c L1_cache_info[DCACHE].ways; ways 104 arch/nds32/mm/proc.c line_size * L1_cache_info[ICACHE].ways * L1_cache_info[ICACHE].sets; ways 54 arch/powerpc/kvm/e500.h int entries, ways, sets; ways 42 arch/powerpc/kvm/e500_mmu.c if (unlikely(vcpu_e500->gtlb_nv[0] >= vcpu_e500->gtlb_params[0].ways)) ways 48 arch/powerpc/kvm/e500_mmu.c static int tlb0_set_base(gva_t addr, int sets, int ways) ways 53 arch/powerpc/kvm/e500_mmu.c set_base *= ways; ways 61 arch/powerpc/kvm/e500_mmu.c vcpu_e500->gtlb_params[0].ways); ways 70 arch/powerpc/kvm/e500_mmu.c esel &= vcpu_e500->gtlb_params[0].ways - 1; ways 89 arch/powerpc/kvm/e500_mmu.c size = vcpu_e500->gtlb_params[0].ways; ways 358 arch/powerpc/kvm/e500_mmu.c esel &= vcpu_e500->gtlb_params[tlbsel].ways - 1; ways 840 arch/powerpc/kvm/e500_mmu.c vcpu_e500->gtlb_params[0].ways = params.tlb_ways[0]; ways 843 arch/powerpc/kvm/e500_mmu.c vcpu_e500->gtlb_params[1].ways = params.tlb_sizes[1]; ways 880 arch/powerpc/kvm/e500_mmu.c vcpu->arch.tlbcfg[0] |= params[0].ways << TLBnCFG_ASSOC_SHIFT; ways 885 arch/powerpc/kvm/e500_mmu.c vcpu->arch.tlbcfg[1] |= params[1].ways << TLBnCFG_ASSOC_SHIFT; ways 912 arch/powerpc/kvm/e500_mmu.c vcpu_e500->gtlb_params[0].ways = KVM_E500_TLB0_WAY_NUM; ways 916 arch/powerpc/kvm/e500_mmu.c vcpu_e500->gtlb_params[1].ways = KVM_E500_TLB1_SIZE; ways 782 arch/powerpc/kvm/e500_mmu_host.c host_tlb_params[0].ways = (mfspr(SPRN_TLB0CFG) & TLBnCFG_ASSOC) >> ways 784 arch/powerpc/kvm/e500_mmu_host.c host_tlb_params[1].ways = host_tlb_params[1].entries; ways 787 arch/powerpc/kvm/e500_mmu_host.c !is_power_of_2(host_tlb_params[0].ways) || ways 788 arch/powerpc/kvm/e500_mmu_host.c host_tlb_params[0].entries < host_tlb_params[0].ways || ways 789 arch/powerpc/kvm/e500_mmu_host.c host_tlb_params[0].ways == 0) { ways 792 arch/powerpc/kvm/e500_mmu_host.c host_tlb_params[0].ways); ways 797 arch/powerpc/kvm/e500_mmu_host.c host_tlb_params[0].entries / host_tlb_params[0].ways; ways 63 arch/powerpc/sysdev/fsl_85xx_l2ctlr.c unsigned char ways; ways 84 arch/powerpc/sysdev/fsl_85xx_l2ctlr.c ways = LOCK_WAYS_FULL * sram_params.sram_size / l2cache_size; ways 85 arch/powerpc/sysdev/fsl_85xx_l2ctlr.c if (rem || (ways & (ways - 1))) { ways 112 arch/powerpc/sysdev/fsl_85xx_l2ctlr.c switch (ways) { ways 22 arch/sh/include/asm/cache.h unsigned int ways; /* Number of cache ways */ ways 126 arch/sh/kernel/cpu/init.c unsigned long ways, waysize, addrstart; ways 144 arch/sh/kernel/cpu/init.c ways = 1; ways 147 arch/sh/kernel/cpu/init.c ways = current_cpu_data.dcache.ways; ways 159 arch/sh/kernel/cpu/init.c } while (--ways); ways 170 arch/sh/kernel/cpu/init.c if (current_cpu_data.dcache.ways > 1) ways 200 arch/sh/kernel/cpu/init.c CSHAPE((desc).way_size * (desc).ways, ilog2((desc).linesz), (desc).ways) ways 71 arch/sh/kernel/cpu/proc.c cache_size = info.ways * info.sets * info.linesz; ways 74 arch/sh/kernel/cpu/proc.c type, cache_size >> 10, info.ways); ways 34 arch/sh/kernel/cpu/sh2/probe.c boot_cpu_data.dcache.ways = 4; ways 56 arch/sh/kernel/cpu/sh2/probe.c boot_cpu_data.dcache.ways = 1; ways 43 arch/sh/kernel/cpu/sh2a/probe.c boot_cpu_data.dcache.ways = 4; ways 50 arch/sh/kernel/cpu/sh3/probe.c boot_cpu_data.dcache.ways = 4; ways 38 arch/sh/kernel/cpu/sh4/probe.c boot_cpu_data.icache.ways = 1; ways 47 arch/sh/kernel/cpu/sh4/probe.c boot_cpu_data.dcache.ways = 1; ways 67 arch/sh/kernel/cpu/sh4/probe.c boot_cpu_data.icache.ways = 4; ways 68 arch/sh/kernel/cpu/sh4/probe.c boot_cpu_data.dcache.ways = 4; ways 171 arch/sh/kernel/cpu/sh4/probe.c boot_cpu_data.icache.ways = 2; ways 172 arch/sh/kernel/cpu/sh4/probe.c boot_cpu_data.dcache.ways = 2; ways 176 arch/sh/kernel/cpu/sh4/probe.c boot_cpu_data.icache.ways = 2; ways 177 arch/sh/kernel/cpu/sh4/probe.c boot_cpu_data.dcache.ways = 2; ways 192 arch/sh/kernel/cpu/sh4/probe.c boot_cpu_data.icache.ways = 2; ways 193 arch/sh/kernel/cpu/sh4/probe.c boot_cpu_data.dcache.ways = 2; ways 202 arch/sh/kernel/cpu/sh4/probe.c if (boot_cpu_data.icache.ways > 1) { ways 210 arch/sh/kernel/cpu/sh4/probe.c if (boot_cpu_data.dcache.ways > 1) { ways 244 arch/sh/kernel/cpu/sh4/probe.c boot_cpu_data.scache.ways = 4; ways 253 arch/sh/kernel/cpu/sh4/probe.c boot_cpu_data.scache.ways); ways 39 arch/sh/kernel/cpu/sh5/probe.c boot_cpu_data.icache.ways = 4; ways 66 arch/sh/mm/cache-debugfs.c for (way = 0; way < cache->ways; way++) { ways 60 arch/sh/mm/cache-sh2a.c nr_ways = current_cpu_data.dcache.ways; ways 107 arch/sh/mm/cache-sh2a.c int nr_ways = current_cpu_data.dcache.ways; ways 46 arch/sh/mm/cache-sh3.c for (j = 0; j < current_cpu_data.dcache.ways; j++) { ways 78 arch/sh/mm/cache-sh4.c for (i = 0; i < cpu_data->icache.ways; i++) { ways 156 arch/sh/mm/cache-sh4.c current_cpu_data.dcache.ways; ways 328 arch/sh/mm/cache-sh4.c way_count = dcache->ways; ways 266 arch/sh/mm/cache-sh5.c cpu_data->dcache.ways; ways 275 arch/sh/mm/cache-sh5.c cpu_data->dcache.ways; ways 34 arch/sh/mm/cache-sh7705.c unsigned long ways, waysize, addrstart; ways 36 arch/sh/mm/cache-sh7705.c ways = current_cpu_data.dcache.ways; ways 59 arch/sh/mm/cache-sh7705.c } while (--ways); ways 83 arch/sh/mm/cache-sh7705.c unsigned long ways, waysize, addrstart; ways 104 arch/sh/mm/cache-sh7705.c ways = current_cpu_data.dcache.ways; ways 126 arch/sh/mm/cache-sh7705.c } while (--ways); ways 260 arch/sh/mm/cache.c boot_cpu_data.icache.ways, ways 268 arch/sh/mm/cache.c boot_cpu_data.dcache.ways, ways 281 arch/sh/mm/cache.c boot_cpu_data.scache.ways, ways 59 arch/sh/mm/tlb-sh3.c int i, ways = MMU_NTLB_WAYS; ways 72 arch/sh/mm/tlb-sh3.c ways = 1; /* we already know the way .. */ ways 75 arch/sh/mm/tlb-sh3.c for (i = 0; i < ways; i++) ways 1152 drivers/edac/sb_edac.c int *ways) ways 1184 drivers/edac/sb_edac.c *ways = knl_tad_ways[way_id]; ways 1186 drivers/edac/sb_edac.c *ways = 0; ways 344 drivers/edac/skx_base.c static u64 skx_do_interleave(u64 addr, int shift, int ways, u64 lowbits) ways 347 drivers/edac/skx_base.c addr /= ways; ways 1160 drivers/gpu/drm/i915/i915_drv.c const unsigned int ways[8] = { 4, 8, 12, 16, 16, 16, 16, 16 }; ways 1164 drivers/gpu/drm/i915/i915_drv.c ways[EDRAM_WAYS_IDX(cap)] * ways 21 tools/perf/util/env.h u32 ways; ways 1016 tools/perf/util/header.c if (a->ways != b->ways) ways 1056 tools/perf/util/header.c if (sysfs__read_int(file, (int *) &cache->ways)) ways 1162 tools/perf/util/header.c _W(ways) ways 2548 tools/perf/util/header.c _R(ways)