Lines Matching refs:split
137 } split; member
146 } split; member
153 } split; member
285 eax->split.is_self_initializing = 1; in amd_cpuid4()
286 eax->split.type = types[leaf]; in amd_cpuid4()
287 eax->split.level = levels[leaf]; in amd_cpuid4()
288 eax->split.num_threads_sharing = 0; in amd_cpuid4()
289 eax->split.num_cores_on_die = __this_cpu_read(cpu_info.x86_max_cores) - 1; in amd_cpuid4()
293 eax->split.is_fully_associative = 1; in amd_cpuid4()
294 ebx->split.coherency_line_size = line_size - 1; in amd_cpuid4()
295 ebx->split.ways_of_associativity = assoc - 1; in amd_cpuid4()
296 ebx->split.physical_line_partition = lines_per_tag - 1; in amd_cpuid4()
297 ecx->split.number_of_sets = (size_in_kb * 1024) / line_size / in amd_cpuid4()
298 (ebx->split.ways_of_associativity + 1) - 1; in amd_cpuid4()
615 if (eax.split.type == CTYPE_NULL) in cpuid4_cache_lookup_regs()
621 this_leaf->size = (ecx.split.number_of_sets + 1) * in cpuid4_cache_lookup_regs()
622 (ebx.split.coherency_line_size + 1) * in cpuid4_cache_lookup_regs()
623 (ebx.split.physical_line_partition + 1) * in cpuid4_cache_lookup_regs()
624 (ebx.split.ways_of_associativity + 1); in cpuid4_cache_lookup_regs()
645 } while (cache_eax.split.type != CTYPE_NULL); in find_num_cache_leaves()
753 switch (this_leaf.eax.split.level) { in init_intel_cacheinfo()
755 if (this_leaf.eax.split.type == CTYPE_DATA) in init_intel_cacheinfo()
757 else if (this_leaf.eax.split.type == CTYPE_INST) in init_intel_cacheinfo()
762 num_threads_sharing = 1 + this_leaf.eax.split.num_threads_sharing; in init_intel_cacheinfo()
768 num_threads_sharing = 1 + this_leaf.eax.split.num_threads_sharing; in init_intel_cacheinfo()
905 nshared = base->eax.split.num_threads_sharing + 1; in __cache_amd_cpumap_setup()
951 num_threads_sharing = 1 + base->eax.split.num_threads_sharing; in __cache_cpumap_setup()
976 this_leaf->level = base->eax.split.level; in ci_leaf_init()
977 this_leaf->type = cache_type_map[base->eax.split.type]; in ci_leaf_init()
979 base->ebx.split.coherency_line_size + 1; in ci_leaf_init()
981 base->ebx.split.ways_of_associativity + 1; in ci_leaf_init()
983 this_leaf->number_of_sets = base->ecx.split.number_of_sets + 1; in ci_leaf_init()
985 base->ebx.split.physical_line_partition + 1; in ci_leaf_init()
1013 num_threads_sharing = 1 + id4_regs->eax.split.num_threads_sharing; in get_cache_id()