Searched refs:hwcpu (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.1/arch/powerpc/platforms/pseries/ |
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()
|
D | smp.c | 176 int hwcpu; in pseries_cause_nmi_ipi() local 179 hwcpu = H_SIGNAL_SYS_RESET_ALL_OTHERS; in pseries_cause_nmi_ipi() 186 hwcpu = get_hard_smp_processor_id(cpu); in pseries_cause_nmi_ipi() 189 if (plpar_signal_sys_reset(hwcpu) == H_SUCCESS) in pseries_cause_nmi_ipi()
|
D | dtl.c | 137 int ret, hwcpu; in dtl_start() local 143 hwcpu = get_hard_smp_processor_id(dtl->cpu); in dtl_start() 145 ret = register_dtl(hwcpu, addr); in dtl_start() 148 "failed with %d\n", __func__, dtl->cpu, hwcpu, ret); in dtl_start() 167 int hwcpu = get_hard_smp_processor_id(dtl->cpu); in dtl_stop() local 171 unregister_dtl(hwcpu); in dtl_stop()
|
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() 678 int hwcpu = get_hard_smp_processor_id(cpu); in vpa_init() local 695 ret = register_vpa(hwcpu, addr); in vpa_init() 699 "%lx failed with %ld\n", cpu, hwcpu, addr, ret); in vpa_init() 710 ret = register_slb_shadow(hwcpu, addr); in vpa_init() 714 cpu, hwcpu, addr, ret); in vpa_init()
|
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-v6.1/arch/arm/mach-mvebu/ |
D | pmsu.c | 571 int hwcpu = cpu_logical_map(cpu); in mvebu_pmsu_dfs_request() local 575 reg = readl(pmsu_mp_base + PMSU_EVENT_STATUS_AND_MASK(hwcpu)); in mvebu_pmsu_dfs_request() 577 writel(reg, pmsu_mp_base + PMSU_EVENT_STATUS_AND_MASK(hwcpu)); in mvebu_pmsu_dfs_request() 580 reg = readl(pmsu_mp_base + PMSU_EVENT_STATUS_AND_MASK(hwcpu)); in mvebu_pmsu_dfs_request() 582 writel(reg, pmsu_mp_base + PMSU_EVENT_STATUS_AND_MASK(hwcpu)); in mvebu_pmsu_dfs_request() 591 reg = readl(pmsu_mp_base + PMSU_EVENT_STATUS_AND_MASK(hwcpu)); in mvebu_pmsu_dfs_request() 601 reg = readl(pmsu_mp_base + PMSU_EVENT_STATUS_AND_MASK(hwcpu)); in mvebu_pmsu_dfs_request() 603 writel(reg, pmsu_mp_base + PMSU_EVENT_STATUS_AND_MASK(hwcpu)); in mvebu_pmsu_dfs_request()
|
/Linux-v6.1/drivers/hwmon/ |
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()
|