Home
last modified time | relevance | path

Searched refs:cpu_logical_map (Results 1 – 25 of 64) sorted by relevance

123

/arch/arm/common/
DbL_switcher.c71 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/
Dsmp.c243 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/
Dsrc.c89 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/
Dsmp_plat.h43 #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/
Dplatsmp.c40 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/
Dplatsmp.c47 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()
Dpm.c88 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/
Dsysregs.h40 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/
Dsmp_plat.h72 #define cpu_logical_map(cpu) __cpu_logical_map[cpu] macro
83 if (cpu_logical_map(cpu) == mpidr) in get_logical_index()
/arch/arm/kernel/
Dpsci_smp.c55 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()
Dsuspend.c21 u32 __mpidr = cpu_logical_map(smp_processor_id()); in cpu_suspend()
46 u32 __mpidr = cpu_logical_map(smp_processor_id()); in cpu_suspend()
Ddevtree.c188 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/
Dsmp.c62 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/
Dsmp.c388 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()
Dsetup.c99 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/
Dsmp-r8a7779.c63 cpu = cpu_logical_map(cpu); in r8a7779_platform_cpu_kill()
77 unsigned int lcpu = cpu_logical_map(cpu); in r8a7779_boot_secondary()
Dplatsmp.c27 shmobile_smp_mpidr[cpu] = cpu_logical_map(cpu); in shmobile_smp_hook()
/arch/arm/mach-ux500/
Dhotplug.c30 if (pen_release == cpu_logical_map(cpu)) { in ux500_cpu_die()
/arch/arm/mach-prima2/
Dhotplug.c21 if (pen_release == cpu_logical_map(cpu)) { in platform_do_lowpower()
/arch/arm/mach-exynos/
Dplatsmp.c56 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/
Dplatsmp-brcmstb.c86 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/
Dhotplug.c70 if (pen_release == cpu_logical_map(cpu)) { in platform_do_lowpower()
/arch/arm/mach-vexpress/
Dhotplug.c65 if (pen_release == cpu_logical_map(cpu)) { in platform_do_lowpower()
/arch/parisc/include/asm/
Dsmp.h26 #define cpu_logical_map(cpu) (cpu) macro
/arch/mips/include/asm/mach-loongson64/
Dtopology.h6 #define cpu_to_node(cpu) (cpu_logical_map(cpu) >> 2)

123