/linux-6.12.1/arch/arm/common/ |
D | bL_switcher.c | 70 ib_cpu = MPIDR_AFFINITY_LEVEL(ib_mpidr, 0); in bL_do_switch() 71 ib_cluster = MPIDR_AFFINITY_LEVEL(ib_mpidr, 1); in bL_do_switch() 125 unsigned int clusterid = MPIDR_AFFINITY_LEVEL(mpidr, 1); in bL_switchpoint() 157 ob_cpu = MPIDR_AFFINITY_LEVEL(ob_mpidr, 0); in bL_switch_to() 158 ob_cluster = MPIDR_AFFINITY_LEVEL(ob_mpidr, 1); in bL_switch_to() 166 ib_cpu = MPIDR_AFFINITY_LEVEL(ib_mpidr, 0); in bL_switch_to() 167 ib_cluster = MPIDR_AFFINITY_LEVEL(ib_mpidr, 1); in bL_switch_to() 428 cpu = MPIDR_AFFINITY_LEVEL(cpu_logical_map(i), 0); in bL_switcher_halve_cpus() 429 cluster = MPIDR_AFFINITY_LEVEL(cpu_logical_map(i), 1); in bL_switcher_halve_cpus() 454 cluster = MPIDR_AFFINITY_LEVEL(cpu_logical_map(i), 1); in bL_switcher_halve_cpus() [all …]
|
D | mcpm_platsmp.c | 25 *pcpu = MPIDR_AFFINITY_LEVEL(mpidr, 0); in cpu_to_pcpu() 26 *pcluster = MPIDR_AFFINITY_LEVEL(mpidr, 1); in cpu_to_pcpu() 75 pcpu = MPIDR_AFFINITY_LEVEL(mpidr, 0); in mcpm_cpu_die() 76 pcluster = MPIDR_AFFINITY_LEVEL(mpidr, 1); in mcpm_cpu_die()
|
D | mcpm_entry.c | 246 cpu = MPIDR_AFFINITY_LEVEL(mpidr, 0); in mcpm_cpu_power_down() 247 cluster = MPIDR_AFFINITY_LEVEL(mpidr, 1); in mcpm_cpu_power_down() 331 unsigned int cpu = MPIDR_AFFINITY_LEVEL(mpidr, 0); in mcpm_cpu_suspend() 332 unsigned int cluster = MPIDR_AFFINITY_LEVEL(mpidr, 1); in mcpm_cpu_suspend() 350 cpu = MPIDR_AFFINITY_LEVEL(mpidr, 0); in mcpm_cpu_powered_up() 351 cluster = MPIDR_AFFINITY_LEVEL(mpidr, 1); in mcpm_cpu_powered_up() 377 unsigned int cpu = MPIDR_AFFINITY_LEVEL(mpidr, 0); in nocache_trampoline() 378 unsigned int cluster = MPIDR_AFFINITY_LEVEL(mpidr, 1); in nocache_trampoline() 442 this_cluster = MPIDR_AFFINITY_LEVEL(mpidr, 1); in mcpm_sync_init()
|
/linux-6.12.1/arch/arm/mach-milbeaut/ |
D | platsmp.c | 31 cpu = MPIDR_AFFINITY_LEVEL(mpidr, 0); in m10v_boot_secondary() 32 cluster = MPIDR_AFFINITY_LEVEL(mpidr, 1); in m10v_boot_secondary() 60 cpu = MPIDR_AFFINITY_LEVEL(mpidr, 0); in m10v_smp_init() 61 cluster = MPIDR_AFFINITY_LEVEL(mpidr, 1); in m10v_smp_init() 81 cpu = MPIDR_AFFINITY_LEVEL(mpidr, 0); in m10v_cpu_kill()
|
/linux-6.12.1/arch/arm/kernel/ |
D | topology.c | 204 cpuid_topo->thread_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in store_cpu_topology() 205 cpuid_topo->core_id = MPIDR_AFFINITY_LEVEL(mpidr, 1); in store_cpu_topology() 206 cpuid_topo->package_id = MPIDR_AFFINITY_LEVEL(mpidr, 2); in store_cpu_topology() 210 cpuid_topo->core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in store_cpu_topology() 211 cpuid_topo->package_id = MPIDR_AFFINITY_LEVEL(mpidr, 1); in store_cpu_topology()
|
D | smp_scu.c | 78 int cpu = MPIDR_AFFINITY_LEVEL(cpu_logical_map(logical_cpu), 0); in scu_set_power_mode_internal() 115 int cpu = MPIDR_AFFINITY_LEVEL(cpu_logical_map(logical_cpu), 0); in scu_get_cpu_power_mode()
|
D | setup.c | 600 u32 cpu = MPIDR_AFFINITY_LEVEL(mpidr, 0); in smp_setup_processor_id() 640 affinity = MPIDR_AFFINITY_LEVEL(mask, i); in smp_build_mpidr_hash()
|
/linux-6.12.1/arch/arm/mach-hisi/ |
D | platmcpm.c | 105 cpu = MPIDR_AFFINITY_LEVEL(mpidr, 0); in hip04_boot_secondary() 106 cluster = MPIDR_AFFINITY_LEVEL(mpidr, 1); in hip04_boot_secondary() 159 cpu = MPIDR_AFFINITY_LEVEL(mpidr, 0); in hip04_cpu_die() 160 cluster = MPIDR_AFFINITY_LEVEL(mpidr, 1); in hip04_cpu_die() 197 cpu = MPIDR_AFFINITY_LEVEL(mpidr, 0); in hip04_cpu_kill() 198 cluster = MPIDR_AFFINITY_LEVEL(mpidr, 1); in hip04_cpu_kill() 252 cpu = MPIDR_AFFINITY_LEVEL(mpidr, 0); in hip04_cpu_table_init() 253 cluster = MPIDR_AFFINITY_LEVEL(mpidr, 1); in hip04_cpu_table_init()
|
/linux-6.12.1/arch/arm/mach-sunxi/ |
D | mc_smp.c | 396 cpu = MPIDR_AFFINITY_LEVEL(mpidr, 0); in sunxi_mc_smp_boot_secondary() 397 cluster = MPIDR_AFFINITY_LEVEL(mpidr, 1); in sunxi_mc_smp_boot_secondary() 430 unsigned int cluster = MPIDR_AFFINITY_LEVEL(read_cpuid_mpidr(), 1); in sunxi_cluster_cache_disable() 449 cpu = MPIDR_AFFINITY_LEVEL(mpidr, 0); in sunxi_mc_smp_cpu_die() 450 cluster = MPIDR_AFFINITY_LEVEL(mpidr, 1); in sunxi_mc_smp_cpu_die() 541 cpu = MPIDR_AFFINITY_LEVEL(mpidr, 0); in sunxi_mc_smp_cpu_kill() 542 cluster = MPIDR_AFFINITY_LEVEL(mpidr, 1); in sunxi_mc_smp_cpu_kill() 633 cpu = MPIDR_AFFINITY_LEVEL(mpidr, 0); in sunxi_mc_smp_cpu_table_init() 634 cluster = MPIDR_AFFINITY_LEVEL(mpidr, 1); in sunxi_mc_smp_cpu_table_init()
|
/linux-6.12.1/arch/arm/mach-highbank/ |
D | sysregs.h | 29 int cpu = MPIDR_AFFINITY_LEVEL(cpu_logical_map(smp_processor_id()), 0); in highbank_set_core_pwr() 38 int cpu = MPIDR_AFFINITY_LEVEL(cpu_logical_map(smp_processor_id()), 0); in highbank_clear_core_pwr()
|
/linux-6.12.1/arch/arm/mach-exynos/ |
D | platsmp.c | 52 u32 core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in platform_do_lowpower() 321 u32 core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in exynos_boot_secondary() 426 u32 core_id = MPIDR_AFFINITY_LEVEL(mpidr, 0); in exynos_cpu_die()
|
D | suspend.c | 269 unsigned int cluster = MPIDR_AFFINITY_LEVEL(mpidr, 1); in exynos5420_cpu_suspend() 270 unsigned int cpu = MPIDR_AFFINITY_LEVEL(mpidr, 0); in exynos5420_cpu_suspend() 402 this_cluster = MPIDR_AFFINITY_LEVEL(read_cpuid_mpidr(), 1); in exynos5420_pm_suspend() 457 cluster = MPIDR_AFFINITY_LEVEL(mpidr, 1); in exynos5420_prepare_pm_resume()
|
D | mcpm-exynos.c | 77 cluster == MPIDR_AFFINITY_LEVEL(cpu_logical_map(0), 1)) { in exynos_cpu_powerup()
|
/linux-6.12.1/drivers/cpuidle/ |
D | cpuidle-big_little.c | 106 unsigned int cluster = MPIDR_AFFINITY_LEVEL(mpidr, 1); in bl_powerdown_finisher() 107 unsigned int cpu = MPIDR_AFFINITY_LEVEL(mpidr, 0); in bl_powerdown_finisher()
|
/linux-6.12.1/arch/arm/mach-versatile/ |
D | tc2_pm.c | 243 cpu = MPIDR_AFFINITY_LEVEL(mpidr, 0); in tc2_pm_init() 244 cluster = MPIDR_AFFINITY_LEVEL(mpidr, 1); in tc2_pm_init()
|
/linux-6.12.1/drivers/irqchip/ |
D | irq-gic-v3.c | 781 mpidr = (MPIDR_AFFINITY_LEVEL(mpidr, 1) | in gic_cpu_to_affinity() 782 (MPIDR_AFFINITY_LEVEL(mpidr, 2) << 8)); in gic_cpu_to_affinity() 784 aff = ((u64)MPIDR_AFFINITY_LEVEL(mpidr, 3) << 32 | in gic_cpu_to_affinity() 785 MPIDR_AFFINITY_LEVEL(mpidr, 2) << 16 | in gic_cpu_to_affinity() 786 MPIDR_AFFINITY_LEVEL(mpidr, 1) << 8 | in gic_cpu_to_affinity() 787 MPIDR_AFFINITY_LEVEL(mpidr, 0)); in gic_cpu_to_affinity() 1060 aff = (MPIDR_AFFINITY_LEVEL(mpidr, 3) << 24 | in __gic_populate_rdist() 1061 MPIDR_AFFINITY_LEVEL(mpidr, 2) << 16 | in __gic_populate_rdist() 1062 MPIDR_AFFINITY_LEVEL(mpidr, 1) << 8 | in __gic_populate_rdist() 1063 MPIDR_AFFINITY_LEVEL(mpidr, 0)); in __gic_populate_rdist() [all …]
|
D | irq-apple-aic.c | 203 #define MPIDR_CPU(x) MPIDR_AFFINITY_LEVEL(x, 0) 204 #define MPIDR_CLUSTER(x) MPIDR_AFFINITY_LEVEL(x, 1)
|
/linux-6.12.1/drivers/perf/hisilicon/ |
D | hisi_uncore_pmu.c | 419 int aff3 = MPIDR_AFFINITY_LEVEL(mpidr, 3); in hisi_read_sccl_and_ccl_id() 420 int aff2 = MPIDR_AFFINITY_LEVEL(mpidr, 2); in hisi_read_sccl_and_ccl_id() 421 int aff1 = MPIDR_AFFINITY_LEVEL(mpidr, 1); in hisi_read_sccl_and_ccl_id()
|
/linux-6.12.1/drivers/cpufreq/ |
D | tegra194-cpufreq.c | 119 *cpuid = MPIDR_AFFINITY_LEVEL(mpidr, 1); in tegra234_get_cpu_cluster_id() 121 *clusterid = MPIDR_AFFINITY_LEVEL(mpidr, 2); in tegra234_get_cpu_cluster_id() 214 *cpuid = MPIDR_AFFINITY_LEVEL(mpidr, 0); in tegra194_get_cpu_cluster_id() 216 *clusterid = MPIDR_AFFINITY_LEVEL(mpidr, 1); in tegra194_get_cpu_cluster_id()
|
/linux-6.12.1/arch/arm/include/asm/ |
D | cputype.h | 62 #define MPIDR_AFFINITY_LEVEL(mpidr, level) \ macro
|
/linux-6.12.1/drivers/soc/samsung/ |
D | exynos5420-pmu.c | 203 this_cluster = MPIDR_AFFINITY_LEVEL(read_cpuid_mpidr(), 1); in exynos5420_powerdown_conf()
|
/linux-6.12.1/arch/arm64/kernel/ |
D | setup.c | 126 affinity = MPIDR_AFFINITY_LEVEL(mask, i); in smp_build_mpidr_hash()
|
/linux-6.12.1/drivers/perf/ |
D | qcom_l2_pmu.c | 748 cpu_cluster_id = MPIDR_AFFINITY_LEVEL(mpidr, 2); in l2_cache_associate_cpu_with_cluster() 750 cpu_cluster_id = MPIDR_AFFINITY_LEVEL(mpidr, 1); in l2_cache_associate_cpu_with_cluster()
|
/linux-6.12.1/tools/arch/arm64/include/asm/ |
D | cputype.h | 21 #define MPIDR_AFFINITY_LEVEL(mpidr, level) \ macro
|
/linux-6.12.1/arch/arm64/include/asm/ |
D | cputype.h | 21 #define MPIDR_AFFINITY_LEVEL(mpidr, level) \ macro
|