Searched refs:hwcpu (Results 1 – 6 of 6) sorted by relevance
/arch/powerpc/platforms/pseries/ |
D | kexec.c | 30 int hwcpu = hard_smp_processor_id(); in pseries_kexec_cpu_down() local 33 ret = unregister_dtl(hwcpu); in pseries_kexec_cpu_down() 37 cpu, hwcpu, ret); in pseries_kexec_cpu_down() 41 ret = unregister_slb_shadow(hwcpu); in pseries_kexec_cpu_down() 45 cpu, hwcpu, ret); in pseries_kexec_cpu_down() 48 ret = unregister_vpa(hwcpu); in pseries_kexec_cpu_down() 51 "(hw %d) failed with %d\n", cpu, hwcpu, ret); in pseries_kexec_cpu_down()
|
D | dtl.c | 149 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()
|
D | lpar.c | 65 int hwcpu = get_hard_smp_processor_id(cpu); in vpa_init() local 84 ret = register_vpa(hwcpu, addr); in vpa_init() 88 "%lx failed with %ld\n", cpu, hwcpu, addr, ret); in vpa_init() 97 ret = register_slb_shadow(hwcpu, addr); in vpa_init() 101 cpu, hwcpu, addr, ret); in vpa_init() 116 ret = register_dtl(hwcpu, __pa(dtl)); in vpa_init() 120 hwcpu, ret); in vpa_init()
|
D | hotplug-cpu.c | 113 unsigned int hwcpu = hard_smp_processor_id(); in pseries_mach_cpu_die() local 147 unregister_slb_shadow(hwcpu); in pseries_mach_cpu_die() 163 unregister_slb_shadow(hwcpu); in pseries_mach_cpu_die()
|
/arch/arm/mach-mvebu/ |
D | pmsu.c | 552 int hwcpu = cpu_logical_map(cpu); in mvebu_pmsu_dfs_request() local 556 reg = readl(pmsu_mp_base + PMSU_EVENT_STATUS_AND_MASK(hwcpu)); in mvebu_pmsu_dfs_request() 558 writel(reg, pmsu_mp_base + PMSU_EVENT_STATUS_AND_MASK(hwcpu)); in mvebu_pmsu_dfs_request() 561 reg = readl(pmsu_mp_base + PMSU_EVENT_STATUS_AND_MASK(hwcpu)); in mvebu_pmsu_dfs_request() 563 writel(reg, pmsu_mp_base + PMSU_EVENT_STATUS_AND_MASK(hwcpu)); in mvebu_pmsu_dfs_request() 572 reg = readl(pmsu_mp_base + PMSU_EVENT_STATUS_AND_MASK(hwcpu)); in mvebu_pmsu_dfs_request() 582 reg = readl(pmsu_mp_base + PMSU_EVENT_STATUS_AND_MASK(hwcpu)); in mvebu_pmsu_dfs_request() 584 writel(reg, pmsu_mp_base + PMSU_EVENT_STATUS_AND_MASK(hwcpu)); in mvebu_pmsu_dfs_request()
|
/arch/powerpc/mm/ |
D | numa.c | 1462 int hwcpu = get_hard_smp_processor_id(cpu); in hcall_vphn() local 1465 rc = plpar_hcall9(H_HOME_NODE_ASSOCIATIVITY, retbuf, flags, hwcpu); in hcall_vphn()
|