Home
last modified time | relevance | path

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

/tf-a-ffa_el3_spmc/plat/mediatek/mt8195/drivers/spm/
A Dmt_spm_internal.h112 struct pwr_ctrl { struct
522 struct pwr_ctrl *pwrctrl;
530 extern void __spm_src_req_update(const struct pwr_ctrl *pwrctrl,
534 extern void __spm_set_wakeup_event(const struct pwr_ctrl *pwrctrl);
535 extern void __spm_kick_pcm_to_run(struct pwr_ctrl *pwrctrl);
536 extern void __spm_set_pcm_flags(struct pwr_ctrl *pwrctrl);
544 __spm_sync_vcore_dvfs_power_control(struct pwr_ctrl *dest_pwr_ctrl,
545 const struct pwr_ctrl *src_pwr_ctrl);
548 extern void __spm_set_fw_resume_option(struct pwr_ctrl *pwrctrl);
552 static inline void set_pwrctrl_pcm_flags(struct pwr_ctrl *pwrctrl, in set_pwrctrl_pcm_flags()
[all …]
A Dmt_spm_conservation.h19 extern void spm_conservation_pwrctrl_init(struct pwr_ctrl *pwrctrl);
A Dmt_spm_conservation.c26 struct pwr_ctrl *pwrctrl; in go_to_spm_before_wfi()
140 void spm_conservation_pwrctrl_init(struct pwr_ctrl *pwrctrl) in spm_conservation_pwrctrl_init()
A Dmt_spm_internal.c139 void __spm_src_req_update(const struct pwr_ctrl *pwrctrl, in __spm_src_req_update()
167 void __spm_set_power_control(const struct pwr_ctrl *pwrctrl) in __spm_set_power_control()
311 void __spm_set_wakeup_event(const struct pwr_ctrl *pwrctrl) in __spm_set_wakeup_event()
350 void __spm_set_pcm_flags(struct pwr_ctrl *pwrctrl) in __spm_set_pcm_flags()
A Dmt_spm_idle.c50 static struct pwr_ctrl idle_spm_pwr = {
A Dmt_spm_suspend.c69 static struct pwr_ctrl suspend_ctrl = {
/tf-a-ffa_el3_spmc/plat/mediatek/mt8192/drivers/spm/
A Dmt_spm_internal.h112 struct pwr_ctrl { struct
576 struct pwr_ctrl *pwrctrl;
584 extern void __spm_src_req_update(const struct pwr_ctrl *pwrctrl,
588 extern void __spm_set_wakeup_event(const struct pwr_ctrl *pwrctrl);
589 extern void __spm_kick_pcm_to_run(struct pwr_ctrl *pwrctrl);
590 extern void __spm_set_pcm_flags(struct pwr_ctrl *pwrctrl);
598 __spm_sync_vcore_dvfs_power_control(struct pwr_ctrl *dest_pwr_ctrl,
599 const struct pwr_ctrl *src_pwr_ctrl);
602 extern void __spm_set_fw_resume_option(struct pwr_ctrl *pwrctrl);
606 static inline void set_pwrctrl_pcm_flags(struct pwr_ctrl *pwrctrl, in set_pwrctrl_pcm_flags()
[all …]
A Dmt_spm_conservation.h19 extern void spm_conservation_pwrctrl_init(struct pwr_ctrl *pwrctrl);
A Dmt_spm_conservation.c27 struct pwr_ctrl *pwrctrl; in go_to_spm_before_wfi()
140 void spm_conservation_pwrctrl_init(struct pwr_ctrl *pwrctrl) in spm_conservation_pwrctrl_init()
A Dmt_spm_vcorefs.c95 static struct pwr_ctrl vcorefs_ctrl = {
293 void __spm_sync_vcore_dvfs_power_control(struct pwr_ctrl *dest_pwr_ctrl, in __spm_sync_vcore_dvfs_power_control()
294 const struct pwr_ctrl *src_pwr_ctrl) in __spm_sync_vcore_dvfs_power_control()
A Dmt_spm_internal.c139 void __spm_src_req_update(const struct pwr_ctrl *pwrctrl, in __spm_src_req_update()
167 void __spm_set_power_control(const struct pwr_ctrl *pwrctrl) in __spm_set_power_control()
352 void __spm_set_wakeup_event(const struct pwr_ctrl *pwrctrl) in __spm_set_wakeup_event()
395 void __spm_set_pcm_flags(struct pwr_ctrl *pwrctrl) in __spm_set_pcm_flags()
A Dmt_spm_idle.c53 static struct pwr_ctrl idle_spm_pwr = {
A Dmt_spm_suspend.c75 static struct pwr_ctrl suspend_ctrl = {
/tf-a-ffa_el3_spmc/plat/mediatek/mt8173/drivers/spm/
A 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);
A Dspm_hotplug.c186 static struct pwr_ctrl hotplug_ctrl = {
208 struct pwr_ctrl *pwrctrl = spm_hotplug.pwrctrl; in spm_go_to_hotplug()
A Dspm_suspend.c214 static struct pwr_ctrl spm_ctrl = {
244 struct pwr_ctrl *pwrctrl; in go_to_sleep_before_wfi()
A 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()
A 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()
/tf-a-ffa_el3_spmc/plat/mediatek/mt8173/drivers/mtcmos/
A 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()
/tf-a-ffa_el3_spmc/plat/mediatek/mt8183/drivers/spm/
A 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()
A Dspm_suspend.c48 static const struct pwr_ctrl suspend_ctrl = {
A 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);

Completed in 54 milliseconds