Lines Matching refs:powerdomain

65 static struct powerdomain *_pwrdm_lookup(const char *name)  in _pwrdm_lookup()
67 struct powerdomain *pwrdm, *temp_pwrdm; in _pwrdm_lookup()
89 static int _pwrdm_register(struct powerdomain *pwrdm) in _pwrdm_register()
142 static void _update_logic_membank_counters(struct powerdomain *pwrdm) in _update_logic_membank_counters()
161 static int _pwrdm_state_switch(struct powerdomain *pwrdm, int flag) in _pwrdm_state_switch()
209 static int _pwrdm_pre_transition_cb(struct powerdomain *pwrdm, void *unused) in _pwrdm_pre_transition_cb()
216 static int _pwrdm_post_transition_cb(struct powerdomain *pwrdm, void *unused) in _pwrdm_post_transition_cb()
236 static u8 _pwrdm_save_clkdm_state_and_activate(struct powerdomain *pwrdm, in _pwrdm_save_clkdm_state_and_activate()
270 static void _pwrdm_restore_clkdm_state(struct powerdomain *pwrdm, in _pwrdm_restore_clkdm_state()
321 int pwrdm_register_pwrdms(struct powerdomain **ps) in pwrdm_register_pwrdms()
323 struct powerdomain **p = NULL; in pwrdm_register_pwrdms()
366 struct powerdomain *temp_p; in pwrdm_complete_init()
390 void pwrdm_lock(struct powerdomain *pwrdm) in pwrdm_lock()
402 void pwrdm_unlock(struct powerdomain *pwrdm) in pwrdm_unlock()
415 struct powerdomain *pwrdm_lookup(const char *name) in pwrdm_lookup()
417 struct powerdomain *pwrdm; in pwrdm_lookup()
437 int pwrdm_for_each(int (*fn)(struct powerdomain *pwrdm, void *user), in pwrdm_for_each()
440 struct powerdomain *temp_pwrdm; in pwrdm_for_each()
465 int pwrdm_add_clkdm(struct powerdomain *pwrdm, struct clockdomain *clkdm) in pwrdm_add_clkdm()
510 int pwrdm_get_mem_bank_count(struct powerdomain *pwrdm) in pwrdm_get_mem_bank_count()
529 int pwrdm_set_next_pwrst(struct powerdomain *pwrdm, u8 pwrst) in pwrdm_set_next_pwrst()
561 int pwrdm_read_next_pwrst(struct powerdomain *pwrdm) in pwrdm_read_next_pwrst()
583 int pwrdm_read_pwrst(struct powerdomain *pwrdm) in pwrdm_read_pwrst()
607 int pwrdm_read_prev_pwrst(struct powerdomain *pwrdm) in pwrdm_read_prev_pwrst()
631 int pwrdm_set_logic_retst(struct powerdomain *pwrdm, u8 pwrst) in pwrdm_set_logic_retst()
665 int pwrdm_set_mem_onst(struct powerdomain *pwrdm, u8 bank, u8 pwrst) in pwrdm_set_mem_onst()
703 int pwrdm_set_mem_retst(struct powerdomain *pwrdm, u8 bank, u8 pwrst) in pwrdm_set_mem_retst()
734 int pwrdm_read_logic_pwrst(struct powerdomain *pwrdm) in pwrdm_read_logic_pwrst()
755 int pwrdm_read_prev_logic_pwrst(struct powerdomain *pwrdm) in pwrdm_read_prev_logic_pwrst()
776 int pwrdm_read_logic_retst(struct powerdomain *pwrdm) in pwrdm_read_logic_retst()
799 int pwrdm_read_mem_pwrst(struct powerdomain *pwrdm, u8 bank) in pwrdm_read_mem_pwrst()
829 int pwrdm_read_prev_mem_pwrst(struct powerdomain *pwrdm, u8 bank) in pwrdm_read_prev_mem_pwrst()
858 int pwrdm_read_mem_retst(struct powerdomain *pwrdm, u8 bank) in pwrdm_read_mem_retst()
883 int pwrdm_clear_all_prev_pwrst(struct powerdomain *pwrdm) in pwrdm_clear_all_prev_pwrst()
915 int pwrdm_enable_hdwr_sar(struct powerdomain *pwrdm) in pwrdm_enable_hdwr_sar()
944 int pwrdm_disable_hdwr_sar(struct powerdomain *pwrdm) in pwrdm_disable_hdwr_sar()
969 bool pwrdm_has_hdwr_sar(struct powerdomain *pwrdm) in pwrdm_has_hdwr_sar()
974 int pwrdm_state_switch_nolock(struct powerdomain *pwrdm) in pwrdm_state_switch_nolock()
988 int __deprecated pwrdm_state_switch(struct powerdomain *pwrdm) in pwrdm_state_switch()
999 int pwrdm_pre_transition(struct powerdomain *pwrdm) in pwrdm_pre_transition()
1009 int pwrdm_post_transition(struct powerdomain *pwrdm) in pwrdm_post_transition()
1042 u8 pwrdm_get_valid_lp_state(struct powerdomain *pwrdm, in pwrdm_get_valid_lp_state()
1108 int omap_set_pwrdm_state(struct powerdomain *pwrdm, u8 pwrst) in omap_set_pwrdm_state()
1157 static int pwrdm_save_context(struct powerdomain *pwrdm, void *unused) in pwrdm_save_context()
1170 static int pwrdm_restore_context(struct powerdomain *pwrdm, void *unused) in pwrdm_restore_context()