Lines Matching refs:Family
647 static void detectX86FamilyModel(unsigned EAX, unsigned *Family, in detectX86FamilyModel() argument
649 *Family = (EAX >> 8) & 0xf; // Bits 8 - 11 in detectX86FamilyModel()
651 if (*Family == 6 || *Family == 0xf) { in detectX86FamilyModel()
652 if (*Family == 0xf) in detectX86FamilyModel()
654 *Family += (EAX >> 20) & 0xff; // Bits 20 - 27 in detectX86FamilyModel()
661 getIntelProcessorTypeAndSubtype(unsigned Family, unsigned Model, in getIntelProcessorTypeAndSubtype() argument
670 switch (Family) { in getIntelProcessorTypeAndSubtype()
958 getAMDProcessorTypeAndSubtype(unsigned Family, unsigned Model, in getAMDProcessorTypeAndSubtype() argument
967 switch (Family) { in getAMDProcessorTypeAndSubtype()
1220 unsigned Family = 0, Model = 0; in getHostCPUName() local
1222 detectX86FamilyModel(EAX, &Family, &Model); in getHostCPUName()
1233 CPU = getIntelProcessorTypeAndSubtype(Family, Model, Features, &Type, in getHostCPUName()
1236 CPU = getAMDProcessorTypeAndSubtype(Family, Model, Features, &Type, in getHostCPUName()
1343 uint32_t Family; in getHostCPUName() local
1344 size_t Length = sizeof(Family); in getHostCPUName()
1345 sysctlbyname("hw.cpufamily", &Family, &Length, NULL, 0); in getHostCPUName()
1347 switch (Family) { in getHostCPUName()