Lines Matching refs:cclk
124 struct clk_hw_omap_comp *cclk = to_clk_hw_comp(hw); in _register_composite() local
133 if (!cclk->comp_nodes[i]) in _register_composite()
136 comp = _lookup_component(cclk->comp_nodes[i]); in _register_composite()
139 cclk->comp_nodes[i]->name, node); in _register_composite()
146 if (cclk->comp_clks[comp->type] != NULL) { in _register_composite()
152 cclk->comp_clks[comp->type] = comp; in _register_composite()
155 cclk->comp_nodes[i] = NULL; in _register_composite()
160 comp = cclk->comp_clks[i]; in _register_composite()
177 _get_hw(cclk, CLK_COMPONENT_TYPE_MUX), in _register_composite()
179 _get_hw(cclk, CLK_COMPONENT_TYPE_DIVIDER), in _register_composite()
181 _get_hw(cclk, CLK_COMPONENT_TYPE_GATE), in _register_composite()
196 if (!cclk->comp_clks[i]) in _register_composite()
198 list_del(&cclk->comp_clks[i]->link); in _register_composite()
199 kfree(cclk->comp_clks[i]->parent_names); in _register_composite()
200 kfree(cclk->comp_clks[i]); in _register_composite()
203 kfree(cclk); in _register_composite()
210 struct clk_hw_omap_comp *cclk; in of_ti_composite_clk_setup() local
220 cclk = kzalloc(sizeof(*cclk), GFP_KERNEL); in of_ti_composite_clk_setup()
221 if (!cclk) in of_ti_composite_clk_setup()
226 cclk->comp_nodes[i] = _get_component_node(node, i); in of_ti_composite_clk_setup()
228 _register_composite(&cclk->hw, node); in of_ti_composite_clk_setup()