Home
last modified time | relevance | path

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

/arch/x86/kernel/cpu/
A Dtopology_ext.c45 static inline bool topo_subleaf(struct topo_scan *tscan, u32 leaf, u32 subleaf, in topo_subleaf() argument
73 cpuid_subleaf(leaf, subleaf, &sl); in topo_subleaf()
80 leaf, subleaf, sl.type); in topo_subleaf()
97 leaf, subleaf, tscan->c->topo.initial_apicid, sl.x2apic_id); in topo_subleaf()
107 u32 subleaf; in parse_topology_leaf() local
110 for (subleaf = 0, last_dom = 0; topo_subleaf(tscan, leaf, subleaf, &last_dom); subleaf++); in parse_topology_leaf()
113 if (!subleaf) in parse_topology_leaf()
/arch/x86/include/asm/cpuid/
A Dapi.h127 static inline void __cpuid_read(u32 leaf, u32 subleaf, u32 *regs) in __cpuid_read() argument
130 regs[CPUID_ECX] = subleaf; in __cpuid_read()
134 #define cpuid_subleaf(leaf, subleaf, regs) { \ argument
136 __cpuid_read(leaf, subleaf, (u32 *)(regs)); \
144 static inline void __cpuid_read_reg(u32 leaf, u32 subleaf, in __cpuid_read_reg() argument
149 __cpuid_read(leaf, subleaf, regs); in __cpuid_read_reg()
153 #define cpuid_subleaf_reg(leaf, subleaf, regidx, reg) { \ argument
155 __cpuid_read_reg(leaf, subleaf, regidx, (u32 *)(reg)); \
/arch/x86/kernel/cpu/resctrl/
A Dcore.c220 u32 eax, ebx, ecx, edx, subleaf; in __rdt_get_mem_config_amd() local
226 subleaf = (r->rid == RDT_RESOURCE_SMBA) ? 2 : 1; in __rdt_get_mem_config_amd()
228 cpuid_count(0x80000020, subleaf, &eax, &ebx, &ecx, &edx); in __rdt_get_mem_config_amd()

Completed in 7 milliseconds