Lines Matching refs:pm_ops
57 static struct am33xx_pm_platform_data *pm_ops; variable
139 if (!m3_ipc || !pm_ops) in am33xx_do_sram_idle()
145 return pm_ops->cpu_suspend(am33xx_do_wfi_sram, wfi_flags); in am33xx_do_sram_idle()
193 pm_ops->check_off_mode_enable()) { in am33xx_pm_suspend()
200 pm_ops->save_context(); in am33xx_pm_suspend()
203 ret = pm_ops->soc_suspend(suspend_state, am33xx_rtc_only_idle, in am33xx_pm_suspend()
211 pm_ops->restore_context(); in am33xx_pm_suspend()
216 ret = pm_ops->soc_suspend(suspend_state, am33xx_do_wfi_sram, in am33xx_pm_suspend()
251 if (suspend_state == PM_SUSPEND_MEM && pm_ops->check_off_mode_enable()) in am33xx_pm_suspend()
278 if (state == PM_SUSPEND_MEM && pm_ops->check_off_mode_enable()) { in am33xx_pm_begin()
289 pm_ops->begin_suspend(); in am33xx_pm_begin()
333 pm_ops->finish_suspend(); in am33xx_pm_end()
492 pm_ops = dev->platform_data; in am33xx_pm_probe()
493 if (!pm_ops) { in am33xx_pm_probe()
504 pm_sram = pm_ops->get_sram_addrs(); in am33xx_pm_probe()
552 ret = pm_ops->init(am33xx_do_sram_idle); in am33xx_pm_probe()
580 if (pm_ops->deinit) in am33xx_pm_remove()
581 pm_ops->deinit(); in am33xx_pm_remove()