Lines Matching refs:cookie
315 struct ti_sysc_cookie *cookie) in ti_sysc_clkdm_init() argument
318 cookie->clkdm = ti_sysc_find_one_clockdomain(fck); in ti_sysc_clkdm_init()
319 if (cookie->clkdm) in ti_sysc_clkdm_init()
322 cookie->clkdm = ti_sysc_find_one_clockdomain(ick); in ti_sysc_clkdm_init()
323 if (cookie->clkdm) in ti_sysc_clkdm_init()
330 const struct ti_sysc_cookie *cookie) in ti_sysc_clkdm_deny_idle() argument
332 if (cookie->clkdm) in ti_sysc_clkdm_deny_idle()
333 clkdm_deny_idle(cookie->clkdm); in ti_sysc_clkdm_deny_idle()
337 const struct ti_sysc_cookie *cookie) in ti_sysc_clkdm_allow_idle() argument
339 if (cookie->clkdm) in ti_sysc_clkdm_allow_idle()
340 clkdm_allow_idle(cookie->clkdm); in ti_sysc_clkdm_allow_idle()
345 const struct ti_sysc_cookie *cookie) in ti_sysc_enable_module() argument
347 if (!cookie->data) in ti_sysc_enable_module()
350 return omap_hwmod_enable(cookie->data); in ti_sysc_enable_module()
354 const struct ti_sysc_cookie *cookie) in ti_sysc_idle_module() argument
356 if (!cookie->data) in ti_sysc_idle_module()
359 return omap_hwmod_idle(cookie->data); in ti_sysc_idle_module()
363 const struct ti_sysc_cookie *cookie) in ti_sysc_shutdown_module() argument
365 if (!cookie->data) in ti_sysc_shutdown_module()
368 return omap_hwmod_shutdown(cookie->data); in ti_sysc_shutdown_module()