Lines Matching refs:bits
353 unsigned bits; in amd_detect_cmp() local
357 bits = c->x86_coreid_bits; in amd_detect_cmp()
359 c->cpu_core_id = c->initial_apicid & ((1 << bits)-1); in amd_detect_cmp()
361 c->phys_proc_id = c->initial_apicid >> bits; in amd_detect_cmp()
373 socket_id = (c->apicid >> bits) - 1; in amd_detect_cmp()
374 core_complex_id = (c->apicid & ((1 << bits) - 1)) >> 3; in amd_detect_cmp()
451 unsigned bits, ecx; in early_init_amd_mc() local
462 bits = (ecx >> 12) & 0xF; in early_init_amd_mc()
465 if (bits == 0) { in early_init_amd_mc()
466 while ((1 << bits) < c->x86_max_cores) in early_init_amd_mc()
467 bits++; in early_init_amd_mc()
470 c->x86_coreid_bits = bits; in early_init_amd_mc()
521 va_align.bits = get_random_int() & va_align.mask; in bsp_init_amd()