Lines Matching refs:clk_hw

158 	struct clk_hw *hw = user;  in _register_dpll()
159 struct clk_hw_omap *clk_hw = to_clk_hw_omap(hw); in _register_dpll() local
160 struct dpll_data *dd = clk_hw->dpll_data; in _register_dpll()
189 clk = ti_clk_register(NULL, &clk_hw->hw, node->name); in _register_dpll()
192 omap2_init_clk_hw_omap_clocks(&clk_hw->hw); in _register_dpll()
194 kfree(clk_hw->hw.init->parent_names); in _register_dpll()
195 kfree(clk_hw->hw.init); in _register_dpll()
200 kfree(clk_hw->dpll_data); in _register_dpll()
201 kfree(clk_hw->hw.init->parent_names); in _register_dpll()
202 kfree(clk_hw->hw.init); in _register_dpll()
203 kfree(clk_hw); in _register_dpll()
223 struct clk_hw_omap *clk_hw; in _register_dpll_x2() local
233 clk_hw = kzalloc(sizeof(*clk_hw), GFP_KERNEL); in _register_dpll_x2()
234 if (!clk_hw) in _register_dpll_x2()
237 clk_hw->ops = hw_ops; in _register_dpll_x2()
238 clk_hw->hw.init = &init; in _register_dpll_x2()
253 clk_hw->ops = NULL; in _register_dpll_x2()
254 } else if (ti_clk_get_reg_addr(node, 0, &clk_hw->clksel_reg)) { in _register_dpll_x2()
255 kfree(clk_hw); in _register_dpll_x2()
262 clk = ti_clk_register(NULL, &clk_hw->hw, name); in _register_dpll_x2()
265 kfree(clk_hw); in _register_dpll_x2()
267 omap2_init_clk_hw_omap_clocks(&clk_hw->hw); in _register_dpll_x2()
285 struct clk_hw_omap *clk_hw = NULL; in of_ti_dpll_setup() local
292 clk_hw = kzalloc(sizeof(*clk_hw), GFP_KERNEL); in of_ti_dpll_setup()
294 if (!dd || !clk_hw || !init) in of_ti_dpll_setup()
299 clk_hw->dpll_data = dd; in of_ti_dpll_setup()
300 clk_hw->ops = &clkhwops_omap3_dpll; in of_ti_dpll_setup()
301 clk_hw->hw.init = init; in of_ti_dpll_setup()
332 clk_hw->ops = &clkhwops_omap2xxx_dpll; in of_ti_dpll_setup()
333 omap2xxx_clkt_dpllcore_init(&clk_hw->hw); in of_ti_dpll_setup()
360 _register_dpll(&clk_hw->hw, node); in of_ti_dpll_setup()
367 kfree(clk_hw); in of_ti_dpll_setup()