Home
last modified time | relevance | path

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

/linux/arch/powerpc/platforms/pseries/
A 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()
A Dsmp.c177 int hwcpu; in pseries_cause_nmi_ipi() local
180 hwcpu = H_SIGNAL_SYS_RESET_ALL_OTHERS; in pseries_cause_nmi_ipi()
187 hwcpu = get_hard_smp_processor_id(cpu); in pseries_cause_nmi_ipi()
190 if (plpar_signal_sys_reset(hwcpu) == H_SUCCESS) in pseries_cause_nmi_ipi()
A 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()
A Dlpar.c120 int hwcpu = get_hard_smp_processor_id(cpu); in register_dtl_buffer() local
131 ret = register_dtl(hwcpu, __pa(dtl)); in register_dtl_buffer()
134 cpu, hwcpu, ret); in register_dtl_buffer()
667 int hwcpu = get_hard_smp_processor_id(cpu); in vpa_init() local
684 ret = register_vpa(hwcpu, addr); in vpa_init()
688 "%lx failed with %ld\n", cpu, hwcpu, addr, ret); in vpa_init()
699 ret = register_slb_shadow(hwcpu, addr); in vpa_init()
703 cpu, hwcpu, addr, ret); in vpa_init()
A Dhotplug-cpu.c63 unsigned int hwcpu = hard_smp_processor_id(); in pseries_cpu_offline_self() local
72 unregister_slb_shadow(hwcpu); in pseries_cpu_offline_self()
/linux/arch/arm/mach-mvebu/
A 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()
/linux/drivers/hwmon/
A Dibmpowernv.c172 static int get_logical_cpu(int hwcpu) in get_logical_cpu() argument
177 if (get_hard_smp_processor_id(cpu) == hwcpu) in get_logical_cpu()

Completed in 18 milliseconds