Searched refs:pwr_ctrl (Results 1 – 12 of 12) sorted by relevance
211 struct pwr_ctrl { struct275 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);
186 static struct pwr_ctrl hotplug_ctrl = {208 struct pwr_ctrl *pwrctrl = spm_hotplug.pwrctrl; in spm_go_to_hotplug()
219 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()
214 static struct pwr_ctrl spm_ctrl = {244 struct pwr_ctrl *pwrctrl; in go_to_sleep_before_wfi()
159 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()
94 if (!(readl(&clk->pwr_ctrl) & CLK_PWR_NORMAL_RUN)) in get_periph_clk_rate()104 if (!(readl(&clk->pwr_ctrl) & CLK_PWR_NORMAL_RUN)) in get_sdram_clk_rate()
109 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()
48 static const struct pwr_ctrl suspend_ctrl = {
2382 struct pwr_ctrl { struct2538 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);
162 uint32_t wait_mtcmos_ack(uint32_t on, uint32_t pwr_ctrl, uint32_t spm_pwr_sta) in wait_mtcmos_ack() argument168 cmp = mmio_read_32(SPM_PCM_PASR_DPD_3) & pwr_ctrl; in wait_mtcmos_ack()
32 u32 pwr_ctrl; /* Power Control Register */ member
460 unsigned int pwr_ctrl; member541 unsigned int pwr_ctrl; member888 unsigned int pwr_ctrl; member