Lines Matching refs:mtk_pm_ops
17 static plat_psci_ops_t mtk_pm_ops; variable
32 if (!mtk_pm_ops.pwr_domain_suspend) { in plat_pm_ops_setup_pwr()
33 mtk_pm_ops.pwr_domain_suspend = ops->pwr_domain_suspend; in plat_pm_ops_setup_pwr()
36 if (!mtk_pm_ops.pwr_domain_suspend_finish) { in plat_pm_ops_setup_pwr()
37 mtk_pm_ops.pwr_domain_suspend_finish = ops->pwr_domain_suspend_finish; in plat_pm_ops_setup_pwr()
40 if (!mtk_pm_ops.validate_power_state) { in plat_pm_ops_setup_pwr()
41 mtk_pm_ops.validate_power_state = ops->validate_power_state; in plat_pm_ops_setup_pwr()
44 if (!mtk_pm_ops.get_sys_suspend_power_state) { in plat_pm_ops_setup_pwr()
45 mtk_pm_ops.get_sys_suspend_power_state = ops->get_sys_suspend_power_state; in plat_pm_ops_setup_pwr()
60 if (!mtk_pm_ops.pwr_domain_on) { in plat_pm_ops_setup_smp()
61 mtk_pm_ops.pwr_domain_on = ops->pwr_domain_on; in plat_pm_ops_setup_smp()
64 if (!mtk_pm_ops.pwr_domain_on_finish) { in plat_pm_ops_setup_smp()
65 mtk_pm_ops.pwr_domain_on_finish = ops->pwr_domain_on_finish; in plat_pm_ops_setup_smp()
68 if (!mtk_pm_ops.pwr_domain_off) { in plat_pm_ops_setup_smp()
69 mtk_pm_ops.pwr_domain_off = ops->pwr_domain_off; in plat_pm_ops_setup_smp()
87 if (!mtk_pm_ops.system_off) { in plat_pm_ops_setup_reset()
88 mtk_pm_ops.system_off = ops->system_off; in plat_pm_ops_setup_reset()
91 if (!mtk_pm_ops.system_reset) { in plat_pm_ops_setup_reset()
92 mtk_pm_ops.system_reset = ops->system_reset; in plat_pm_ops_setup_reset()
95 if (!mtk_pm_ops.system_reset2) { in plat_pm_ops_setup_reset()
96 mtk_pm_ops.system_reset2 = ops->system_reset2; in plat_pm_ops_setup_reset()
107 *psci_ops = &mtk_pm_ops; in plat_setup_psci_ops()