Searched refs:bitfield32 (Results 1 – 2 of 2) sorted by relevance
| /xnu-8792.61.2/osfmk/i386/ |
| H A D | cpuid.c | 388 cache_type = bitfield32(reg[eax], 4, 0); in cpuid_set_cache_info() 392 cache_level = bitfield32(reg[eax], 7, 5); in cpuid_set_cache_info() 393 cache_sharing = bitfield32(reg[eax], 25, 14) + 1; in cpuid_set_cache_info() 395 = bitfield32(reg[eax], 31, 26) + 1; in cpuid_set_cache_info() 396 cache_linesize = bitfield32(reg[ebx], 11, 0) + 1; in cpuid_set_cache_info() 397 cache_partitions = bitfield32(reg[ebx], 21, 12) + 1; in cpuid_set_cache_info() 398 cache_associativity = bitfield32(reg[ebx], 31, 22) + 1; in cpuid_set_cache_info() 399 cache_sets = bitfield32(reg[ecx], 31, 0) + 1; in cpuid_set_cache_info() 623 info_p->cpuid_cache_linesize = bitfield32(reg[ecx], 7, 0); in cpuid_set_generic_info() 624 assoc = bitfield32(reg[ecx], 15, 12); in cpuid_set_generic_info() [all …]
|
| H A D | cpuid.h | 509 #define bitfield32(x, h, l) ((((x) & bitmask32(h,l)) >> l)) macro 550 if (bitfield32(cap5reg, 13, 9) == 3) { in is_xeon_sp()
|