Home
last modified time | relevance | path

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

/xnu-12377.81.4/osfmk/i386/
H A Dcpuid.c389 cache_type = bitfield32(reg[eax], 4, 0); in cpuid_set_cache_info()
393 cache_level = bitfield32(reg[eax], 7, 5); in cpuid_set_cache_info()
394 cache_sharing = bitfield32(reg[eax], 25, 14) + 1; in cpuid_set_cache_info()
396 = bitfield32(reg[eax], 31, 26) + 1; in cpuid_set_cache_info()
397 cache_linesize = bitfield32(reg[ebx], 11, 0) + 1; in cpuid_set_cache_info()
398 cache_partitions = bitfield32(reg[ebx], 21, 12) + 1; in cpuid_set_cache_info()
399 cache_associativity = bitfield32(reg[ebx], 31, 22) + 1; in cpuid_set_cache_info()
400 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()
627 uint32_t assoc = bitfield32(reg[ecx], 15, 12); in cpuid_set_generic_info()
[all …]
H A Dcpuid.h510 #define bitfield32(x, h, l) ((((x) & bitmask32(h,l)) >> l)) macro
551 if (bitfield32(cap5reg, 13, 9) == 3) { in is_xeon_sp()