Home
last modified time | relevance | path

Searched refs:spm_lp (Results 1 – 21 of 21) sorted by relevance

/arm-trusted-firmware-2.8.0/plat/mediatek/mt8195/drivers/spm/
A Dmt_spm_conservation.c22 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 Dmt_spm_conservation.h13 struct spm_lp_scen *spm_lp,
16 struct spm_lp_scen *spm_lp,
A Dmt_spm_idle.h10 typedef void (*spm_idle_conduct)(struct spm_lp_scen *spm_lp,
/arm-trusted-firmware-2.8.0/plat/mediatek/mt8192/drivers/spm/
A Dmt_spm_conservation.c23 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 Dmt_spm_conservation.h13 struct spm_lp_scen *spm_lp,
16 struct spm_lp_scen *spm_lp,
A Dmt_spm_idle.h10 typedef void (*spm_idle_conduct)(struct spm_lp_scen *spm_lp,
/arm-trusted-firmware-2.8.0/plat/mediatek/mt8186/drivers/spm/
A Dmt_spm_conservation.c26 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 Dmt_spm_conservation.h13 struct spm_lp_scen *spm_lp,
16 struct spm_lp_scen *spm_lp,
A Dmt_spm_idle.h10 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 Dmt_spm_rc_cpu_buck_ldo.c45 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 Dmt_spm_rc_dram.c85 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 Dmt_spm_rc_syspll.c83 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 Dmt_spm_rc_bus26m.c145 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 Dmt_spm_rc_cpu_buck_ldo.c44 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 Dmt_spm_rc_dram.c76 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 Dmt_spm_rc_syspll.c75 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 Dmt_spm_rc_bus26m.c135 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 Dmt_spm_rc_cpu_buck_ldo.c43 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 Dmt_spm_rc_dram.c76 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 Dmt_spm_rc_syspll.c81 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 Dmt_spm_rc_bus26m.c137 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()

Completed in 23 milliseconds