Lines Matching refs:_clk
466 if (!oh->_clk) in _add_initiator_dep()
469 if (oh->_clk->clkdm && oh->_clk->clkdm->flags & CLKDM_NO_AUTODEPS) in _add_initiator_dep()
472 return clkdm_add_sleepdep(oh->_clk->clkdm, init_oh->_clk->clkdm); in _add_initiator_dep()
490 if (!oh->_clk) in _del_initiator_dep()
493 if (oh->_clk->clkdm && oh->_clk->clkdm->flags & CLKDM_NO_AUTODEPS) in _del_initiator_dep()
496 return clkdm_del_sleepdep(oh->_clk->clkdm, init_oh->_clk->clkdm); in _del_initiator_dep()
514 oh->_clk = omap_clk_get_by_name(oh->main_clk); in _init_main_clk()
515 if (!oh->_clk) { in _init_main_clk()
521 if (!oh->_clk->clkdm) in _init_main_clk()
523 oh->main_clk, oh->_clk->name); in _init_main_clk()
556 os->_clk = c; in _init_interface_clks()
583 oc->_clk = c; in _init_opt_clks()
602 if (oh->_clk) in _enable_clocks()
603 clk_enable(oh->_clk); in _enable_clocks()
608 struct clk *c = os->_clk; in _enable_clocks()
632 if (oh->_clk) in _disable_clocks()
633 clk_disable(oh->_clk); in _disable_clocks()
638 struct clk *c = os->_clk; in _disable_clocks()
658 if (oc->_clk) { in _enable_optional_clocks()
660 oc->_clk->name); in _enable_optional_clocks()
661 clk_enable(oc->_clk); in _enable_optional_clocks()
673 if (oc->_clk) { in _disable_optional_clocks()
675 oc->_clk->name); in _disable_optional_clocks()
676 clk_disable(oc->_clk); in _disable_optional_clocks()
1423 struct clk *c = os->_clk; in _setup()
2018 if (oh->_clk) { in omap_hwmod_get_pwrdm()
2019 c = oh->_clk; in omap_hwmod_get_pwrdm()
2023 c = oh->slaves[oh->_mpu_port_index]->_clk; in omap_hwmod_get_pwrdm()