Home
last modified time | relevance | path

Searched refs:pwr_ctrl (Results 1 – 9 of 9) sorted by relevance

/external/arm-trusted-firmware/plat/mediatek/mt8173/drivers/spm/
Dspm.h211 struct pwr_ctrl { struct
275 struct pwr_ctrl *pwrctrl;
291 static inline void set_pwrctrl_pcm_flags(struct pwr_ctrl *pwrctrl, in set_pwrctrl_pcm_flags()
302 static inline void set_pwrctrl_pcm_data(struct pwr_ctrl *pwrctrl, in set_pwrctrl_pcm_data()
311 void spm_set_power_control(const struct pwr_ctrl *pwrctrl);
312 void spm_set_wakeup_event(const struct pwr_ctrl *pwrctrl);
316 void spm_kick_pcm_to_run(struct pwr_ctrl *pwrctrl);
Dspm_hotplug.c186 static struct pwr_ctrl hotplug_ctrl = {
208 struct pwr_ctrl *pwrctrl = spm_hotplug.pwrctrl; in spm_go_to_hotplug()
Dspm_suspend.c214 static struct pwr_ctrl spm_ctrl = {
244 struct pwr_ctrl *pwrctrl; in go_to_sleep_before_wfi()
Dspm_mcdi.c219 static struct pwr_ctrl mcdi_ctrl = {
453 struct pwr_ctrl *pwrctrl = spm_mcdi.pwrctrl; in spm_mcdi_prepare_for_mtcmos()
471 struct pwr_ctrl *pwrctrl = spm_mcdi.pwrctrl; in spm_mcdi_prepare_for_off_state()
Dspm.c159 void spm_set_power_control(const struct pwr_ctrl *pwrctrl) in spm_set_power_control()
184 void spm_set_wakeup_event(const struct pwr_ctrl *pwrctrl) in spm_set_wakeup_event()
270 void spm_kick_pcm_to_run(struct pwr_ctrl *pwrctrl) in spm_kick_pcm_to_run()
/external/arm-trusted-firmware/plat/mediatek/mt8183/drivers/spm/
Dspm.c109 void spm_set_power_control(const struct pwr_ctrl *pwrctrl) in spm_set_power_control()
228 void spm_set_wakeup_event(const struct pwr_ctrl *pwrctrl) in spm_set_wakeup_event()
247 void spm_set_pcm_flags(const struct pwr_ctrl *pwrctrl) in spm_set_pcm_flags()
Dspm_suspend.c48 static const struct pwr_ctrl suspend_ctrl = {
Dspm.h2382 struct pwr_ctrl { struct
2538 extern void spm_set_power_control(const struct pwr_ctrl *pwrctrl);
2539 extern void spm_set_wakeup_event(const struct pwr_ctrl *pwrctrl);
2540 extern void spm_set_pcm_flags(const struct pwr_ctrl *pwrctrl);
/external/arm-trusted-firmware/plat/mediatek/mt8173/drivers/mtcmos/
Dmtcmos.c162 uint32_t wait_mtcmos_ack(uint32_t on, uint32_t pwr_ctrl, uint32_t spm_pwr_sta) in wait_mtcmos_ack() argument
168 cmp = mmio_read_32(SPM_PCM_PASR_DPD_3) & pwr_ctrl; in wait_mtcmos_ack()