Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm/mach-at91/
H A Dpm.c247 if (!soc_pm.data.pmc || !soc_pm.data.shdwc || !soc_pm.ws_ids) in at91_pm_config_ws()
256 soc_pm.config_shdwc_ws(soc_pm.data.shdwc, &mode, &polarity); in at91_pm_config_ws()
285 soc_pm.config_pmc_ws(soc_pm.data.pmc, mode, polarity); in at91_pm_config_ws()
463 soc_pm.data.mode = soc_pm.data.suspend_mode; in at91_pm_begin()
467 soc_pm.data.mode = soc_pm.data.standby_mode; in at91_pm_begin()
471 soc_pm.data.mode = -1; in at91_pm_begin()
480 else if (soc_pm.bu) in at91_pm_begin()
550 if (soc_pm.data.mode == AT91_PM_BACKUP && soc_pm.data.ramc_phy) { in at91_suspend_finish()
600 if (!soc_pm.data.sfrbu) in at91_pm_switch_ba_to_vbat()
610 val |= soc_pm.sfrbu_regs.pswbu.key | soc_pm.sfrbu_regs.pswbu.ctrl; in at91_pm_switch_ba_to_vbat()
[all …]