Searched refs:pm_info (Results 1 - 6 of 6) sorted by relevance
/linux-4.4.14/arch/arm/mach-omap2/ |
H A D | omap-mpuss-lowpower.c | 121 struct omap4_cpu_pm_info *pm_info = &per_cpu(omap4_pm_info, cpu_id); set_cpu_wakeup_addr() local 123 if (pm_info->wkup_sar_addr) set_cpu_wakeup_addr() 124 writel_relaxed(addr, pm_info->wkup_sar_addr); set_cpu_wakeup_addr() 132 struct omap4_cpu_pm_info *pm_info = &per_cpu(omap4_pm_info, cpu_id); scu_pwrst_prepare() local 149 if (pm_info->scu_sar_addr) scu_pwrst_prepare() 150 writel_relaxed(scu_pwr_st, pm_info->scu_sar_addr); scu_pwrst_prepare() 186 struct omap4_cpu_pm_info *pm_info = &per_cpu(omap4_pm_info, cpu_id); l2x0_pwrst_prepare() local 188 if (pm_info->l2x0_sar_addr) l2x0_pwrst_prepare() 189 writel_relaxed(save_state, pm_info->l2x0_sar_addr); l2x0_pwrst_prepare() 229 struct omap4_cpu_pm_info *pm_info = &per_cpu(omap4_pm_info, cpu); omap4_enter_lowpower() local 273 pwrdm_set_next_pwrst(pm_info->pwrdm, power_state); omap4_enter_lowpower() 274 pwrdm_set_logic_retst(pm_info->pwrdm, cpu_logic_state); omap4_enter_lowpower() 298 pwrdm_set_next_pwrst(pm_info->pwrdm, PWRDM_POWER_ON); omap4_enter_lowpower() 312 struct omap4_cpu_pm_info *pm_info = &per_cpu(omap4_pm_info, cpu); omap4_hotplug_cpu() local 319 power_state = pwrdm_get_valid_lp_state(pm_info->pwrdm, omap4_hotplug_cpu() 325 pwrdm_clear_all_prev_pwrst(pm_info->pwrdm); omap4_hotplug_cpu() 326 pwrdm_set_next_pwrst(pm_info->pwrdm, power_state); omap4_hotplug_cpu() 337 pwrdm_set_next_pwrst(pm_info->pwrdm, PWRDM_POWER_ON); omap4_hotplug_cpu() 362 struct omap4_cpu_pm_info *pm_info; omap4_mpuss_init() local 373 pm_info = &per_cpu(omap4_pm_info, 0x0); omap4_mpuss_init() 375 pm_info->scu_sar_addr = sar_base + SCU_OFFSET0; omap4_mpuss_init() 376 pm_info->wkup_sar_addr = sar_base + omap4_mpuss_init() 378 pm_info->l2x0_sar_addr = sar_base + L2X0_SAVE_OFFSET0; omap4_mpuss_init() 380 pm_info->pwrdm = pwrdm_lookup("cpu0_pwrdm"); omap4_mpuss_init() 381 if (!pm_info->pwrdm) { omap4_mpuss_init() 387 pwrdm_clear_all_prev_pwrst(pm_info->pwrdm); omap4_mpuss_init() 391 pwrdm_set_next_pwrst(pm_info->pwrdm, PWRDM_POWER_ON); omap4_mpuss_init() 393 pm_info = &per_cpu(omap4_pm_info, 0x1); omap4_mpuss_init() 395 pm_info->scu_sar_addr = sar_base + SCU_OFFSET1; omap4_mpuss_init() 396 pm_info->wkup_sar_addr = sar_base + omap4_mpuss_init() 398 pm_info->l2x0_sar_addr = sar_base + L2X0_SAVE_OFFSET1; omap4_mpuss_init() 401 pm_info->pwrdm = pwrdm_lookup("cpu1_pwrdm"); omap4_mpuss_init() 402 if (!pm_info->pwrdm) { omap4_mpuss_init() 408 pwrdm_clear_all_prev_pwrst(pm_info->pwrdm); omap4_mpuss_init() 412 pwrdm_set_next_pwrst(pm_info->pwrdm, PWRDM_POWER_ON); omap4_mpuss_init()
|
/linux-4.4.14/arch/arm/mach-imx/ |
H A D | pm-imx6.c | 206 phys_addr_t pbase; /* The physical address of pm_info. */ 209 u32 pm_info_size; /* Size of pm_info. */ 454 struct imx6_cpu_pm_info *pm_info; imx6q_suspend_init() local 499 memset(suspend_ocram_base, 0, sizeof(*pm_info)); imx6q_suspend_init() 500 pm_info = suspend_ocram_base; imx6q_suspend_init() 501 pm_info->pbase = ocram_pbase; imx6q_suspend_init() 502 pm_info->resume_addr = virt_to_phys(v7_cpu_resume); imx6q_suspend_init() 503 pm_info->pm_info_size = sizeof(*pm_info); imx6q_suspend_init() 509 pm_info->ccm_base.vbase = ccm_base; imx6q_suspend_init() 511 ret = imx6_pm_get_base(&pm_info->mmdc_base, socdata->mmdc_compat); imx6q_suspend_init() 517 ret = imx6_pm_get_base(&pm_info->src_base, socdata->src_compat); imx6q_suspend_init() 523 ret = imx6_pm_get_base(&pm_info->iomuxc_base, socdata->iomuxc_compat); imx6q_suspend_init() 529 ret = imx6_pm_get_base(&pm_info->gpc_base, socdata->gpc_compat); imx6q_suspend_init() 536 ret = imx6_pm_get_base(&pm_info->l2_base, socdata->pl310_compat); imx6q_suspend_init() 544 pm_info->ddr_type = imx_mmdc_get_ddr_type(); imx6q_suspend_init() 545 pm_info->mmdc_io_num = socdata->mmdc_io_num; imx6q_suspend_init() 548 for (i = 0; i < pm_info->mmdc_io_num; i++) { imx6q_suspend_init() 549 pm_info->mmdc_io_val[i][0] = imx6q_suspend_init() 551 pm_info->mmdc_io_val[i][1] = imx6q_suspend_init() 552 readl_relaxed(pm_info->iomuxc_base.vbase + imx6q_suspend_init() 557 suspend_ocram_base + sizeof(*pm_info), imx6q_suspend_init() 559 MX6Q_SUSPEND_OCRAM_SIZE - sizeof(*pm_info)); imx6q_suspend_init() 564 iounmap(&pm_info->gpc_base.vbase); imx6q_suspend_init() 566 iounmap(&pm_info->iomuxc_base.vbase); imx6q_suspend_init() 568 iounmap(&pm_info->src_base.vbase); imx6q_suspend_init() 570 iounmap(&pm_info->mmdc_base.vbase); imx6q_suspend_init()
|
H A D | suspend-imx6.S | 22 * r0: pm_info structure address; 23 * r1 ~ r4: for saving pm_info members; 184 /* store physical resume addr and pm_info address. */ 322 /* get physical resume address from pm_info. */
|
H A D | suspend-imx53.S | 25 * r0: pm_info structure address;
|
/linux-4.4.14/arch/ia64/kernel/ |
H A D | palinfo.c | 653 pal_perf_mon_info_u_t pm_info; perfmon_info() local 655 if (ia64_pal_perf_mon_info(pm_buffer, &pm_info) != 0) perfmon_info() 664 pm_info.pal_perf_mon_info_s.generic, perfmon_info() 665 pm_info.pal_perf_mon_info_s.width, perfmon_info() 666 pm_info.pal_perf_mon_info_s.cycles, perfmon_info() 667 pm_info.pal_perf_mon_info_s.retired); perfmon_info()
|
/linux-4.4.14/arch/ia64/include/asm/ |
H A D | pal.h | 1378 ia64_pal_perf_mon_info (u64 *pm_buffer, pal_perf_mon_info_u_t *pm_info) ia64_pal_perf_mon_info() argument 1382 if (pm_info) ia64_pal_perf_mon_info() 1383 pm_info->ppmi_data = iprv.v0; ia64_pal_perf_mon_info()
|
Completed in 244 milliseconds