Searched refs:hwcpu (Results 1 – 7 of 7) sorted by relevance
/arch/powerpc/platforms/pseries/ |
D | kexec.c | 30 int hwcpu = hard_smp_processor_id(); in pseries_kexec_cpu_down() local 33 ret = unregister_dtl(hwcpu); in pseries_kexec_cpu_down() 37 cpu, hwcpu, ret); in pseries_kexec_cpu_down() 41 ret = unregister_slb_shadow(hwcpu); in pseries_kexec_cpu_down() 45 cpu, hwcpu, ret); in pseries_kexec_cpu_down() 48 ret = unregister_vpa(hwcpu); in pseries_kexec_cpu_down() 51 "(hw %d) failed with %d\n", cpu, hwcpu, ret); in pseries_kexec_cpu_down()
|
D | smp.c | 205 int hwcpu; in pseries_cause_nmi_ipi() local 208 hwcpu = H_SIGNAL_SYS_RESET_ALL_OTHERS; in pseries_cause_nmi_ipi() 215 hwcpu = get_hard_smp_processor_id(cpu); in pseries_cause_nmi_ipi() 218 if (plapr_signal_sys_reset(hwcpu) == H_SUCCESS) in pseries_cause_nmi_ipi()
|
D | dtl.c | 148 int ret, hwcpu; in dtl_start() local 154 hwcpu = get_hard_smp_processor_id(dtl->cpu); in dtl_start() 156 ret = register_dtl(hwcpu, addr); in dtl_start() 159 "failed with %d\n", __func__, dtl->cpu, hwcpu, ret); in dtl_start() 178 int hwcpu = get_hard_smp_processor_id(dtl->cpu); in dtl_stop() local 182 unregister_dtl(hwcpu); in dtl_stop()
|
D | lpar.c | 70 int hwcpu = get_hard_smp_processor_id(cpu); in vpa_init() local 89 ret = register_vpa(hwcpu, addr); in vpa_init() 93 "%lx failed with %ld\n", cpu, hwcpu, addr, ret); in vpa_init() 104 ret = register_slb_shadow(hwcpu, addr); in vpa_init() 108 cpu, hwcpu, addr, ret); in vpa_init() 124 ret = register_dtl(hwcpu, __pa(dtl)); in vpa_init() 128 hwcpu, ret); in vpa_init()
|
D | hotplug-cpu.c | 109 unsigned int hwcpu = hard_smp_processor_id(); in pseries_mach_cpu_die() local 146 unregister_slb_shadow(hwcpu); in pseries_mach_cpu_die() 162 unregister_slb_shadow(hwcpu); in pseries_mach_cpu_die()
|
/arch/arm/mach-mvebu/ |
D | pmsu.c | 574 int hwcpu = cpu_logical_map(cpu); in mvebu_pmsu_dfs_request() local 578 reg = readl(pmsu_mp_base + PMSU_EVENT_STATUS_AND_MASK(hwcpu)); in mvebu_pmsu_dfs_request() 580 writel(reg, pmsu_mp_base + PMSU_EVENT_STATUS_AND_MASK(hwcpu)); in mvebu_pmsu_dfs_request() 583 reg = readl(pmsu_mp_base + PMSU_EVENT_STATUS_AND_MASK(hwcpu)); in mvebu_pmsu_dfs_request() 585 writel(reg, pmsu_mp_base + PMSU_EVENT_STATUS_AND_MASK(hwcpu)); in mvebu_pmsu_dfs_request() 594 reg = readl(pmsu_mp_base + PMSU_EVENT_STATUS_AND_MASK(hwcpu)); in mvebu_pmsu_dfs_request() 604 reg = readl(pmsu_mp_base + PMSU_EVENT_STATUS_AND_MASK(hwcpu)); in mvebu_pmsu_dfs_request() 606 writel(reg, pmsu_mp_base + PMSU_EVENT_STATUS_AND_MASK(hwcpu)); in mvebu_pmsu_dfs_request()
|
/arch/powerpc/mm/ |
D | numa.c | 1247 int hwcpu = get_hard_smp_processor_id(cpu); in hcall_vphn() local 1249 rc = plpar_hcall9(H_HOME_NODE_ASSOCIATIVITY, retbuf, flags, hwcpu); in hcall_vphn()
|