Searched refs:hwcpu (Results 1 – 7 of 7) sorted by relevance
/linux/arch/powerpc/platforms/pseries/ |
A D | kexec.c | 31 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 D | smp.c | 177 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 D | dtl.c | 127 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 D | lpar.c | 120 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 D | hotplug-cpu.c | 63 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 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()
|
/linux/drivers/hwmon/ |
A D | ibmpowernv.c | 172 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