Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/arch/loongarch/kernel/
A Dsmp.c142 ipi_write_action(cpu_logical_map(cpu), (u32)action); in loongson_send_ipi_single()
150 ipi_write_action(cpu_logical_map(i), (u32)action); in loongson_send_ipi_mask()
169 action = ipi_read_clear(cpu_logical_map(cpu)); in loongson_ipi_interrupt()
220 cpu_data[0].core = cpu_logical_map(0) % loongson_sysconf.cores_per_package; in loongson_smp_setup()
221 cpu_data[0].package = cpu_logical_map(0) / loongson_sysconf.cores_per_package; in loongson_smp_setup()
252 csr_mail_send(entry, cpu_logical_map(cpu), 0); in loongson_boot_secondary()
275 cpu_logical_map(cpu) % loongson_sysconf.cores_per_package; in loongson_init_secondary()
277 cpu_logical_map(cpu) / loongson_sysconf.cores_per_package; in loongson_init_secondary()
/linux-6.3-rc2/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-6.3-rc2/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 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()
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()
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/arch/loongarch/include/asm/
A Dsmp.h58 #define cpu_logical_map(cpu) __cpu_logical_map[cpu] macro
60 #define cpu_physical_id(cpu) cpu_logical_map(cpu)
/linux-6.3-rc2/arch/arm/mach-bcm/
A Dplatsmp-brcmstb.c78 base += (cpu_logical_map(cpu) * 4); in pwr_ctrl_get_base()
124 val |= BIT(cpu_logical_map(cpu)); in cpu_rst_cfg_set()
126 val &= ~BIT(cpu_logical_map(cpu)); in cpu_rst_cfg_set()
132 const int reg_ofs = cpu_logical_map(cpu) * 8; in cpu_set_boot_addr()
/linux-6.3-rc2/arch/arm64/kernel/
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()
A Dsetup.c100 return phys_id == cpu_logical_map(cpu); in arch_match_cpu_phys_id()
119 mask |= (cpu_logical_map(i) ^ cpu_logical_map(0)); in smp_build_mpidr_hash()
288 u64 cpu_logical_map(unsigned int cpu) in cpu_logical_map() function
/linux-6.3-rc2/drivers/irqchip/
A Dirq-loongson-eiointc.c61 return cpu_logical_map(cpu) / CORES_PER_EIO_NODE; in cpu_to_eio_node()
75 cpu_node = cpu_logical_map(cpu) / CORES_PER_EIO_NODE; in eiointc_set_irq_route()
76 coremap = BIT(cpu_logical_map(cpu) % CORES_PER_EIO_NODE); in eiointc_set_irq_route()
156 if ((cpu_logical_map(cpu) % CORES_PER_EIO_NODE) == 0) { in eiointc_router_init()
173 bit = BIT(cpu_logical_map(0)); in eiointc_router_init()
/linux-6.3-rc2/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()
234 unsigned int cpu = cpu_logical_map(dev->cpu); in tegra_cpuidle_enter()
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/arch/arm/mach-mvebu/
A Dplatsmp.c56 hw_cpu = cpu_logical_map(cpu); in armada_xp_boot_secondary()
220 hw_cpu = cpu_logical_map(cpu); in mv98dx3236_boot_secondary()
/linux-6.3-rc2/arch/arm/mach-hisi/
A Dplatsmp.c25 cpu = cpu_logical_map(cpu); in hi3xxx_set_cpu_jump()
33 cpu = cpu_logical_map(cpu); in hi3xxx_get_cpu_jump()

Completed in 41 milliseconds

1234