Searched refs:hw_cpu (Results 1 - 12 of 12) sorted by relevance

/linux-master/arch/powerpc/sysdev/
H A Dfsl_rcpm.c29 int hw_cpu = get_hard_smp_processor_id(cpu); local
30 unsigned int mask = 1 << hw_cpu;
40 int hw_cpu = get_hard_smp_processor_id(cpu); local
41 unsigned int mask = 1 << hw_cpu;
51 int hw_cpu = get_hard_smp_processor_id(cpu); local
52 unsigned int mask = 1 << hw_cpu;
62 int hw_cpu = get_hard_smp_processor_id(cpu); local
63 unsigned int mask = 1 << hw_cpu;
89 int hw_cpu = get_hard_smp_processor_id(cpu); local
90 unsigned int mask = 1 << hw_cpu;
107 int hw_cpu = get_hard_smp_processor_id(cpu); local
166 int hw_cpu = get_hard_smp_processor_id(cpu); local
190 int hw_cpu = get_hard_smp_processor_id(cpu); local
[all...]
/linux-master/arch/arm/mach-mvebu/
H A Dcommon.h19 void mvebu_pmsu_set_cpu_boot_addr(int hw_cpu, void *boot_addr);
H A Dplatsmp-a9.c27 int ret, hw_cpu; local
37 hw_cpu = cpu_logical_map(cpu);
41 mvebu_pmsu_set_cpu_boot_addr(hw_cpu, mvebu_cortex_a9_secondary_startup);
50 ret = mvebu_cpu_reset_deassert(hw_cpu);
H A Dplatsmp.c52 int ret, hw_cpu; local
56 hw_cpu = cpu_logical_map(cpu);
57 mvebu_pmsu_set_cpu_boot_addr(hw_cpu, armada_xp_secondary_startup);
69 ret = mvebu_cpu_reset_deassert(hw_cpu);
193 static int mv98dx3236_resume_set_cpu_boot_addr(int hw_cpu, void *boot_addr) argument
197 WARN_ON(hw_cpu != 1);
218 int ret, hw_cpu; local
220 hw_cpu = cpu_logical_map(cpu);
221 mv98dx3236_resume_set_cpu_boot_addr(hw_cpu,
234 ret = mvebu_cpu_reset_deassert(hw_cpu);
[all...]
H A Dpmsu.c110 void mvebu_pmsu_set_cpu_boot_addr(int hw_cpu, void *boot_addr) argument
113 PMSU_BOOT_ADDR_REDIRECT_OFFSET(hw_cpu));
226 unsigned int hw_cpu = cpu_logical_map(smp_processor_id()); local
237 reg = readl(pmsu_mp_base + PMSU_STATUS_AND_MASK(hw_cpu));
244 writel(reg, pmsu_mp_base + PMSU_STATUS_AND_MASK(hw_cpu));
246 reg = readl(pmsu_mp_base + PMSU_CONTROL_AND_CONFIG(hw_cpu));
253 writel(reg, pmsu_mp_base + PMSU_CONTROL_AND_CONFIG(hw_cpu));
257 reg = readl(pmsu_mp_base + PMSU_CPU_POWER_DOWN_CONTROL(hw_cpu));
259 writel(reg, pmsu_mp_base + PMSU_CPU_POWER_DOWN_CONTROL(hw_cpu));
341 unsigned int hw_cpu local
364 unsigned int hw_cpu = cpu_logical_map(smp_processor_id()); local
[all...]
/linux-master/arch/powerpc/kernel/
H A Dsetup_32.c182 unsigned int i, hw_cpu; local
188 hw_cpu = get_hard_smp_processor_id(i);
190 hw_cpu = 0;
193 critirq_ctx[hw_cpu] = alloc_stack();
195 dbgirq_ctx[hw_cpu] = alloc_stack();
196 mcheckirq_ctx[hw_cpu] = alloc_stack();
/linux-master/arch/powerpc/sysdev/xics/
H A Dicp-opal.c24 int hw_cpu = hard_smp_processor_id(); local
27 opal_int_set_mfrr(hw_cpu, 0xff);
128 int hw_cpu = get_hard_smp_processor_id(cpu); local
131 opal_int_set_mfrr(hw_cpu, IPI_PRIORITY);
H A Dicp-hv.c62 int hw_cpu = get_hard_smp_processor_id(n_cpu); local
67 rc = plpar_hcall_norets(H_IPI, hw_cpu, value);
69 pr_err("%s: bad return code qirr cpu=%d hw_cpu=%d mfrr=0x%x "
70 "returned %ld\n", __func__, n_cpu, hw_cpu, value, rc);
H A Dxics-common.c182 int cpu = smp_processor_id(), hw_cpu = hard_smp_processor_id(); local
189 if (hw_cpu == xics_default_server)
236 if (server != hw_cpu)
/linux-master/arch/powerpc/platforms/cell/
H A Dinterrupt.c274 static void __init init_one_iic(unsigned int hw_cpu, unsigned long addr, argument
280 struct iic *iic = &per_cpu(cpu_iic, hw_cpu);
285 iic->target_id = ((hw_cpu & 2) << 3) | ((hw_cpu & 1) ? 0xf : 0xe);
291 hw_cpu, iic->target_id, node);
/linux-master/arch/powerpc/platforms/85xx/
H A Dsmp.c195 int hw_cpu = get_hard_smp_processor_id(cpu); local
243 hw_cpu);
250 out_be32(&spin_table->pir, hw_cpu);
/linux-master/arch/powerpc/sysdev/xive/
H A Dspapr.c550 int hw_cpu = get_hard_smp_processor_id(cpu); local
552 rc = plpar_int_set_queue_config(0, hw_cpu, prio, 0, 0);
555 hw_cpu, prio);

Completed in 175 milliseconds