Lines Matching refs:hw_cpu
113 void mvebu_pmsu_set_cpu_boot_addr(int hw_cpu, void *boot_addr) in mvebu_pmsu_set_cpu_boot_addr() argument
116 PMSU_BOOT_ADDR_REDIRECT_OFFSET(hw_cpu)); in mvebu_pmsu_set_cpu_boot_addr()
229 unsigned int hw_cpu = cpu_logical_map(smp_processor_id()); in mvebu_v7_pmsu_idle_prepare() local
240 reg = readl(pmsu_mp_base + PMSU_STATUS_AND_MASK(hw_cpu)); in mvebu_v7_pmsu_idle_prepare()
247 writel(reg, pmsu_mp_base + PMSU_STATUS_AND_MASK(hw_cpu)); in mvebu_v7_pmsu_idle_prepare()
249 reg = readl(pmsu_mp_base + PMSU_CONTROL_AND_CONFIG(hw_cpu)); in mvebu_v7_pmsu_idle_prepare()
256 writel(reg, pmsu_mp_base + PMSU_CONTROL_AND_CONFIG(hw_cpu)); in mvebu_v7_pmsu_idle_prepare()
260 reg = readl(pmsu_mp_base + PMSU_CPU_POWER_DOWN_CONTROL(hw_cpu)); in mvebu_v7_pmsu_idle_prepare()
262 writel(reg, pmsu_mp_base + PMSU_CPU_POWER_DOWN_CONTROL(hw_cpu)); in mvebu_v7_pmsu_idle_prepare()
343 unsigned int hw_cpu = cpu_logical_map(smp_processor_id()); in mvebu_v7_pmsu_idle_exit() local
349 reg = readl(pmsu_mp_base + PMSU_CONTROL_AND_CONFIG(hw_cpu)); in mvebu_v7_pmsu_idle_exit()
351 writel(reg, pmsu_mp_base + PMSU_CONTROL_AND_CONFIG(hw_cpu)); in mvebu_v7_pmsu_idle_exit()
354 reg = readl(pmsu_mp_base + PMSU_STATUS_AND_MASK(hw_cpu)); in mvebu_v7_pmsu_idle_exit()
359 writel(reg, pmsu_mp_base + PMSU_STATUS_AND_MASK(hw_cpu)); in mvebu_v7_pmsu_idle_exit()
366 unsigned int hw_cpu = cpu_logical_map(smp_processor_id()); in mvebu_v7_cpu_pm_notify() local
367 mvebu_pmsu_set_cpu_boot_addr(hw_cpu, mvebu_cpu_resume); in mvebu_v7_cpu_pm_notify()