| /rk3399_ARM-atf/plat/mediatek/drivers/spm/mt8188/ |
| H A D | mt_spm_conservation.c | 29 struct spm_lp_scen *spm_lp, in go_to_spm_before_wfi() argument 36 pwrctrl = spm_lp->pwrctrl; in go_to_spm_before_wfi() 76 struct spm_lp_scen *spm_lp, in go_to_spm_after_wfi() argument 107 struct spm_lp_scen *spm_lp, in spm_conservation() argument 112 if (spm_lp == NULL) { in spm_conservation() 117 go_to_spm_before_wfi(state_id, ext_opand, spm_lp, rc_state); in spm_conservation() 123 void spm_conservation_finish(int state_id, unsigned int ext_opand, struct spm_lp_scen *spm_lp, in spm_conservation_finish() argument 127 go_to_spm_after_wfi(state_id, ext_opand, spm_lp, status); in spm_conservation_finish()
|
| H A D | mt_spm_conservation.h | 13 struct spm_lp_scen *spm_lp, 16 struct spm_lp_scen *spm_lp,
|
| H A D | mt_spm_idle.h | 13 struct spm_lp_scen *spm_lp, 16 struct spm_lp_scen *spm_lp,
|
| /rk3399_ARM-atf/plat/mediatek/mt8195/drivers/spm/ |
| H 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()
|
| H A D | mt_spm_conservation.h | 13 struct spm_lp_scen *spm_lp, 16 struct spm_lp_scen *spm_lp,
|
| /rk3399_ARM-atf/plat/mediatek/drivers/spm/mt8196/ |
| H A D | mt_spm_conservation.c | 42 struct spm_lp_scen *spm_lp, in go_to_spm_before_wfi() argument 48 pwrctrl = spm_lp->pwrctrl; in go_to_spm_before_wfi() 76 struct spm_lp_scen *spm_lp, in go_to_spm_after_wfi() argument 101 struct spm_lp_scen *spm_lp, uint32_t resource_req) in spm_conservation() argument 105 if (!spm_lp) in spm_conservation() 126 go_to_spm_before_wfi(state_id, ext_opand, spm_lp, rc_state); in spm_conservation() 134 struct spm_lp_scen *spm_lp, in spm_conservation_finish() argument 148 go_to_spm_after_wfi(state_id, ext_opand, spm_lp, status); in spm_conservation_finish()
|
| H A D | mt_spm_idle.h | 12 typedef int (*spm_idle_conduct)(int state_id, struct spm_lp_scen *spm_lp, 16 struct spm_lp_scen *spm_lp,
|
| H A D | mt_spm_conservation.h | 14 struct spm_lp_scen *spm_lp, 18 struct spm_lp_scen *spm_lp,
|
| /rk3399_ARM-atf/plat/mediatek/mt8192/drivers/spm/ |
| H 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()
|
| H A D | mt_spm_conservation.h | 13 struct spm_lp_scen *spm_lp, 16 struct spm_lp_scen *spm_lp,
|
| /rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/ |
| H 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()
|
| H A D | mt_spm_conservation.h | 13 struct spm_lp_scen *spm_lp, 16 struct spm_lp_scen *spm_lp,
|
| H 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,
|
| /rk3399_ARM-atf/plat/mediatek/drivers/spm/mt8189/ |
| H A D | mt_spm_conservation.c | 97 struct spm_lp_scen *spm_lp, in go_to_spm_before_wfi() argument 104 pwrctrl = spm_lp->pwrctrl; in go_to_spm_before_wfi() 133 struct spm_lp_scen *spm_lp, in go_to_spm_after_wfi() argument 203 struct spm_lp_scen *spm_lp, uint32_t resource_req) in spm_conservation() argument 207 if (!spm_lp) in spm_conservation() 231 spm_lp->pwrctrl->pcm_flags1 |= SPM_FLAG1_DISABLE_VCORE_LP; in spm_conservation() 233 spm_lp->pwrctrl->pcm_flags1 &= ~SPM_FLAG1_DISABLE_VCORE_LP; in spm_conservation() 235 go_to_spm_before_wfi(state_id, ext_opand, spm_lp, rc_state); in spm_conservation() 243 struct spm_lp_scen *spm_lp, in spm_conservation_finish() argument 257 go_to_spm_after_wfi(state_id, ext_opand, spm_lp, status); in spm_conservation_finish()
|
| H A D | mt_spm_conservation.h | 14 struct spm_lp_scen *spm_lp, uint32_t resource_req); 17 struct spm_lp_scen *spm_lp,
|
| H A D | mt_spm_idle.h | 12 typedef int (*spm_idle_conduct)(int state_id, struct spm_lp_scen *spm_lp, 16 struct spm_lp_scen *spm_lp,
|
| /rk3399_ARM-atf/plat/mediatek/mt8195/drivers/spm/constraints/ |
| H 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()
|
| H 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()
|
| H 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()
|
| /rk3399_ARM-atf/plat/mediatek/mt8192/drivers/spm/constraints/ |
| H 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()
|
| H 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()
|
| H 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()
|
| /rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/constraints/ |
| H 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()
|
| H 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()
|
| /rk3399_ARM-atf/plat/mediatek/drivers/spm/mt8188/constraints/ |
| H A D | mt_spm_rc_cpu_buck_ldo.c | 43 struct spm_lp_scen *spm_lp, in spm_cpu_bcuk_ldo_conduct() argument 48 if ((spm_lp == NULL) || (resource_req == NULL)) { in spm_cpu_bcuk_ldo_conduct() 52 spm_lp->pwrctrl->pcm_flags = (uint32_t)CONSTRAINT_CPU_BUCK_PCM_FLAG; in spm_cpu_bcuk_ldo_conduct() 53 spm_lp->pwrctrl->pcm_flags1 = (uint32_t)CONSTRAINT_CPU_BUCK_PCM_FLAG1; in spm_cpu_bcuk_ldo_conduct()
|