Lines Matching full:leaf
3 * Check for extended topology enumeration cpuid leaf 0xb and if it
15 /* leaf 0xb SMT level */
18 /* extended topology sub-leaf types */
33 * Check if given CPUID extended topology "leaf" is implemented
35 static int check_extended_topology_leaf(int leaf) in check_extended_topology_leaf() argument
39 cpuid_count(leaf, SMT_LEVEL, &eax, &ebx, &ecx, &edx); in check_extended_topology_leaf()
47 * Return best CPUID Extended Topology Leaf supported
69 int leaf; in detect_extended_topology_early() local
71 leaf = detect_extended_topology_leaf(c); in detect_extended_topology_early()
72 if (leaf < 0) in detect_extended_topology_early()
77 cpuid_count(leaf, SMT_LEVEL, &eax, &ebx, &ecx, &edx); in detect_extended_topology_early()
88 * Check for extended topology enumeration cpuid leaf, and if it
101 int leaf; in detect_extended_topology() local
103 leaf = detect_extended_topology_leaf(c); in detect_extended_topology()
104 if (leaf < 0) in detect_extended_topology()
108 * Populate HT related information from sub-leaf level 0. in detect_extended_topology()
110 cpuid_count(leaf, SMT_LEVEL, &eax, &ebx, &ecx, &edx); in detect_extended_topology()
120 cpuid_count(leaf, sub_index, &eax, &ebx, &ecx, &edx); in detect_extended_topology()