Lines Matching refs:shift
396 int shift; in start_all_aps() local
546 for (shift = 0; (1 << shift) <= ncpus; ++shift) in start_all_aps()
548 --shift; in start_all_aps()
551 if ((1 << shift) < ncpus) in start_all_aps()
552 ++shift; in start_all_aps()
553 ncpus_fit = 1 << shift; in start_all_aps()
1699 int shift = 0; in detect_intel_topology() local
1715 for (shift = 0; (1 << shift) < count_htt_cores; ++shift) in detect_intel_topology()
1717 logical_CPU_bits = 1 << shift; in detect_intel_topology()
1756 for (shift = 0; (1 << shift) < logical_per_core; ++shift) in detect_intel_topology()
1758 logical_CPU_bits = shift; in detect_intel_topology()
1760 for (shift = 0; (1 << shift) < cores_per_package; ++shift) in detect_intel_topology()
1762 core_bits = shift; in detect_intel_topology()
1773 int shift = 0; in detect_amd_topology() local
1780 for (shift = 0; (1 << shift) < core_bits; ++shift) in detect_amd_topology()
1782 core_bits = shift; in detect_amd_topology()
1785 for (shift = 0; (1 << shift) < logical_CPU_bits; ++shift) in detect_amd_topology()
1787 logical_CPU_bits = shift; in detect_amd_topology()
1862 shift = 0; in detect_amd_topology()
1863 while ((1 << shift) < share_count) in detect_amd_topology()
1864 ++shift; in detect_amd_topology()
1873 logical_CPU_bits = shift; in detect_amd_topology()
1882 shift; in detect_amd_topology()
1904 for (shift = 0; (1 << shift) < count_htt_cores; ++shift) in detect_amd_topology()
1906 core_bits = shift; in detect_amd_topology()