Home
last modified time | relevance | path

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

/external/cpu_features/src/
Dcpuinfo_x86.c164 static Leaf SafeCpuIdEx(uint32_t max_cpuid_leaf, uint32_t leaf_id, int ecx) { in SafeCpuIdEx() argument
165 if (leaf_id <= max_cpuid_leaf) { in SafeCpuIdEx()
172 static Leaf SafeCpuId(uint32_t max_cpuid_leaf, uint32_t leaf_id) { in SafeCpuId() argument
173 return SafeCpuIdEx(max_cpuid_leaf, leaf_id, 0); in SafeCpuId()
1123 static void ParseLeaf2(const int max_cpuid_leaf, CacheInfo* info) { in ParseLeaf2() argument
1124 Leaf leaf = SafeCpuId(max_cpuid_leaf, 2); in ParseLeaf2()
1141 static void ParseLeaf4(const int max_cpuid_leaf, CacheInfo* info) { in ParseLeaf4() argument
1144 const Leaf leaf = SafeCpuIdEx(max_cpuid_leaf, 4, cache_id); in ParseLeaf4()
1179 static OsSupport CheckOsSupport(const uint32_t max_cpuid_leaf) { in CheckOsSupport() argument
1180 const Leaf leaf_1 = SafeCpuId(max_cpuid_leaf, 1); in CheckOsSupport()
[all …]