Lines Matching refs:clk_hw

164 	struct clk_hw *hw = user;  in _register_dpll()
165 struct clk_hw_omap *clk_hw = to_clk_hw_omap(hw); in _register_dpll() local
166 struct dpll_data *dd = clk_hw->dpll_data; in _register_dpll()
196 clk = ti_clk_register_omap_hw(NULL, &clk_hw->hw, node->name); in _register_dpll()
206 kfree(clk_hw->dpll_data); in _register_dpll()
209 kfree(clk_hw); in _register_dpll()
229 struct clk_hw_omap *clk_hw; in _register_dpll_x2() local
239 clk_hw = kzalloc(sizeof(*clk_hw), GFP_KERNEL); in _register_dpll_x2()
240 if (!clk_hw) in _register_dpll_x2()
243 clk_hw->ops = hw_ops; in _register_dpll_x2()
244 clk_hw->hw.init = &init; in _register_dpll_x2()
259 clk_hw->ops = NULL; in _register_dpll_x2()
260 } else if (ti_clk_get_reg_addr(node, 0, &clk_hw->clksel_reg)) { in _register_dpll_x2()
261 kfree(clk_hw); in _register_dpll_x2()
268 clk = ti_clk_register_omap_hw(NULL, &clk_hw->hw, name); in _register_dpll_x2()
271 kfree(clk_hw); in _register_dpll_x2()
289 struct clk_hw_omap *clk_hw = NULL; in of_ti_dpll_setup() local
296 clk_hw = kzalloc(sizeof(*clk_hw), GFP_KERNEL); in of_ti_dpll_setup()
298 if (!dd || !clk_hw || !init) in of_ti_dpll_setup()
301 clk_hw->dpll_data = dd; in of_ti_dpll_setup()
302 clk_hw->ops = &clkhwops_omap3_dpll; in of_ti_dpll_setup()
303 clk_hw->hw.init = init; in of_ti_dpll_setup()
334 clk_hw->ops = &clkhwops_omap2xxx_dpll; in of_ti_dpll_setup()
335 omap2xxx_clkt_dpllcore_init(&clk_hw->hw); in of_ti_dpll_setup()
362 _register_dpll(&clk_hw->hw, node); in of_ti_dpll_setup()
369 kfree(clk_hw); in of_ti_dpll_setup()