Lines Matching refs:clkdm

57  * struct clkdm_autodep - clkdm deps to add when entering/exiting hwsup mode
58 * @clkdm: clockdomain to add wkdep+sleepdep on - set name member only
72 } clkdm;
78 * @clkdm: pointer to the struct clockdomain of @clkdm_name
79 * @wkdep_usecount: Number of wakeup dependencies causing this clkdm to wake
80 * @sleepdep_usecount: Number of sleep deps that could prevent clkdm from idle
82 * Statically defined. @clkdm is resolved from @clkdm_name at runtime and
89 struct clockdomain *clkdm;
108 * @prcm_partition: (OMAP4 only) PRCM partition ID for this clkdm's registers
112 * @sleepdep_srcs: Clockdomains that can be told to keep this clkdm from inact
158 * @clkdm_clk_enable: Put the clkdm in right state for a clock enable
159 * @clkdm_clk_disable: Put the clkdm in right state for a clock disable
160 * @clkdm_save_context: Save the current clkdm context
161 * @clkdm_restore_context: Restore the clkdm context
167 int (*clkdm_clear_all_wkdeps)(struct clockdomain *clkdm);
171 int (*clkdm_clear_all_sleepdeps)(struct clockdomain *clkdm);
172 int (*clkdm_sleep)(struct clockdomain *clkdm);
173 int (*clkdm_wakeup)(struct clockdomain *clkdm);
174 void (*clkdm_allow_idle)(struct clockdomain *clkdm);
175 void (*clkdm_deny_idle)(struct clockdomain *clkdm);
176 int (*clkdm_clk_enable)(struct clockdomain *clkdm);
177 int (*clkdm_clk_disable)(struct clockdomain *clkdm);
178 int (*clkdm_save_context)(struct clockdomain *clkdm);
179 int (*clkdm_restore_context)(struct clockdomain *clkdm);
189 int clkdm_for_each(int (*fn)(struct clockdomain *clkdm, void *user),
191 struct powerdomain *clkdm_get_pwrdm(struct clockdomain *clkdm);
196 int clkdm_clear_all_wkdeps(struct clockdomain *clkdm);
200 int clkdm_clear_all_sleepdeps(struct clockdomain *clkdm);
202 void clkdm_allow_idle_nolock(struct clockdomain *clkdm);
203 void clkdm_allow_idle(struct clockdomain *clkdm);
204 void clkdm_deny_idle_nolock(struct clockdomain *clkdm);
205 void clkdm_deny_idle(struct clockdomain *clkdm);
207 int clkdm_wakeup(struct clockdomain *clkdm);
208 int clkdm_sleep(struct clockdomain *clkdm);
210 int clkdm_clk_enable(struct clockdomain *clkdm, struct clk *clk);
211 int clkdm_clk_disable(struct clockdomain *clkdm, struct clk *clk);
212 int clkdm_hwmod_enable(struct clockdomain *clkdm, struct omap_hwmod *oh);
213 int clkdm_hwmod_disable(struct clockdomain *clkdm, struct omap_hwmod *oh);
229 extern void clkdm_add_autodeps(struct clockdomain *clkdm);
230 extern void clkdm_del_autodeps(struct clockdomain *clkdm);