Lines Matching refs:clk_init
620 struct clk_init_data clk_init; in ingenic_register_clock() local
658 ingenic_clk->hw.init = &clk_init; in ingenic_register_clock()
662 clk_init.name = clk_info->name; in ingenic_register_clock()
663 clk_init.flags = clk_info->flags; in ingenic_register_clock()
664 clk_init.parent_names = parent_names; in ingenic_register_clock()
672 clk_init.flags |= CLK_SET_RATE_PARENT; in ingenic_register_clock()
676 clk_init.num_parents = 0; in ingenic_register_clock()
688 parent_names[clk_init.num_parents] = in ingenic_register_clock()
690 clk_init.num_parents++; in ingenic_register_clock()
693 BUG_ON(!clk_init.num_parents); in ingenic_register_clock()
694 BUG_ON(clk_init.num_parents > ARRAY_SIZE(parent_names)); in ingenic_register_clock()
697 clk_init.num_parents = 1; in ingenic_register_clock()
703 clk_init.ops = clk_info->custom.clk_ops; in ingenic_register_clock()
713 clk_init.ops = &ingenic_pll_ops; in ingenic_register_clock()
723 clk_init.ops = &ingenic_clk_ops; in ingenic_register_clock()
731 clk_init.flags |= CLK_SET_PARENT_GATE; in ingenic_register_clock()