Home
last modified time | relevance | path

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

123

/linux/arch/mips/loongson64/
A Dsmp.c128 csr_mail_send(startargs[3], cpu_logical_map(cpu), 3); in csr_ipi_write_buf()
129 csr_mail_send(startargs[2], cpu_logical_map(cpu), 2); in csr_ipi_write_buf()
130 csr_mail_send(startargs[1], cpu_logical_map(cpu), 1); in csr_ipi_write_buf()
131 csr_mail_send(startargs[0], cpu_logical_map(cpu), 0); in csr_ipi_write_buf()
175 ipi_mailbox_buf[cpu_logical_map(cpu)] + 0x18); in legacy_ipi_write_buf()
177 ipi_mailbox_buf[cpu_logical_map(cpu)] + 0x10); in legacy_ipi_write_buf()
179 ipi_mailbox_buf[cpu_logical_map(cpu)] + 0x8); in legacy_ipi_write_buf()
181 ipi_mailbox_buf[cpu_logical_map(cpu)] + 0x0); in legacy_ipi_write_buf()
386 ipi_write_action(cpu_logical_map(cpu), (u32)action); in loongson3_send_ipi_single()
395 ipi_write_action(cpu_logical_map(i), (u32)action); in loongson3_send_ipi_mask()
[all …]
/linux/arch/arm/common/
A DbL_switcher.c69 ib_mpidr = cpu_logical_map(smp_processor_id()); in bL_do_switch()
159 BUG_ON(cpu_logical_map(this_cpu) != ob_mpidr); in bL_switch_to()
165 ib_mpidr = cpu_logical_map(that_cpu); in bL_switch_to()
227 cpu_logical_map(this_cpu) = ib_mpidr; in bL_switch_to()
228 cpu_logical_map(that_cpu) = ob_mpidr; 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()
484 cpu = MPIDR_AFFINITY_LEVEL(cpu_logical_map(i), 0); in bL_switcher_halve_cpus()
527 if ((mpidr == cpu_logical_map(cpu)) || in bL_switcher_get_logical_index()
[all …]
/linux/arch/arm/mach-berlin/
A Dplatsmp.c38 val &= ~BIT(cpu_logical_map(cpu)); in berlin_perform_reset_cpu()
40 val |= BIT(cpu_logical_map(cpu)); in berlin_perform_reset_cpu()
112 val &= ~BIT(cpu_logical_map(cpu)); in berlin_cpu_kill()
/linux/arch/arm/mach-tegra/
A Dplatsmp.c44 cpu = cpu_logical_map(cpu); in tegra20_boot_secondary()
75 cpu = cpu_logical_map(cpu); in tegra30_boot_secondary()
133 cpu = cpu_logical_map(cpu); in tegra114_boot_secondary()
A Dpm.c80 cpu = cpu_logical_map(cpu); in restore_cpu_complex()
104 cpu = cpu_logical_map(cpu); in suspend_cpu_complex()
115 int phy_cpu_id = cpu_logical_map(smp_processor_id()); in tegra_pm_clear_cpu_in_lp2()
128 int phy_cpu_id = cpu_logical_map(smp_processor_id()); in tegra_pm_set_cpu_in_lp2()
/linux/arch/arm/mach-imx/
A Dsrc.c126 cpu = cpu_logical_map(cpu); in imx_enable_cpu()
148 cpu = cpu_logical_map(cpu); in imx_set_cpu_jump()
155 cpu = cpu_logical_map(cpu); in imx_get_cpu_arg()
161 cpu = cpu_logical_map(cpu); in imx_set_cpu_arg()
/linux/arch/mips/cavium-octeon/
A Dsmp.c101 int coreid = cpu_logical_map(cpu); in octeon_send_ipi_single()
213 cpu_logical_map(cpu)); in octeon_boot_secondary()
217 octeon_processor_boot = cpu_logical_map(cpu); in octeon_boot_secondary()
306 int coreid = cpu_logical_map(cpu); in octeon_cpu_die()
364 int coreid = cpu_logical_map(cpu); in octeon_update_boot_vector()
/linux/arch/arm/kernel/
A Ddevtree.c163 cpu_logical_map(i) = tmp_map[i]; in arm_dt_init_cpu_maps()
164 pr_debug("cpu logical map 0x%x\n", cpu_logical_map(i)); in arm_dt_init_cpu_maps()
170 return phys_id == cpu_logical_map(cpu); in arch_match_cpu_phys_id()
A Dpsci_smp.c48 return psci_ops.cpu_on(cpu_logical_map(cpu), in psci_boot_secondary()
92 err = psci_ops.affinity_info(cpu_logical_map(cpu), 0); in psci_cpu_kill()
A Dsmp_scu.c78 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()
A Dsuspend.c23 u32 __mpidr = cpu_logical_map(smp_processor_id()); in cpu_suspend()
58 u32 __mpidr = cpu_logical_map(smp_processor_id()); in cpu_suspend()
/linux/arch/arm/mach-bcm/
A 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()
/linux/arch/arm/mach-shmobile/
A Dsmp-r8a7779.c32 cpu = cpu_logical_map(cpu); in r8a7779_boot_secondary()
57 cpu = cpu_logical_map(cpu); in r8a7779_platform_cpu_kill()
/linux/arch/arm/mach-highbank/
A Dsysregs.h29 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/arch/arm/include/asm/
A Dsmp_plat.h73 #define cpu_logical_map(cpu) __cpu_logical_map[cpu] macro
84 if (cpu_logical_map(cpu) == mpidr) in get_logical_index()
/linux/drivers/cpuidle/
A Dcpuidle-tegra.c56 cpu = cpu_logical_map(lcpu); in tegra_cpuidle_report_cpus_state()
102 cpu = cpu_logical_map(lcpu); in tegra_cpuidle_unpark_secondary_cpus()
229 unsigned int cpu = cpu_logical_map(dev->cpu); in tegra_cpuidle_enter()
/linux/arch/arm64/kernel/
A Dsetup.c97 return phys_id == cpu_logical_map(cpu); in arch_match_cpu_phys_id()
116 mask |= (cpu_logical_map(i) ^ cpu_logical_map(0)); in smp_build_mpidr_hash()
289 u64 cpu_logical_map(unsigned int cpu) in cpu_logical_map() function
A Dpsci.c42 int err = psci_ops.cpu_on(cpu_logical_map(cpu), pa_secondary_entry); in cpu_psci_cpu_boot()
96 err = psci_ops.affinity_info(cpu_logical_map(cpu), 0); in cpu_psci_cpu_kill()
/linux/arch/arm/mach-exynos/
A Dplatsmp.c51 u32 mpidr = cpu_logical_map(cpu); in platform_do_lowpower()
320 u32 mpidr = cpu_logical_map(cpu); in exynos_boot_secondary()
425 u32 mpidr = cpu_logical_map(cpu); in exynos_cpu_die()
/linux/arch/arm/mach-milbeaut/
A Dplatsmp.c30 mpidr = cpu_logical_map(l_cpu); in m10v_boot_secondary()
80 mpidr = cpu_logical_map(l_cpu); in m10v_cpu_kill()
/linux/arch/arm/mach-mvebu/
A Dpmsu.c229 unsigned int hw_cpu = cpu_logical_map(smp_processor_id()); in mvebu_v7_pmsu_idle_prepare()
343 unsigned int hw_cpu = cpu_logical_map(smp_processor_id()); in mvebu_v7_pmsu_idle_exit()
366 unsigned int hw_cpu = cpu_logical_map(smp_processor_id()); in mvebu_v7_cpu_pm_notify()
574 int hwcpu = cpu_logical_map(cpu); in mvebu_pmsu_dfs_request()
A Dplatsmp.c59 hw_cpu = cpu_logical_map(cpu); in armada_xp_boot_secondary()
223 hw_cpu = cpu_logical_map(cpu); in mv98dx3236_boot_secondary()
/linux/arch/arm/mach-hisi/
A Dplatmcpm.c104 mpidr = cpu_logical_map(l_cpu); in hip04_boot_secondary()
158 mpidr = cpu_logical_map(l_cpu); in hip04_cpu_die()
196 mpidr = cpu_logical_map(l_cpu); in hip04_cpu_kill()
A Dplatsmp.c25 cpu = cpu_logical_map(cpu); in hi3xxx_set_cpu_jump()
33 cpu = cpu_logical_map(cpu); in hi3xxx_get_cpu_jump()
/linux/drivers/irqchip/
A Dirq-armada-370-xp.c311 unsigned long cpuid = cpu_logical_map(smp_processor_id()); in armada_xp_mpic_perf_init()
345 map |= 1 << cpu_logical_map(cpu); in armada_370_xp_ipi_send_mask()
448 mask = 1UL << cpu_logical_map(cpu); in armada_xp_set_affinity()
603 cpuid = cpu_logical_map(smp_processor_id()); in armada_370_xp_mpic_handle_cascade_irq()

Completed in 50 milliseconds

123