Lines Matching refs:init

167 		kfree(clk_hw->hw.init->parent_names);  in _register_dpll()
168 kfree(clk_hw->hw.init); in _register_dpll()
174 kfree(clk_hw->hw.init->parent_names); in _register_dpll()
175 kfree(clk_hw->hw.init); in _register_dpll()
196 struct clk_init_data init = { NULL }; in ti_clk_register_dpll() local
224 clk_hw->hw.init = &init; in ti_clk_register_dpll()
227 init.name = setup->name; in ti_clk_register_dpll()
228 init.ops = ops; in ti_clk_register_dpll()
230 init.num_parents = dpll->num_parents; in ti_clk_register_dpll()
231 init.parent_names = dpll->parents; in ti_clk_register_dpll()
293 struct clk_init_data init = { NULL }; in _register_dpll_x2() local
309 clk_hw->hw.init = &init; in _register_dpll_x2()
311 init.name = name; in _register_dpll_x2()
312 init.ops = ops; in _register_dpll_x2()
313 init.parent_names = &parent_name; in _register_dpll_x2()
314 init.num_parents = 1; in _register_dpll_x2()
341 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 for (i = 0; i < init->num_parents; i++) in of_ti_dpll_setup()
376 init->parent_names = parent_names; in of_ti_dpll_setup()
426 kfree(init); in of_ti_dpll_setup()