/arch/arm/common/ |
D | bL_switcher.c | 71 ib_mpidr = cpu_logical_map(smp_processor_id()); in bL_do_switch() 161 BUG_ON(cpu_logical_map(this_cpu) != ob_mpidr); in bL_switch_to() 167 ib_mpidr = cpu_logical_map(that_cpu); in bL_switch_to() 229 cpu_logical_map(this_cpu) = ib_mpidr; in bL_switch_to() 230 cpu_logical_map(that_cpu) = ob_mpidr; in bL_switch_to() 431 cpu = MPIDR_AFFINITY_LEVEL(cpu_logical_map(i), 0); in bL_switcher_halve_cpus() 432 cluster = MPIDR_AFFINITY_LEVEL(cpu_logical_map(i), 1); in bL_switcher_halve_cpus() 457 cluster = MPIDR_AFFINITY_LEVEL(cpu_logical_map(i), 1); in bL_switcher_halve_cpus() 464 cluster = MPIDR_AFFINITY_LEVEL(cpu_logical_map(j), 1); in bL_switcher_halve_cpus() 487 cpu = MPIDR_AFFINITY_LEVEL(cpu_logical_map(i), 0); in bL_switcher_halve_cpus() [all …]
|
/arch/mips/loongson64/loongson-3/ |
D | smp.c | 243 loongson3_ipi_write32((u32)action, ipi_set0_regs[cpu_logical_map(cpu)]); in loongson3_send_ipi_single() 252 loongson3_ipi_write32((u32)action, ipi_set0_regs[cpu_logical_map(i)]); in loongson3_send_ipi_mask() 261 action = loongson3_ipi_read32(ipi_status0_regs[cpu_logical_map(cpu)]); in loongson3_ipi_interrupt() 264 loongson3_ipi_write32((u32)action, ipi_clear0_regs[cpu_logical_map(cpu)]); in loongson3_ipi_interrupt() 301 loongson3_ipi_write32(0xffffffff, ipi_en0_regs[cpu_logical_map(i)]); in loongson3_init_secondary() 305 cpu_logical_map(cpu) % loongson_sysconf.cores_per_package; in loongson3_init_secondary() 307 cpu_logical_map(cpu) / loongson_sysconf.cores_per_package; in loongson3_init_secondary() 334 (void *)(ipi_mailbox_buf[cpu_logical_map(cpu)]+0x0)); in loongson3_smp_finish() 371 cpu_data[0].core = cpu_logical_map(0) % loongson_sysconf.cores_per_package; in loongson3_smp_setup() 372 cpu_data[0].package = cpu_logical_map(0) / loongson_sysconf.cores_per_package; in loongson3_smp_setup() [all …]
|
/arch/arm/mach-imx/ |
D | src.c | 89 cpu = cpu_logical_map(cpu); in imx_enable_cpu() 101 cpu = cpu_logical_map(cpu); in imx_set_cpu_jump() 108 cpu = cpu_logical_map(cpu); in imx_get_cpu_arg() 114 cpu = cpu_logical_map(cpu); in imx_set_cpu_arg()
|
/arch/arm64/include/asm/ |
D | smp_plat.h | 43 #define cpu_logical_map(cpu) __cpu_logical_map[cpu] macro 54 if (cpu_logical_map(cpu) == mpidr) in get_logical_index()
|
/arch/arm/mach-berlin/ |
D | platsmp.c | 40 val &= ~BIT(cpu_logical_map(cpu)); in berlin_perform_reset_cpu() 42 val |= BIT(cpu_logical_map(cpu)); in berlin_perform_reset_cpu() 115 val &= ~BIT(cpu_logical_map(cpu)); in berlin_cpu_kill()
|
/arch/arm/mach-tegra/ |
D | platsmp.c | 47 cpu = cpu_logical_map(cpu); in tegra20_boot_secondary() 78 cpu = cpu_logical_map(cpu); in tegra30_boot_secondary() 146 cpu = cpu_logical_map(cpu); in tegra114_boot_secondary()
|
D | pm.c | 88 cpu = cpu_logical_map(cpu); in restore_cpu_complex() 112 cpu = cpu_logical_map(cpu); in suspend_cpu_complex() 123 int phy_cpu_id = cpu_logical_map(smp_processor_id()); in tegra_clear_cpu_in_lp2() 136 int phy_cpu_id = cpu_logical_map(smp_processor_id()); in tegra_set_cpu_in_lp2()
|
/arch/arm/mach-highbank/ |
D | sysregs.h | 40 int cpu = MPIDR_AFFINITY_LEVEL(cpu_logical_map(smp_processor_id()), 0); in highbank_set_core_pwr() 49 int cpu = MPIDR_AFFINITY_LEVEL(cpu_logical_map(smp_processor_id()), 0); in highbank_clear_core_pwr()
|
/arch/arm/include/asm/ |
D | smp_plat.h | 72 #define cpu_logical_map(cpu) __cpu_logical_map[cpu] macro 83 if (cpu_logical_map(cpu) == mpidr) in get_logical_index()
|
/arch/arm/kernel/ |
D | psci_smp.c | 55 return psci_ops.cpu_on(cpu_logical_map(cpu), in psci_boot_secondary() 99 err = psci_ops.affinity_info(cpu_logical_map(cpu), 0); in psci_cpu_kill()
|
D | suspend.c | 21 u32 __mpidr = cpu_logical_map(smp_processor_id()); in cpu_suspend() 46 u32 __mpidr = cpu_logical_map(smp_processor_id()); in cpu_suspend()
|
D | devtree.c | 188 cpu_logical_map(i) = tmp_map[i]; in arm_dt_init_cpu_maps() 189 pr_debug("cpu logical map 0x%x\n", cpu_logical_map(i)); in arm_dt_init_cpu_maps() 195 return phys_id == cpu_logical_map(cpu); in arch_match_cpu_phys_id()
|
/arch/mips/cavium-octeon/ |
D | smp.c | 62 int coreid = cpu_logical_map(cpu); in octeon_send_ipi_single() 160 cpu_logical_map(cpu)); in octeon_boot_secondary() 164 octeon_processor_boot = cpu_logical_map(cpu); in octeon_boot_secondary() 254 int coreid = cpu_logical_map(cpu); in octeon_cpu_die() 314 int coreid = cpu_logical_map(cpu); in octeon_update_boot_vector()
|
/arch/arm64/kernel/ |
D | smp.c | 388 if (cpu_logical_map(i) == hwid) in is_mpidr_duplicate() 441 if (cpu_logical_map(0) == hwid) { in acpi_map_gic_cpu_interface() 455 cpu_logical_map(cpu_count) = hwid; in acpi_map_gic_cpu_interface() 518 if (hwid == cpu_logical_map(0)) { in of_parse_and_init_cpus() 540 cpu_logical_map(cpu_count) = hwid; in of_parse_and_init_cpus() 583 if (cpu_logical_map(i) != INVALID_HWID) { in smp_init_cpus() 585 cpu_logical_map(i) = INVALID_HWID; in smp_init_cpus()
|
D | setup.c | 99 cpu_logical_map(0) = mpidr; in smp_setup_processor_id() 112 return phys_id == cpu_logical_map(cpu); in arch_match_cpu_phys_id() 131 mask |= (cpu_logical_map(i) ^ cpu_logical_map(0)); in smp_build_mpidr_hash()
|
/arch/arm/mach-shmobile/ |
D | smp-r8a7779.c | 63 cpu = cpu_logical_map(cpu); in r8a7779_platform_cpu_kill() 77 unsigned int lcpu = cpu_logical_map(cpu); in r8a7779_boot_secondary()
|
D | platsmp.c | 27 shmobile_smp_mpidr[cpu] = cpu_logical_map(cpu); in shmobile_smp_hook()
|
/arch/arm/mach-ux500/ |
D | hotplug.c | 30 if (pen_release == cpu_logical_map(cpu)) { in ux500_cpu_die()
|
/arch/arm/mach-prima2/ |
D | hotplug.c | 21 if (pen_release == cpu_logical_map(cpu)) { in platform_do_lowpower()
|
/arch/arm/mach-exynos/ |
D | platsmp.c | 56 u32 mpidr = cpu_logical_map(cpu); in platform_do_lowpower() 303 u32 mpidr = cpu_logical_map(cpu); in exynos_boot_secondary() 445 mpidr = cpu_logical_map(i); in exynos_smp_prepare_cpus() 464 u32 mpidr = cpu_logical_map(cpu); in exynos_cpu_die()
|
/arch/arm/mach-bcm/ |
D | platsmp-brcmstb.c | 86 base += (cpu_logical_map(cpu) * 4); in pwr_ctrl_get_base() 132 val |= BIT(cpu_logical_map(cpu)); in cpu_rst_cfg_set() 134 val &= ~BIT(cpu_logical_map(cpu)); in cpu_rst_cfg_set() 140 const int reg_ofs = cpu_logical_map(cpu) * 8; in cpu_set_boot_addr()
|
/arch/arm/mach-realview/ |
D | hotplug.c | 70 if (pen_release == cpu_logical_map(cpu)) { in platform_do_lowpower()
|
/arch/arm/mach-vexpress/ |
D | hotplug.c | 65 if (pen_release == cpu_logical_map(cpu)) { in platform_do_lowpower()
|
/arch/parisc/include/asm/ |
D | smp.h | 26 #define cpu_logical_map(cpu) (cpu) macro
|
/arch/mips/include/asm/mach-loongson64/ |
D | topology.h | 6 #define cpu_to_node(cpu) (cpu_logical_map(cpu) >> 2)
|