/arm-trusted-firmware-2.8.0/plat/mediatek/mt8195/drivers/spm/ |
A D | mt_spm_conservation.c | 22 struct spm_lp_scen *spm_lp, in go_to_spm_before_wfi() argument 29 pwrctrl = spm_lp->pwrctrl; in go_to_spm_before_wfi() 71 struct spm_lp_scen *spm_lp, in go_to_spm_after_wfi() argument 104 struct spm_lp_scen *spm_lp, unsigned int resource_req) in spm_conservation() argument 106 if (spm_lp == NULL) { in spm_conservation() 111 go_to_spm_before_wfi(state_id, ext_opand, spm_lp, resource_req); in spm_conservation() 118 struct spm_lp_scen *spm_lp, in spm_conservation_finish() argument 122 go_to_spm_after_wfi(state_id, ext_opand, spm_lp, status); in spm_conservation_finish()
|
A D | mt_spm_conservation.h | 13 struct spm_lp_scen *spm_lp, 16 struct spm_lp_scen *spm_lp,
|
A D | mt_spm_idle.h | 10 typedef void (*spm_idle_conduct)(struct spm_lp_scen *spm_lp,
|
/arm-trusted-firmware-2.8.0/plat/mediatek/mt8192/drivers/spm/ |
A D | mt_spm_conservation.c | 23 struct spm_lp_scen *spm_lp, in go_to_spm_before_wfi() argument 30 pwrctrl = spm_lp->pwrctrl; in go_to_spm_before_wfi() 71 struct spm_lp_scen *spm_lp, in go_to_spm_after_wfi() argument 104 struct spm_lp_scen *spm_lp, unsigned int resource_req) in spm_conservation() argument 106 if (spm_lp == NULL) { in spm_conservation() 111 go_to_spm_before_wfi(state_id, ext_opand, spm_lp, resource_req); in spm_conservation() 118 struct spm_lp_scen *spm_lp, in spm_conservation_finish() argument 122 go_to_spm_after_wfi(state_id, ext_opand, spm_lp, status); in spm_conservation_finish()
|
A D | mt_spm_conservation.h | 13 struct spm_lp_scen *spm_lp, 16 struct spm_lp_scen *spm_lp,
|
A D | mt_spm_idle.h | 10 typedef void (*spm_idle_conduct)(struct spm_lp_scen *spm_lp,
|
/arm-trusted-firmware-2.8.0/plat/mediatek/mt8186/drivers/spm/ |
A D | mt_spm_conservation.c | 26 struct spm_lp_scen *spm_lp, in go_to_spm_before_wfi() argument 33 pwrctrl = spm_lp->pwrctrl; in go_to_spm_before_wfi() 75 struct spm_lp_scen *spm_lp, in go_to_spm_after_wfi() argument 113 struct spm_lp_scen *spm_lp, unsigned int resource_req) in spm_conservation() argument 117 if (spm_lp == NULL) { in spm_conservation() 121 go_to_spm_before_wfi(state_id, ext_opand, spm_lp, resource_req); in spm_conservation() 129 struct spm_lp_scen *spm_lp, in spm_conservation_finish() argument 133 go_to_spm_after_wfi(state_id, ext_opand, spm_lp, status); in spm_conservation_finish()
|
A D | mt_spm_conservation.h | 13 struct spm_lp_scen *spm_lp, 16 struct spm_lp_scen *spm_lp,
|
A D | mt_spm_idle.h | 10 typedef void (*spm_idle_conduct)(struct spm_lp_scen *spm_lp, unsigned int *resource_req); 13 struct spm_lp_scen *spm_lp,
|
/arm-trusted-firmware-2.8.0/plat/mediatek/mt8195/drivers/spm/constraints/ |
A D | mt_spm_rc_cpu_buck_ldo.c | 45 static void spm_cpu_bcuk_ldo_conduct(struct spm_lp_scen *spm_lp, in spm_cpu_bcuk_ldo_conduct() argument 48 spm_lp->pwrctrl->pcm_flags = (uint32_t)CONSTRAINT_CPU_BUCK_PCM_FLAG; in spm_cpu_bcuk_ldo_conduct() 49 spm_lp->pwrctrl->pcm_flags1 = (uint32_t)CONSTRAINT_CPU_BUCK_PCM_FLAG1; in spm_cpu_bcuk_ldo_conduct()
|
A D | mt_spm_rc_dram.c | 85 static void spm_dram_conduct(struct spm_lp_scen *spm_lp, in spm_dram_conduct() argument 88 spm_lp->pwrctrl->pcm_flags = (uint32_t)CONSTRAINT_DRAM_PCM_FLAG; in spm_dram_conduct() 89 spm_lp->pwrctrl->pcm_flags1 = (uint32_t)CONSTRAINT_DRAM_PCM_FLAG1; in spm_dram_conduct()
|
A D | mt_spm_rc_syspll.c | 83 static void spm_syspll_conduct(struct spm_lp_scen *spm_lp, in spm_syspll_conduct() argument 86 spm_lp->pwrctrl->pcm_flags = (uint32_t)CONSTRAINT_SYSPLL_PCM_FLAG; in spm_syspll_conduct() 87 spm_lp->pwrctrl->pcm_flags1 = (uint32_t)CONSTRAINT_SYSPLL_PCM_FLAG1; in spm_syspll_conduct()
|
A D | mt_spm_rc_bus26m.c | 145 static void spm_bus26m_conduct(struct spm_lp_scen *spm_lp, in spm_bus26m_conduct() argument 148 spm_lp->pwrctrl->pcm_flags = (uint32_t)CONSTRAINT_BUS26M_PCM_FLAG; in spm_bus26m_conduct() 149 spm_lp->pwrctrl->pcm_flags1 = (uint32_t)CONSTRAINT_BUS26M_PCM_FLAG1; in spm_bus26m_conduct()
|
/arm-trusted-firmware-2.8.0/plat/mediatek/mt8192/drivers/spm/constraints/ |
A D | mt_spm_rc_cpu_buck_ldo.c | 44 static void spm_cpu_bcuk_ldo_conduct(struct spm_lp_scen *spm_lp, in spm_cpu_bcuk_ldo_conduct() argument 47 spm_lp->pwrctrl->pcm_flags = (uint32_t)CONSTRAINT_CPU_BUCK_PCM_FLAG; in spm_cpu_bcuk_ldo_conduct() 48 spm_lp->pwrctrl->pcm_flags1 = (uint32_t)CONSTRAINT_CPU_BUCK_PCM_FLAG1; in spm_cpu_bcuk_ldo_conduct()
|
A D | mt_spm_rc_dram.c | 76 static void spm_dram_conduct(struct spm_lp_scen *spm_lp, in spm_dram_conduct() argument 79 spm_lp->pwrctrl->pcm_flags = (uint32_t)CONSTRAINT_DRAM_PCM_FLAG; in spm_dram_conduct() 80 spm_lp->pwrctrl->pcm_flags1 = (uint32_t)CONSTRAINT_DRAM_PCM_FLAG1; in spm_dram_conduct()
|
A D | mt_spm_rc_syspll.c | 75 static void spm_syspll_conduct(struct spm_lp_scen *spm_lp, in spm_syspll_conduct() argument 78 spm_lp->pwrctrl->pcm_flags = (uint32_t)CONSTRAINT_SYSPLL_PCM_FLAG; in spm_syspll_conduct() 79 spm_lp->pwrctrl->pcm_flags1 = (uint32_t)CONSTRAINT_SYSPLL_PCM_FLAG1; in spm_syspll_conduct()
|
A D | mt_spm_rc_bus26m.c | 135 static void spm_bus26m_conduct(struct spm_lp_scen *spm_lp, in spm_bus26m_conduct() argument 138 spm_lp->pwrctrl->pcm_flags = (uint32_t)CONSTRAINT_BUS26M_PCM_FLAG; in spm_bus26m_conduct() 139 spm_lp->pwrctrl->pcm_flags1 = (uint32_t)CONSTRAINT_BUS26M_PCM_FLAG1; in spm_bus26m_conduct()
|
/arm-trusted-firmware-2.8.0/plat/mediatek/mt8186/drivers/spm/constraints/ |
A D | mt_spm_rc_cpu_buck_ldo.c | 43 static void spm_cpu_bcuk_ldo_conduct(struct spm_lp_scen *spm_lp, in spm_cpu_bcuk_ldo_conduct() argument 46 spm_lp->pwrctrl->pcm_flags = (uint32_t)CONSTRAINT_CPU_BUCK_PCM_FLAG; in spm_cpu_bcuk_ldo_conduct() 47 spm_lp->pwrctrl->pcm_flags1 = (uint32_t)CONSTRAINT_CPU_BUCK_PCM_FLAG1; in spm_cpu_bcuk_ldo_conduct()
|
A D | mt_spm_rc_dram.c | 76 static void spm_dram_conduct(struct spm_lp_scen *spm_lp, in spm_dram_conduct() argument 79 spm_lp->pwrctrl->pcm_flags = (uint32_t)CONSTRAINT_DRAM_PCM_FLAG; in spm_dram_conduct() 80 spm_lp->pwrctrl->pcm_flags1 = (uint32_t)CONSTRAINT_DRAM_PCM_FLAG1; in spm_dram_conduct()
|
A D | mt_spm_rc_syspll.c | 81 static void spm_syspll_conduct(struct spm_lp_scen *spm_lp, in spm_syspll_conduct() argument 84 spm_lp->pwrctrl->pcm_flags = (uint32_t)CONSTRAINT_SYSPLL_PCM_FLAG; in spm_syspll_conduct() 85 spm_lp->pwrctrl->pcm_flags1 = (uint32_t)CONSTRAINT_SYSPLL_PCM_FLAG1; in spm_syspll_conduct()
|
A D | mt_spm_rc_bus26m.c | 137 static void spm_bus26m_conduct(struct spm_lp_scen *spm_lp, unsigned int *resource_req) in spm_bus26m_conduct() argument 139 spm_lp->pwrctrl->pcm_flags = (uint32_t)CONSTRAINT_BUS26M_PCM_FLAG; in spm_bus26m_conduct() 140 spm_lp->pwrctrl->pcm_flags1 = (uint32_t)CONSTRAINT_BUS26M_PCM_FLAG1; in spm_bus26m_conduct()
|