• Home
  • Raw
  • Download

Lines Matching refs:pm_info

124 	struct omap4_cpu_pm_info *pm_info = &per_cpu(omap4_pm_info, cpu_id);  in set_cpu_wakeup_addr()  local
126 if (pm_info->wkup_sar_addr) in set_cpu_wakeup_addr()
127 writel_relaxed(addr, pm_info->wkup_sar_addr); in set_cpu_wakeup_addr()
135 struct omap4_cpu_pm_info *pm_info = &per_cpu(omap4_pm_info, cpu_id); in scu_pwrst_prepare() local
152 if (pm_info->scu_sar_addr) in scu_pwrst_prepare()
153 writel_relaxed(scu_pwr_st, pm_info->scu_sar_addr); in scu_pwrst_prepare()
189 struct omap4_cpu_pm_info *pm_info = &per_cpu(omap4_pm_info, cpu_id); in l2x0_pwrst_prepare() local
191 if (pm_info->l2x0_sar_addr) in l2x0_pwrst_prepare()
192 writel_relaxed(save_state, pm_info->l2x0_sar_addr); in l2x0_pwrst_prepare()
232 struct omap4_cpu_pm_info *pm_info = &per_cpu(omap4_pm_info, cpu); in omap4_enter_lowpower() local
275 pwrdm_set_next_pwrst(pm_info->pwrdm, power_state); in omap4_enter_lowpower()
276 pwrdm_set_logic_retst(pm_info->pwrdm, cpu_logic_state); in omap4_enter_lowpower()
300 pwrdm_set_next_pwrst(pm_info->pwrdm, PWRDM_POWER_ON); in omap4_enter_lowpower()
314 struct omap4_cpu_pm_info *pm_info = &per_cpu(omap4_pm_info, cpu); in omap4_hotplug_cpu() local
321 power_state = pwrdm_get_valid_lp_state(pm_info->pwrdm, in omap4_hotplug_cpu()
327 pwrdm_clear_all_prev_pwrst(pm_info->pwrdm); in omap4_hotplug_cpu()
328 pwrdm_set_next_pwrst(pm_info->pwrdm, power_state); in omap4_hotplug_cpu()
339 pwrdm_set_next_pwrst(pm_info->pwrdm, PWRDM_POWER_ON); in omap4_hotplug_cpu()
364 struct omap4_cpu_pm_info *pm_info; in omap4_mpuss_init() local
372 pm_info = &per_cpu(omap4_pm_info, 0x0); in omap4_mpuss_init()
374 pm_info->scu_sar_addr = sar_base + SCU_OFFSET0; in omap4_mpuss_init()
376 pm_info->wkup_sar_addr = sar_base + in omap4_mpuss_init()
379 pm_info->wkup_sar_addr = sar_base + in omap4_mpuss_init()
381 pm_info->l2x0_sar_addr = sar_base + L2X0_SAVE_OFFSET0; in omap4_mpuss_init()
383 pm_info->pwrdm = pwrdm_lookup("cpu0_pwrdm"); in omap4_mpuss_init()
384 if (!pm_info->pwrdm) { in omap4_mpuss_init()
390 pwrdm_clear_all_prev_pwrst(pm_info->pwrdm); in omap4_mpuss_init()
394 pwrdm_set_next_pwrst(pm_info->pwrdm, PWRDM_POWER_ON); in omap4_mpuss_init()
396 pm_info = &per_cpu(omap4_pm_info, 0x1); in omap4_mpuss_init()
398 pm_info->scu_sar_addr = sar_base + SCU_OFFSET1; in omap4_mpuss_init()
400 pm_info->wkup_sar_addr = sar_base + in omap4_mpuss_init()
403 pm_info->wkup_sar_addr = sar_base + in omap4_mpuss_init()
405 pm_info->l2x0_sar_addr = sar_base + L2X0_SAVE_OFFSET1; in omap4_mpuss_init()
408 pm_info->pwrdm = pwrdm_lookup("cpu1_pwrdm"); in omap4_mpuss_init()
409 if (!pm_info->pwrdm) { in omap4_mpuss_init()
415 pwrdm_clear_all_prev_pwrst(pm_info->pwrdm); in omap4_mpuss_init()
419 pwrdm_set_next_pwrst(pm_info->pwrdm, PWRDM_POWER_ON); in omap4_mpuss_init()