Home
last modified time | relevance | path

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

/arch/powerpc/platforms/pseries/
Dkexec.c29 int hwcpu = hard_smp_processor_id(); in pseries_kexec_cpu_down() local
32 ret = unregister_dtl(hwcpu); in pseries_kexec_cpu_down()
36 cpu, hwcpu, ret); in pseries_kexec_cpu_down()
40 ret = unregister_slb_shadow(hwcpu); in pseries_kexec_cpu_down()
44 cpu, hwcpu, ret); in pseries_kexec_cpu_down()
47 ret = unregister_vpa(hwcpu); in pseries_kexec_cpu_down()
50 "(hw %d) failed with %d\n", cpu, hwcpu, ret); in pseries_kexec_cpu_down()
Ddtl.c149 int ret, hwcpu; in dtl_start() local
155 hwcpu = get_hard_smp_processor_id(dtl->cpu); in dtl_start()
157 ret = register_dtl(hwcpu, addr); in dtl_start()
160 "failed with %d\n", __func__, dtl->cpu, hwcpu, ret); in dtl_start()
179 int hwcpu = get_hard_smp_processor_id(dtl->cpu); in dtl_stop() local
183 unregister_dtl(hwcpu); in dtl_stop()
Dlpar.c67 int hwcpu = get_hard_smp_processor_id(cpu); in vpa_init() local
86 ret = register_vpa(hwcpu, addr); in vpa_init()
90 "%lx failed with %ld\n", cpu, hwcpu, addr, ret); in vpa_init()
101 ret = register_slb_shadow(hwcpu, addr); in vpa_init()
105 cpu, hwcpu, addr, ret); in vpa_init()
121 ret = register_dtl(hwcpu, __pa(dtl)); in vpa_init()
125 hwcpu, ret); in vpa_init()
Dhotplug-cpu.c106 unsigned int hwcpu = hard_smp_processor_id(); in pseries_mach_cpu_die() local
140 unregister_slb_shadow(hwcpu); in pseries_mach_cpu_die()
156 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()
/arch/powerpc/mm/
Dnuma.c1246 int hwcpu = get_hard_smp_processor_id(cpu); in hcall_vphn() local
1248 rc = plpar_hcall9(H_HOME_NODE_ASSOCIATIVITY, retbuf, flags, hwcpu); in hcall_vphn()