/linux-5.19.10/arch/powerpc/sysdev/ |
D | fsl_rcpm.c | 29 int hw_cpu = get_hard_smp_processor_id(cpu); in rcpm_v1_irq_mask() local 30 unsigned int mask = 1 << hw_cpu; in rcpm_v1_irq_mask() 40 int hw_cpu = get_hard_smp_processor_id(cpu); in rcpm_v2_irq_mask() local 41 unsigned int mask = 1 << hw_cpu; in rcpm_v2_irq_mask() 51 int hw_cpu = get_hard_smp_processor_id(cpu); in rcpm_v1_irq_unmask() local 52 unsigned int mask = 1 << hw_cpu; in rcpm_v1_irq_unmask() 62 int hw_cpu = get_hard_smp_processor_id(cpu); in rcpm_v2_irq_unmask() local 63 unsigned int mask = 1 << hw_cpu; in rcpm_v2_irq_unmask() 89 int hw_cpu = get_hard_smp_processor_id(cpu); in rcpm_v1_cpu_enter_state() local 90 unsigned int mask = 1 << hw_cpu; in rcpm_v1_cpu_enter_state() [all …]
|
/linux-5.19.10/arch/arm/mach-mvebu/ |
D | platsmp.c | 55 int ret, hw_cpu; in armada_xp_boot_secondary() local 59 hw_cpu = cpu_logical_map(cpu); in armada_xp_boot_secondary() 60 mvebu_pmsu_set_cpu_boot_addr(hw_cpu, armada_xp_secondary_startup); in armada_xp_boot_secondary() 72 ret = mvebu_cpu_reset_deassert(hw_cpu); in armada_xp_boot_secondary() 196 static int mv98dx3236_resume_set_cpu_boot_addr(int hw_cpu, void *boot_addr) in mv98dx3236_resume_set_cpu_boot_addr() argument 200 WARN_ON(hw_cpu != 1); in mv98dx3236_resume_set_cpu_boot_addr() 221 int ret, hw_cpu; in mv98dx3236_boot_secondary() local 223 hw_cpu = cpu_logical_map(cpu); in mv98dx3236_boot_secondary() 224 mv98dx3236_resume_set_cpu_boot_addr(hw_cpu, in mv98dx3236_boot_secondary() 237 ret = mvebu_cpu_reset_deassert(hw_cpu); in mv98dx3236_boot_secondary()
|
D | pmsu.c | 113 void mvebu_pmsu_set_cpu_boot_addr(int hw_cpu, void *boot_addr) in mvebu_pmsu_set_cpu_boot_addr() argument 116 PMSU_BOOT_ADDR_REDIRECT_OFFSET(hw_cpu)); in mvebu_pmsu_set_cpu_boot_addr() 229 unsigned int hw_cpu = cpu_logical_map(smp_processor_id()); in mvebu_v7_pmsu_idle_prepare() local 240 reg = readl(pmsu_mp_base + PMSU_STATUS_AND_MASK(hw_cpu)); in mvebu_v7_pmsu_idle_prepare() 247 writel(reg, pmsu_mp_base + PMSU_STATUS_AND_MASK(hw_cpu)); in mvebu_v7_pmsu_idle_prepare() 249 reg = readl(pmsu_mp_base + PMSU_CONTROL_AND_CONFIG(hw_cpu)); in mvebu_v7_pmsu_idle_prepare() 256 writel(reg, pmsu_mp_base + PMSU_CONTROL_AND_CONFIG(hw_cpu)); in mvebu_v7_pmsu_idle_prepare() 260 reg = readl(pmsu_mp_base + PMSU_CPU_POWER_DOWN_CONTROL(hw_cpu)); in mvebu_v7_pmsu_idle_prepare() 262 writel(reg, pmsu_mp_base + PMSU_CPU_POWER_DOWN_CONTROL(hw_cpu)); in mvebu_v7_pmsu_idle_prepare() 343 unsigned int hw_cpu = cpu_logical_map(smp_processor_id()); in mvebu_v7_pmsu_idle_exit() local [all …]
|
D | platsmp-a9.c | 30 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() 53 ret = mvebu_cpu_reset_deassert(hw_cpu); in mvebu_cortex_a9_boot_secondary()
|
D | common.h | 22 void mvebu_pmsu_set_cpu_boot_addr(int hw_cpu, void *boot_addr);
|
/linux-5.19.10/arch/powerpc/kernel/ |
D | setup_32.c | 182 unsigned int i, hw_cpu; in exc_lvl_early_init() local 188 hw_cpu = get_hard_smp_processor_id(i); in exc_lvl_early_init() 190 hw_cpu = 0; in exc_lvl_early_init() 193 critirq_ctx[hw_cpu] = alloc_stack(); in exc_lvl_early_init() 195 dbgirq_ctx[hw_cpu] = alloc_stack(); in exc_lvl_early_init() 196 mcheckirq_ctx[hw_cpu] = alloc_stack(); in exc_lvl_early_init()
|
/linux-5.19.10/arch/powerpc/sysdev/xics/ |
D | icp-opal.c | 24 int hw_cpu = hard_smp_processor_id(); in icp_opal_teardown_cpu() local 27 opal_int_set_mfrr(hw_cpu, 0xff); in icp_opal_teardown_cpu() 128 int hw_cpu = get_hard_smp_processor_id(cpu); in icp_opal_cause_ipi() local 131 opal_int_set_mfrr(hw_cpu, IPI_PRIORITY); in icp_opal_cause_ipi()
|
D | icp-hv.c | 62 int hw_cpu = get_hard_smp_processor_id(n_cpu); in icp_hv_set_qirr() local 67 rc = plpar_hcall_norets(H_IPI, hw_cpu, value); in icp_hv_set_qirr() 70 "returned %ld\n", __func__, n_cpu, hw_cpu, value, rc); in icp_hv_set_qirr()
|
D | xics-common.c | 182 int cpu = smp_processor_id(), hw_cpu = hard_smp_processor_id(); in xics_migrate_irqs_away() local 189 if (hw_cpu == xics_default_server) in xics_migrate_irqs_away() 236 if (server != hw_cpu) in xics_migrate_irqs_away()
|
/linux-5.19.10/arch/powerpc/platforms/cell/ |
D | interrupt.c | 274 static void __init init_one_iic(unsigned int hw_cpu, unsigned long addr, in init_one_iic() argument 280 struct iic *iic = &per_cpu(cpu_iic, hw_cpu); in init_one_iic() 285 iic->target_id = ((hw_cpu & 2) << 3) | ((hw_cpu & 1) ? 0xf : 0xe); in init_one_iic() 291 hw_cpu, iic->target_id, node); in init_one_iic()
|
/linux-5.19.10/arch/powerpc/platforms/85xx/ |
D | smp.c | 195 int hw_cpu = get_hard_smp_processor_id(cpu); in smp_85xx_start_cpu() local 243 hw_cpu); in smp_85xx_start_cpu() 250 out_be32(&spin_table->pir, hw_cpu); in smp_85xx_start_cpu()
|
/linux-5.19.10/arch/powerpc/sysdev/xive/ |
D | spapr.c | 549 int hw_cpu = get_hard_smp_processor_id(cpu); in xive_spapr_cleanup_queue() local 551 rc = plpar_int_set_queue_config(0, hw_cpu, prio, 0, 0); in xive_spapr_cleanup_queue() 554 hw_cpu, prio); in xive_spapr_cleanup_queue()
|