Lines Matching refs:oc
911 struct omap_hwmod_opt_clk *oc; in _init_opt_clks() local
916 for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc++) { in _init_opt_clks()
917 c = clk_get(NULL, oc->clk); in _init_opt_clks()
920 oh->name, oc->clk); in _init_opt_clks()
924 oc->_clk = c; in _init_opt_clks()
933 clk_prepare(oc->_clk); in _init_opt_clks()
941 struct omap_hwmod_opt_clk *oc; in _enable_optional_clocks() local
946 for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc++) in _enable_optional_clocks()
947 if (oc->_clk) { in _enable_optional_clocks()
948 pr_debug("omap_hwmod: enable %s:%s\n", oc->role, in _enable_optional_clocks()
949 __clk_get_name(oc->_clk)); in _enable_optional_clocks()
950 clk_enable(oc->_clk); in _enable_optional_clocks()
956 struct omap_hwmod_opt_clk *oc; in _disable_optional_clocks() local
961 for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc++) in _disable_optional_clocks()
962 if (oc->_clk) { in _disable_optional_clocks()
963 pr_debug("omap_hwmod: disable %s:%s\n", oc->role, in _disable_optional_clocks()
964 __clk_get_name(oc->_clk)); in _disable_optional_clocks()
965 clk_disable(oc->_clk); in _disable_optional_clocks()