/arch/mips/cavium-octeon/executive/ |
D | cvmx-l2c.c | 314 uint64_t assoc = cvmx_l2c_get_num_assoc(); in cvmx_l2c_lock_line() local 323 for (way = 0; way < assoc; way++) { in cvmx_l2c_lock_line() 333 if (way >= assoc) { in cvmx_l2c_lock_line() 427 uint64_t assoc, set; in cvmx_l2c_flush() local 439 for (assoc = 0; assoc < n_assoc; assoc++) { in cvmx_l2c_flush() 441 (assoc << assoc_shift) | (set << set_shift)); in cvmx_l2c_flush() 447 for (assoc = 0; assoc < n_assoc; assoc++) in cvmx_l2c_flush() 448 cvmx_l2c_flush_line(assoc, set); in cvmx_l2c_flush() 457 int assoc; in cvmx_l2c_unlock_line() local 470 for (assoc = 0; assoc < CVMX_L2_ASSOC; assoc++) { in cvmx_l2c_unlock_line() [all …]
|
/arch/mips/mm/ |
D | sc-mips.c | 161 unsigned long sets, line_sz, assoc; in mips_sc_probe_cm3() local 176 assoc = cfg & CM_GCR_L2_CONFIG_ASSOC_MSK; in mips_sc_probe_cm3() 177 assoc >>= CM_GCR_L2_CONFIG_ASSOC_SHF; in mips_sc_probe_cm3() 178 c->scache.ways = assoc + 1; in mips_sc_probe_cm3()
|
/arch/x86/kernel/cpu/ |
D | intel_cacheinfo.c | 172 unsigned assoc:8; member 182 unsigned assoc:4; member 192 unsigned assoc:4; member 229 unsigned line_size, lines_per_tag, assoc, size_in_kb; in amd_cpuid4() local 248 assoc = assocs[l1->assoc]; in amd_cpuid4() 256 assoc = assocs[l2.assoc]; in amd_cpuid4() 265 assoc = assocs[l3.assoc]; in amd_cpuid4() 271 assoc = assoc >> 1; in amd_cpuid4() 285 if (assoc == 0xffff) in amd_cpuid4() 288 ebx->split.ways_of_associativity = assoc - 1; in amd_cpuid4()
|
D | amd.c | 518 u32 cpuid, assoc; in bsp_init_amd() local 521 assoc = cpuid >> 16 & 0xff; in bsp_init_amd() 522 upperbit = ((cpuid >> 24) << 10) / assoc; in bsp_init_amd()
|
/arch/x86/crypto/ |
D | aesni-intel_glue.c | 883 u8 *src, *dst, *assoc; in helper_rfc4106_encrypt() local 913 assoc = scatterwalk_map(&src_sg_walk); in helper_rfc4106_encrypt() 914 src = assoc + req->assoclen; in helper_rfc4106_encrypt() 922 assoc = kmalloc(req->cryptlen + auth_tag_len + req->assoclen, in helper_rfc4106_encrypt() 924 if (unlikely(!assoc)) in helper_rfc4106_encrypt() 926 scatterwalk_map_and_copy(assoc, req->src, 0, in helper_rfc4106_encrypt() 928 src = assoc + req->assoclen; in helper_rfc4106_encrypt() 934 ctx->hash_subkey, assoc, req->assoclen - 8, in helper_rfc4106_encrypt() 946 scatterwalk_unmap(assoc); in helper_rfc4106_encrypt() 952 kfree(assoc); in helper_rfc4106_encrypt() [all …]
|
/arch/arc/mm/ |
D | cache.c | 48 (p)->sz_k, (p)->assoc, (p)->line_len, \ in arc_cache_mumbojumbo() 148 p_ic->assoc = 2; /* Fixed to 2w set assoc */ in read_decode_cache_bcr() 150 p_ic->assoc = 1 << ibcr.config; /* 1,2,4,8 */ in read_decode_cache_bcr() 157 p_ic->alias = p_ic->sz_k/p_ic->assoc/TO_KB(PAGE_SIZE) > 1; in read_decode_cache_bcr() 168 p_dc->assoc = 4; /* Fixed to 4w set assoc */ in read_decode_cache_bcr() 170 p_dc->alias = p_dc->sz_k/p_dc->assoc/TO_KB(PAGE_SIZE) > 1; in read_decode_cache_bcr() 172 p_dc->assoc = 1 << dbcr.config; /* 1,2,4,8 */ in read_decode_cache_bcr() 991 int num_colors = dc->sz_k/dc->assoc/TO_KB(PAGE_SIZE); in arc_cache_init()
|
D | tlbex.S | 376 ; MMU with 2 way set assoc J-TLB, needs some help in pathetic case of
|
/arch/sh/kernel/cpu/ |
D | init.c | 199 #define CSHAPE(totalsize, linesize, assoc) \ argument 200 ((totalsize & ~0xff) | (linesize << 4) | assoc)
|
/arch/arm/mm/ |
D | cache-l2x0.c | 1042 u32 assoc; in l2x0_of_parse() local 1078 ret = l2x0_cache_size_of_parse(np, aux_val, aux_mask, &assoc, SZ_256K); in l2x0_of_parse() 1082 if (assoc > 8) { in l2x0_of_parse() 1084 pr_err("l2x0 of: %d calculated, max 8\n", assoc); in l2x0_of_parse() 1087 val |= (assoc << L2X0_AUX_CTRL_ASSOC_SHIFT); in l2x0_of_parse() 1141 u32 assoc; in l2c310_of_parse() local 1171 ret = l2x0_cache_size_of_parse(np, aux_val, aux_mask, &assoc, SZ_512K); in l2c310_of_parse() 1173 switch (assoc) { in l2c310_of_parse() 1185 assoc); in l2c310_of_parse()
|
/arch/mips/include/asm/octeon/ |
D | cvmx-l2c.h | 367 void cvmx_l2c_flush_line(uint32_t assoc, uint32_t index);
|
/arch/arc/include/asm/ |
D | arcregs.h | 337 unsigned int sz_k:14, line_len:8, assoc:4, ver:4, alias:1, vipt:1; member
|
/arch/powerpc/xmon/ |
D | xmon.c | 3135 int nent, assoc, new_cc = 1; in dump_tlb_book3e() local 3155 assoc = (tlbcfg >> 24) & 0xff; in dump_tlb_book3e() 3163 if (assoc != 0) { in dump_tlb_book3e() 3164 cc = i / assoc; in dump_tlb_book3e() 3165 esel = i % assoc; in dump_tlb_book3e() 3177 if (assoc && (i % assoc) == 0) in dump_tlb_book3e() 3181 if (assoc == 0) in dump_tlb_book3e()
|
/arch/alpha/kernel/ |
D | setup.c | 1313 #define CSHAPE(totalsize, linesize, assoc) \ argument 1314 ((totalsize & ~0xff) | (linesize << 4) | assoc)
|
/arch/sparc/include/asm/ |
D | hypervisor.h | 468 unsigned short assoc; member
|
/arch/sparc/mm/ |
D | tsb.c | 260 hp->assoc = 1; in setup_tsb_params()
|
D | init_64.c | 2011 ktsb_descr[0].assoc = 1; in sun4v_ktsb_init() 2028 ktsb_descr[1].assoc = 1; in sun4v_ktsb_init()
|