Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/plat/mediatek/mt8183/drivers/spm/
Dspm_suspend.c50 .pcm_flags = SLP_PCM_FLAGS,
172 if (is_infra_pdn(suspend_ctrl.pcm_flags)) in go_to_sleep_before_wfi()
183 suspend_ctrl.pcm_flags, suspend_ctrl.pcm_flags1, in go_to_sleep_before_wfi()
194 if (is_infra_pdn(suspend_ctrl.pcm_flags)) in go_to_sleep_after_wfi()
Dspm.c249 mmio_write_32(SPM_SW_FLAG, pwrctrl->pcm_flags); in spm_set_pcm_flags()
Dspm.h2383 uint32_t pcm_flags; member
/external/arm-trusted-firmware/plat/mediatek/mt8195/drivers/spm/
Dmt_spm_vcorefs.c84 .pcm_flags = (SPM_FLAG_RUN_COMMON_SCENARIO |
388 dest_pwr_ctrl->pcm_flags = (dest_pwr_ctrl->pcm_flags & (~dvfs_mask)) | in __spm_sync_vcore_dvfs_power_control()
389 (src_pwr_ctrl->pcm_flags & dvfs_mask); in __spm_sync_vcore_dvfs_power_control()
393 (src_pwr_ctrl->pcm_flags & dvfs_mask); in __spm_sync_vcore_dvfs_power_control()
Dmt_spm_suspend.c346 suspend_ctrl.pcm_flags = SPM_SUSPEND_SLEEP_PCM_FLAG; in mt_spm_suspend_mode_set()
349 suspend_ctrl.pcm_flags = SPM_SUSPEND_PCM_FLAG; in mt_spm_suspend_mode_set()
Dmt_spm_internal.c354 pwrctrl->pcm_flags &= ~pwrctrl->pcm_flags_cust_clr; in __spm_set_pcm_flags()
358 pwrctrl->pcm_flags |= pwrctrl->pcm_flags_cust_set; in __spm_set_pcm_flags()
369 mmio_write_32(SPM_SW_FLAG_0, pwrctrl->pcm_flags); in __spm_set_pcm_flags()
371 mmio_write_32(SPM_SW_RSV_7, pwrctrl->pcm_flags); in __spm_set_pcm_flags()
Dmt_spm_internal.h113 uint32_t pcm_flags; member
556 pwrctrl->pcm_flags = flags; in set_pwrctrl_pcm_flags()
558 pwrctrl->pcm_flags = pwrctrl->pcm_flags_cust; in set_pwrctrl_pcm_flags()
Dmt_spm_conservation.c61 pwrctrl->pcm_flags, pwrctrl->pcm_flags1, in go_to_spm_before_wfi()
/external/arm-trusted-firmware/plat/mediatek/mt8192/drivers/spm/
Dmt_spm_vcorefs.c99 .pcm_flags = (SPM_FLAG_RUN_COMMON_SCENARIO |
300 dest_pwr_ctrl->pcm_flags = (dest_pwr_ctrl->pcm_flags & (~dvfs_mask)) | in __spm_sync_vcore_dvfs_power_control()
301 (src_pwr_ctrl->pcm_flags & dvfs_mask); in __spm_sync_vcore_dvfs_power_control()
306 (src_pwr_ctrl->pcm_flags & dvfs_mask); in __spm_sync_vcore_dvfs_power_control()
Dmt_spm_suspend.c77 .pcm_flags = SPM_SUSPEND_PCM_FLAG | SPM_FLAG_DISABLE_INFRA_PDN,
255 suspend_ctrl.pcm_flags = SPM_SUSPEND_SLEEP_PCM_FLAG; in mt_spm_suspend_mode_set()
258 suspend_ctrl.pcm_flags = SPM_SUSPEND_PCM_FLAG; in mt_spm_suspend_mode_set()
Dmt_spm_internal.c399 pwrctrl->pcm_flags &= ~pwrctrl->pcm_flags_cust_clr; in __spm_set_pcm_flags()
403 pwrctrl->pcm_flags |= pwrctrl->pcm_flags_cust_set; in __spm_set_pcm_flags()
414 mmio_write_32(SPM_SW_FLAG_0, pwrctrl->pcm_flags); in __spm_set_pcm_flags()
416 mmio_write_32(SPM_SW_RSV_7, pwrctrl->pcm_flags); in __spm_set_pcm_flags()
Dmt_spm_internal.h113 uint32_t pcm_flags; member
610 pwrctrl->pcm_flags = flags; in set_pwrctrl_pcm_flags()
612 pwrctrl->pcm_flags = pwrctrl->pcm_flags_cust; in set_pwrctrl_pcm_flags()
Dmt_spm_conservation.c63 pwrctrl->pcm_flags, pwrctrl->pcm_flags1, in go_to_spm_before_wfi()
/external/arm-trusted-firmware/plat/mediatek/mt8173/drivers/spm/
Dspm_suspend.c254 is_cpu_pdn(pwrctrl->pcm_flags), in go_to_sleep_before_wfi()
255 is_infra_pdn(pwrctrl->pcm_flags)); in go_to_sleep_before_wfi()
Dspm.h212 unsigned int pcm_flags; member
297 pwrctrl->pcm_flags = flags; in set_pwrctrl_pcm_flags()
299 pwrctrl->pcm_flags = pwrctrl->pcm_flags_cust; in set_pwrctrl_pcm_flags()
Dspm_hotplug.c197 .pcm_flags = 0,
Dspm.c292 mmio_write_32(SPM_PCM_FLAGS, pwrctrl->pcm_flags); in spm_kick_pcm_to_run()
/external/arm-trusted-firmware/plat/mediatek/mt8192/drivers/spm/constraints/
Dmt_spm_rc_cpu_buck_ldo.c47 spm_lp->pwrctrl->pcm_flags = (uint32_t)CONSTRAINT_CPU_BUCK_PCM_FLAG; in spm_cpu_bcuk_ldo_conduct()
Dmt_spm_rc_dram.c79 spm_lp->pwrctrl->pcm_flags = (uint32_t)CONSTRAINT_DRAM_PCM_FLAG; in spm_dram_conduct()
Dmt_spm_rc_syspll.c78 spm_lp->pwrctrl->pcm_flags = (uint32_t)CONSTRAINT_SYSPLL_PCM_FLAG; in spm_syspll_conduct()
Dmt_spm_rc_bus26m.c138 spm_lp->pwrctrl->pcm_flags = (uint32_t)CONSTRAINT_BUS26M_PCM_FLAG; in spm_bus26m_conduct()
/external/arm-trusted-firmware/plat/mediatek/mt8195/drivers/spm/constraints/
Dmt_spm_rc_cpu_buck_ldo.c48 spm_lp->pwrctrl->pcm_flags = (uint32_t)CONSTRAINT_CPU_BUCK_PCM_FLAG; in spm_cpu_bcuk_ldo_conduct()
Dmt_spm_rc_syspll.c86 spm_lp->pwrctrl->pcm_flags = (uint32_t)CONSTRAINT_SYSPLL_PCM_FLAG; in spm_syspll_conduct()
Dmt_spm_rc_dram.c88 spm_lp->pwrctrl->pcm_flags = (uint32_t)CONSTRAINT_DRAM_PCM_FLAG; in spm_dram_conduct()
Dmt_spm_rc_bus26m.c148 spm_lp->pwrctrl->pcm_flags = (uint32_t)CONSTRAINT_BUS26M_PCM_FLAG; in spm_bus26m_conduct()