Home
last modified time | relevance | path

Searched refs:hw_cpu (Results 1 – 9 of 9) sorted by relevance

/arch/arm/mach-mvebu/
Dplatsmp-a9.c30 int ret, hw_cpu; in mvebu_cortex_a9_boot_secondary() local
40 hw_cpu = cpu_logical_map(cpu); in mvebu_cortex_a9_boot_secondary()
44 mvebu_pmsu_set_cpu_boot_addr(hw_cpu, mvebu_cortex_a9_secondary_startup); in mvebu_cortex_a9_boot_secondary()
46 ret = mvebu_cpu_reset_deassert(hw_cpu); in mvebu_cortex_a9_boot_secondary()
Dpmsu.c114 void mvebu_pmsu_set_cpu_boot_addr(int hw_cpu, void *boot_addr) in mvebu_pmsu_set_cpu_boot_addr() argument
117 PMSU_BOOT_ADDR_REDIRECT_OFFSET(hw_cpu)); in mvebu_pmsu_set_cpu_boot_addr()
230 unsigned int hw_cpu = cpu_logical_map(smp_processor_id()); in mvebu_v7_pmsu_idle_prepare() local
241 reg = readl(pmsu_mp_base + PMSU_STATUS_AND_MASK(hw_cpu)); in mvebu_v7_pmsu_idle_prepare()
248 writel(reg, pmsu_mp_base + PMSU_STATUS_AND_MASK(hw_cpu)); in mvebu_v7_pmsu_idle_prepare()
250 reg = readl(pmsu_mp_base + PMSU_CONTROL_AND_CONFIG(hw_cpu)); in mvebu_v7_pmsu_idle_prepare()
257 writel(reg, pmsu_mp_base + PMSU_CONTROL_AND_CONFIG(hw_cpu)); in mvebu_v7_pmsu_idle_prepare()
261 reg = readl(pmsu_mp_base + PMSU_CPU_POWER_DOWN_CONTROL(hw_cpu)); in mvebu_v7_pmsu_idle_prepare()
263 writel(reg, pmsu_mp_base + PMSU_CPU_POWER_DOWN_CONTROL(hw_cpu)); in mvebu_v7_pmsu_idle_prepare()
344 unsigned int hw_cpu = cpu_logical_map(smp_processor_id()); in mvebu_v7_pmsu_idle_exit() local
[all …]
Dplatsmp.c76 int ret, hw_cpu; in armada_xp_boot_secondary() local
80 hw_cpu = cpu_logical_map(cpu); in armada_xp_boot_secondary()
81 mvebu_pmsu_set_cpu_boot_addr(hw_cpu, armada_xp_secondary_startup); in armada_xp_boot_secondary()
93 ret = mvebu_cpu_reset_deassert(hw_cpu); in armada_xp_boot_secondary()
Dcommon.h22 void mvebu_pmsu_set_cpu_boot_addr(int hw_cpu, void *boot_addr);
/arch/powerpc/kernel/
Dsetup_32.c243 unsigned int i, hw_cpu; in exc_lvl_early_init() local
249 hw_cpu = get_hard_smp_processor_id(i); in exc_lvl_early_init()
251 hw_cpu = 0; in exc_lvl_early_init()
254 critirq_ctx[hw_cpu] = (struct thread_info *) in exc_lvl_early_init()
257 dbgirq_ctx[hw_cpu] = (struct thread_info *) in exc_lvl_early_init()
259 mcheckirq_ctx[hw_cpu] = (struct thread_info *) in exc_lvl_early_init()
/arch/powerpc/platforms/85xx/
Dsmp.c196 int hw_cpu = get_hard_smp_processor_id(nr); in smp_85xx_kick_cpu() local
201 WARN_ON(hw_cpu < 0 || hw_cpu >= NR_CPUS); in smp_85xx_kick_cpu()
286 __func__, hw_cpu); in smp_85xx_kick_cpu()
296 out_be32(&spin_table->pir, hw_cpu); in smp_85xx_kick_cpu()
301 if (!spin_event_timeout(__secondary_hold_acknowledge == hw_cpu, in smp_85xx_kick_cpu()
304 __func__, hw_cpu); in smp_85xx_kick_cpu()
313 out_be32(&spin_table->pir, hw_cpu); in smp_85xx_kick_cpu()
/arch/powerpc/sysdev/xics/
Dicp-hv.c66 int hw_cpu = get_hard_smp_processor_id(n_cpu); in icp_hv_set_qirr() local
71 rc = plpar_hcall_norets(H_IPI, hw_cpu, value); in icp_hv_set_qirr()
74 "returned %ld\n", __func__, n_cpu, hw_cpu, value, rc); in icp_hv_set_qirr()
Dxics-common.c189 int cpu = smp_processor_id(), hw_cpu = hard_smp_processor_id(); in xics_migrate_irqs_away() local
194 if (hw_cpu == xics_default_server) in xics_migrate_irqs_away()
245 if (server != hw_cpu) in xics_migrate_irqs_away()
/arch/powerpc/platforms/cell/
Dinterrupt.c294 static void __init init_one_iic(unsigned int hw_cpu, unsigned long addr, in init_one_iic() argument
300 struct iic *iic = &per_cpu(cpu_iic, hw_cpu); in init_one_iic()
305 iic->target_id = ((hw_cpu & 2) << 3) | ((hw_cpu & 1) ? 0xf : 0xe); in init_one_iic()
311 hw_cpu, iic->target_id, node->full_name); in init_one_iic()