Lines Matching refs:init

168 		kfree(clk_hw->hw.init->parent_names);  in _register_dpll()
169 kfree(clk_hw->hw.init); in _register_dpll()
175 kfree(clk_hw->hw.init->parent_names); in _register_dpll()
176 kfree(clk_hw->hw.init); in _register_dpll()
197 struct clk_init_data init = { NULL }; in ti_clk_register_dpll() local
225 clk_hw->hw.init = &init; in ti_clk_register_dpll()
228 init.name = setup->name; in ti_clk_register_dpll()
229 init.ops = ops; in ti_clk_register_dpll()
231 init.num_parents = dpll->num_parents; in ti_clk_register_dpll()
232 init.parent_names = dpll->parents; in ti_clk_register_dpll()
294 struct clk_init_data init = { NULL }; in _register_dpll_x2() local
310 clk_hw->hw.init = &init; in _register_dpll_x2()
312 init.name = name; in _register_dpll_x2()
313 init.ops = ops; in _register_dpll_x2()
314 init.parent_names = &parent_name; in _register_dpll_x2()
315 init.num_parents = 1; in _register_dpll_x2()
342 struct clk_init_data *init = NULL; in of_ti_dpll_setup() local
349 init = kzalloc(sizeof(*init), GFP_KERNEL); in of_ti_dpll_setup()
350 if (!dd || !clk_hw || !init) in of_ti_dpll_setup()
357 clk_hw->hw.init = init; in of_ti_dpll_setup()
360 init->name = node->name; in of_ti_dpll_setup()
361 init->ops = ops; in of_ti_dpll_setup()
363 init->num_parents = of_clk_get_parent_count(node); in of_ti_dpll_setup()
364 if (init->num_parents < 1) { in of_ti_dpll_setup()
369 parent_names = kzalloc(sizeof(char *) * init->num_parents, GFP_KERNEL); in of_ti_dpll_setup()
373 of_clk_parent_fill(node, parent_names, init->num_parents); in of_ti_dpll_setup()
375 init->parent_names = parent_names; in of_ti_dpll_setup()
425 kfree(init); in of_ti_dpll_setup()