Home
last modified time | relevance | path

Searched refs:hwcpu (Results 1 – 6 of 6) sorted by relevance

/arch/powerpc/platforms/pseries/
Dkexec.c31 int hwcpu = hard_smp_processor_id(); in pseries_kexec_cpu_down() local
34 ret = unregister_dtl(hwcpu); in pseries_kexec_cpu_down()
38 cpu, hwcpu, ret); in pseries_kexec_cpu_down()
42 ret = unregister_slb_shadow(hwcpu); in pseries_kexec_cpu_down()
46 cpu, hwcpu, ret); in pseries_kexec_cpu_down()
49 ret = unregister_vpa(hwcpu); in pseries_kexec_cpu_down()
52 "(hw %d) failed with %d\n", cpu, hwcpu, ret); in pseries_kexec_cpu_down()
Dsmp.c202 int hwcpu; in pseries_cause_nmi_ipi() local
205 hwcpu = H_SIGNAL_SYS_RESET_ALL_OTHERS; in pseries_cause_nmi_ipi()
212 hwcpu = get_hard_smp_processor_id(cpu); in pseries_cause_nmi_ipi()
215 if (plpar_signal_sys_reset(hwcpu) == H_SUCCESS) in pseries_cause_nmi_ipi()
Ddtl.c127 int ret, hwcpu; in dtl_start() local
133 hwcpu = get_hard_smp_processor_id(dtl->cpu); in dtl_start()
135 ret = register_dtl(hwcpu, addr); in dtl_start()
138 "failed with %d\n", __func__, dtl->cpu, hwcpu, ret); in dtl_start()
157 int hwcpu = get_hard_smp_processor_id(dtl->cpu); in dtl_stop() local
161 unregister_dtl(hwcpu); in dtl_stop()
Dlpar.c118 int hwcpu = get_hard_smp_processor_id(cpu); in register_dtl_buffer() local
129 ret = register_dtl(hwcpu, __pa(dtl)); in register_dtl_buffer()
132 cpu, hwcpu, ret); in register_dtl_buffer()
659 int hwcpu = get_hard_smp_processor_id(cpu); in vpa_init() local
676 ret = register_vpa(hwcpu, addr); in vpa_init()
680 "%lx failed with %ld\n", cpu, hwcpu, addr, ret); in vpa_init()
691 ret = register_slb_shadow(hwcpu, addr); in vpa_init()
695 cpu, hwcpu, addr, ret); in vpa_init()
Dhotplug-cpu.c102 unsigned int hwcpu = hard_smp_processor_id(); in pseries_mach_cpu_die() local
139 unregister_slb_shadow(hwcpu); in pseries_mach_cpu_die()
155 unregister_slb_shadow(hwcpu); in pseries_mach_cpu_die()
/arch/arm/mach-mvebu/
Dpmsu.c574 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()