Lines Matching refs:init
498 struct clk_init_data *init; in ti_fapll_synth_setup() local
501 init = kzalloc(sizeof(*init), GFP_KERNEL); in ti_fapll_synth_setup()
502 if (!init) in ti_fapll_synth_setup()
505 init->ops = &ti_fapll_synt_ops; in ti_fapll_synth_setup()
506 init->name = name; in ti_fapll_synth_setup()
507 init->parent_names = &parent; in ti_fapll_synth_setup()
508 init->num_parents = 1; in ti_fapll_synth_setup()
519 synth->hw.init = init; in ti_fapll_synth_setup()
526 kfree(init); in ti_fapll_synth_setup()
534 struct clk_init_data *init = NULL; in ti_fapll_setup() local
549 init = kzalloc(sizeof(*init), GFP_KERNEL); in ti_fapll_setup()
550 if (!init) in ti_fapll_setup()
553 init->ops = &ti_fapll_ops; in ti_fapll_setup()
554 init->name = node->name; in ti_fapll_setup()
556 init->num_parents = of_clk_get_parent_count(node); in ti_fapll_setup()
557 if (init->num_parents != 2) { in ti_fapll_setup()
563 init->parent_names = parent_name; in ti_fapll_setup()
587 fd->hw.init = init; in ti_fapll_setup()
648 kfree(init); in ti_fapll_setup()
661 kfree(init); in ti_fapll_setup()