Lines Matching refs:split
132 } split; member
141 } split; member
148 } split; member
278 eax->split.is_self_initializing = 1; in amd_cpuid4()
279 eax->split.type = types[leaf]; in amd_cpuid4()
280 eax->split.level = levels[leaf]; in amd_cpuid4()
281 eax->split.num_threads_sharing = 0; in amd_cpuid4()
282 eax->split.num_cores_on_die = __this_cpu_read(cpu_info.x86_max_cores) - 1; in amd_cpuid4()
286 eax->split.is_fully_associative = 1; in amd_cpuid4()
287 ebx->split.coherency_line_size = line_size - 1; in amd_cpuid4()
288 ebx->split.ways_of_associativity = assoc - 1; in amd_cpuid4()
289 ebx->split.physical_line_partition = lines_per_tag - 1; in amd_cpuid4()
290 ecx->split.number_of_sets = (size_in_kb * 1024) / line_size / in amd_cpuid4()
291 (ebx->split.ways_of_associativity + 1) - 1; in amd_cpuid4()
604 if (eax.split.type == CTYPE_NULL) in cpuid4_cache_lookup_regs()
610 this_leaf->size = (ecx.split.number_of_sets + 1) * in cpuid4_cache_lookup_regs()
611 (ebx.split.coherency_line_size + 1) * in cpuid4_cache_lookup_regs()
612 (ebx.split.physical_line_partition + 1) * in cpuid4_cache_lookup_regs()
613 (ebx.split.ways_of_associativity + 1); in cpuid4_cache_lookup_regs()
633 } while (cache_eax.split.type != CTYPE_NULL); in find_num_cache_leaves()
682 switch (this_leaf.eax.split.level) { in init_intel_cacheinfo()
684 if (this_leaf.eax.split.type == CTYPE_DATA) in init_intel_cacheinfo()
686 else if (this_leaf.eax.split.type == CTYPE_INST) in init_intel_cacheinfo()
691 num_threads_sharing = 1 + this_leaf.eax.split.num_threads_sharing; in init_intel_cacheinfo()
697 num_threads_sharing = 1 + this_leaf.eax.split.num_threads_sharing; in init_intel_cacheinfo()
816 nshared = base->eax.split.num_threads_sharing + 1; in __cache_amd_cpumap_setup()
874 num_threads_sharing = 1 + base->eax.split.num_threads_sharing; in __cache_cpumap_setup()
897 this_leaf->level = base->eax.split.level; in ci_leaf_init()
898 this_leaf->type = cache_type_map[base->eax.split.type]; in ci_leaf_init()
900 base->ebx.split.coherency_line_size + 1; in ci_leaf_init()
902 base->ebx.split.ways_of_associativity + 1; in ci_leaf_init()
904 this_leaf->number_of_sets = base->ecx.split.number_of_sets + 1; in ci_leaf_init()
906 base->ebx.split.physical_line_partition + 1; in ci_leaf_init()