Lines Matching refs:bitfield
49 #define bitfield(x,h,l) (((x) & bitmask(h,l)) >> l)
148 if (bitfield(cache_info[eax], 4, 0) == 0)
154 this_level = bitfield(cache_info[eax], 7, 5);
166 nCPUsSharing = bitfield(cache_info[eax], 25, 14) + 1;
307 if (bitfield(cache_info[eax], 4, 0) == 0)
315 cur->type = bitfield(cache_info[eax], 4, 0);
316 cur->level = bitfield(cache_info[eax], 7, 5);
317 cur->maxcpus = (bitfield(cache_info[eax], 25, 14) + 1);
318 cur->line_size = bitfield(cache_info[ebx], 11, 0) + 1;
319 cur->partitions = bitfield(cache_info[ebx], 21, 12) + 1;
320 cur->ways = bitfield(cache_info[ebx], 31, 22) + 1;
321 nsets = bitfield(cache_info[ecx], 31, 0) + 1;