/arch/mips/cavium-octeon/executive/ |
D | cvmx-l2c.c | 318 uint64_t assoc = cvmx_l2c_get_num_assoc(); in cvmx_l2c_lock_line() local 327 for (way = 0; way < assoc; way++) { in cvmx_l2c_lock_line() 337 if (way >= assoc) { in cvmx_l2c_lock_line() 433 uint64_t assoc, set; in cvmx_l2c_flush() local 446 for (assoc = 0; assoc < n_assoc; assoc++) { in cvmx_l2c_flush() 448 (assoc << assoc_shift) | (set << set_shift)); in cvmx_l2c_flush() 454 for (assoc = 0; assoc < n_assoc; assoc++) in cvmx_l2c_flush() 455 cvmx_l2c_flush_line(assoc, set); in cvmx_l2c_flush() 464 int assoc; in cvmx_l2c_unlock_line() local 477 for (assoc = 0; assoc < CVMX_L2_ASSOC; assoc++) { in cvmx_l2c_unlock_line() [all …]
|
/arch/mips/mm/ |
D | sc-mips.c | 153 unsigned long sets, line_sz, assoc; in mips_sc_probe_cm3() local 168 assoc = cfg & CM_GCR_L2_CONFIG_ASSOC; in mips_sc_probe_cm3() 169 assoc >>= __ffs(CM_GCR_L2_CONFIG_ASSOC); in mips_sc_probe_cm3() 170 c->scache.ways = assoc + 1; in mips_sc_probe_cm3()
|
/arch/arm64/boot/dts/hisilicon/ |
D | hi6220-coresight.dtsi | 388 arm,cs-dev-assoc = <&etm0>; 401 arm,cs-dev-assoc = <&etm1>; 414 arm,cs-dev-assoc = <&etm2>; 427 arm,cs-dev-assoc = <&etm3>; 440 arm,cs-dev-assoc = <&etm4>; 453 arm,cs-dev-assoc = <&etm5>; 466 arm,cs-dev-assoc = <&etm6>; 479 arm,cs-dev-assoc = <&etm7>;
|
/arch/x86/kernel/cpu/ |
D | cacheinfo.c | 178 unsigned assoc:8; member 188 unsigned assoc:4; member 198 unsigned assoc:4; member 235 unsigned line_size, lines_per_tag, assoc, size_in_kb; in amd_cpuid4() local 255 assoc = assocs[l1->assoc]; in amd_cpuid4() 263 assoc = assocs[l2.assoc]; in amd_cpuid4() 272 assoc = assocs[l3.assoc]; in amd_cpuid4() 278 assoc = assoc >> 1; in amd_cpuid4() 292 if (assoc == 0xffff) in amd_cpuid4() 295 ebx->split.ways_of_associativity = assoc - 1; in amd_cpuid4()
|
D | amd.c | 601 u32 cpuid, assoc; in bsp_init_amd() local 604 assoc = cpuid >> 16 & 0xff; in bsp_init_amd() 605 upperbit = ((cpuid >> 24) << 10) / assoc; in bsp_init_amd()
|
/arch/arc/mm/ |
D | cache.c | 49 (p)->sz_k, (p)->assoc, (p)->line_len, \ in arc_cache_mumbojumbo() 162 p_ic->assoc = 2; /* Fixed to 2w set assoc */ in read_decode_cache_bcr() 164 p_ic->assoc = 1 << ibcr.config; /* 1,2,4,8 */ in read_decode_cache_bcr() 170 p_ic->alias = p_ic->sz_k/p_ic->assoc/TO_KB(PAGE_SIZE) > 1; in read_decode_cache_bcr() 181 p_dc->assoc = 4; /* Fixed to 4w set assoc */ in read_decode_cache_bcr() 183 p_dc->alias = p_dc->sz_k/p_dc->assoc/TO_KB(PAGE_SIZE) > 1; in read_decode_cache_bcr() 185 p_dc->assoc = 1 << dbcr.config; /* 1,2,4,8 */ in read_decode_cache_bcr() 1171 int num_colors = dc->sz_k/dc->assoc/TO_KB(PAGE_SIZE); in arc_cache_init_master()
|
/arch/sh/kernel/cpu/ |
D | init.c | 196 #define CSHAPE(totalsize, linesize, assoc) \ argument 197 ((totalsize & ~0xff) | (linesize << 4) | assoc)
|
/arch/powerpc/include/asm/ |
D | cache.h | 46 u32 assoc; member
|
D | elf.h | 137 (ppc64_caches.level.assoc << 16 | ppc64_caches.level.line_size)
|
/arch/arm/mm/ |
D | cache-l2x0.c | 1033 u32 assoc; in l2x0_of_parse() local 1069 ret = l2x0_cache_size_of_parse(np, aux_val, aux_mask, &assoc, SZ_256K); in l2x0_of_parse() 1073 if (assoc > 8) { in l2x0_of_parse() 1075 pr_err("l2x0 of: %d calculated, max 8\n", assoc); in l2x0_of_parse() 1078 val |= (assoc << L2X0_AUX_CTRL_ASSOC_SHIFT); in l2x0_of_parse() 1132 u32 assoc; in l2c310_of_parse() local 1162 ret = l2x0_cache_size_of_parse(np, aux_val, aux_mask, &assoc, SZ_512K); in l2c310_of_parse() 1164 switch (assoc) { in l2c310_of_parse() 1176 assoc); in l2c310_of_parse()
|
/arch/x86/crypto/ |
D | aesni-intel_glue.c | 683 u8 *assoc; in gcmaes_crypt_by_sg() local 695 assoc = scatterwalk_map(&assoc_sg_walk); in gcmaes_crypt_by_sg() 704 assoc = assocmem; in gcmaes_crypt_by_sg() 706 scatterwalk_map_and_copy(assoc, req->src, 0, assoclen, 0); in gcmaes_crypt_by_sg() 711 aesni_gcm_init_avx_gen4(aes_ctx, data, iv, hash_subkey, assoc, in gcmaes_crypt_by_sg() 714 aesni_gcm_init_avx_gen2(aes_ctx, data, iv, hash_subkey, assoc, in gcmaes_crypt_by_sg() 717 aesni_gcm_init(aes_ctx, data, iv, hash_subkey, assoc, assoclen); in gcmaes_crypt_by_sg() 721 scatterwalk_unmap(assoc); in gcmaes_crypt_by_sg()
|
/arch/mips/include/asm/octeon/ |
D | cvmx-l2c.h | 362 void cvmx_l2c_flush_line(uint32_t assoc, uint32_t index);
|
/arch/powerpc/kernel/ |
D | setup_64.c | 516 info->assoc = 0xffff; in init_cache_info() 518 info->assoc = size / (sets * lsize); in init_cache_info()
|
/arch/powerpc/platforms/pseries/ |
D | lpar.c | 229 __be32 *assoc; in __get_cpu_associativity() local 232 assoc = &cpu_assoc[(int)(cpu / threads_per_core) * VPHN_ASSOC_BUFSIZE]; in __get_cpu_associativity() 233 if (!assoc[0]) { in __get_cpu_associativity() 234 rc = hcall_vphn(cpu, flag, &assoc[0]); in __get_cpu_associativity() 239 return assoc; in __get_cpu_associativity()
|
/arch/arc/include/asm/ |
D | arcregs.h | 316 unsigned int sz_k:14, line_len:8, assoc:4, alias:1, vipt:1, pad:4; member
|
/arch/powerpc/xmon/ |
D | xmon.c | 3882 int nent, assoc, new_cc = 1; in dump_tlb_book3e() local 3902 assoc = (tlbcfg >> 24) & 0xff; in dump_tlb_book3e() 3910 if (assoc != 0) { in dump_tlb_book3e() 3911 cc = i / assoc; in dump_tlb_book3e() 3912 esel = i % assoc; in dump_tlb_book3e() 3924 if (assoc && (i % assoc) == 0) in dump_tlb_book3e() 3928 if (assoc == 0) in dump_tlb_book3e()
|
/arch/alpha/kernel/ |
D | setup.c | 1237 #define CSHAPE(totalsize, linesize, assoc) \ argument 1238 ((totalsize & ~0xff) | (linesize << 4) | assoc)
|
/arch/sparc/include/asm/ |
D | hypervisor.h | 491 unsigned short assoc; member
|
/arch/sparc/mm/ |
D | tsb.c | 306 hp->assoc = 1; in setup_tsb_params()
|
D | init_64.c | 2156 ktsb_descr[0].assoc = 1; in sun4v_ktsb_init() 2173 ktsb_descr[1].assoc = 1; in sun4v_ktsb_init()
|
/arch/arm64/boot/dts/qcom/ |
D | msm8916.dtsi | 778 arm,cs-dev-assoc = <&etm0>; 793 arm,cs-dev-assoc = <&etm1>; 808 arm,cs-dev-assoc = <&etm2>; 823 arm,cs-dev-assoc = <&etm3>;
|