Home
last modified time | relevance | path

Searched refs:subleaf (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/arch/x86/kernel/cpu/
Dintel_pconfig.c42 int subleaf; in intel_pconfig_init() local
55 for (subleaf = 0; subleaf < INT_MAX; subleaf++) { in intel_pconfig_init()
58 cpuid_count(PCONFIG_CPUID, subleaf, in intel_pconfig_init()
/Linux-v6.6/tools/arch/x86/kcpuid/
Dkcpuid.c48 struct subleaf { struct
61 struct subleaf *leafs; argument
124 static void leaf_print_raw(struct subleaf *leaf) in leaf_print_raw()
139 static bool cpuid_store(struct cpuid_range *range, u32 f, int subleaf, in cpuid_store() argument
143 struct subleaf *leaf; in cpuid_store()
156 func->leafs = malloc(sizeof(struct subleaf)); in cpuid_store()
173 leaf->sub = subleaf; in cpuid_store()
211 int subleaf; in setup_cpuid_range() local
243 subleaf = ecx = 0; in setup_cpuid_range()
246 allzero = cpuid_store(range, f, subleaf, eax, ebx, ecx, edx); in setup_cpuid_range()
[all …]
/Linux-v6.6/tools/perf/arch/x86/tests/
Dintel-pt-test.c352 struct cpuid_result subleaf[INTEL_PT_SUBLEAF_CNT]; member
372 caps->subleaf[i] = r; in get_pt_caps()
393 .subleaf = { in compare_caps()
410 m = mask.subleaf[i].reg[j]; in compare_caps()
411 reg = m & caps->subleaf[i].reg[j]; in compare_caps()
412 reg0 = m & caps0->subleaf[i].reg[j]; in compare_caps()
422 reg = m & caps->subleaf[1].eax; in compare_caps()
423 reg0 = m & caps0->subleaf[1].eax; in compare_caps()
/Linux-v6.6/arch/x86/kernel/cpu/resctrl/
Dcore.c235 u32 ebx, ecx, subleaf; in __rdt_get_mem_config_amd() local
241 subleaf = (r->rid == RDT_RESOURCE_SMBA) ? 2 : 1; in __rdt_get_mem_config_amd()
243 cpuid_count(0x80000020, subleaf, &eax.full, &ebx, &ecx, &edx.full); in __rdt_get_mem_config_amd()