Lines Matching refs:clk_names

102 static const char *clk_names[] = {  variable
513 clk = of_clk_get_by_name(np, clk_names[REFCLK]); in berlin2_clock_setup()
515 clk_names[REFCLK] = __clk_get_name(clk); in berlin2_clock_setup()
519 clk = of_clk_get_by_name(np, clk_names[VIDEO_EXT0]); in berlin2_clock_setup()
521 clk_names[VIDEO_EXT0] = __clk_get_name(clk); in berlin2_clock_setup()
527 clk_names[SYSPLL], clk_names[REFCLK], 0); in berlin2_clock_setup()
532 clk_names[MEMPLL], clk_names[REFCLK], 0); in berlin2_clock_setup()
537 clk_names[CPUPLL], clk_names[REFCLK], 0); in berlin2_clock_setup()
546 clk_names[REFCLK], avpll_flags, 0); in berlin2_clock_setup()
552 clk_names[AVPLL_A1 + n], n, "avpll_vcoA", in berlin2_clock_setup()
559 clk_names[REFCLK], BERLIN2_AVPLL_BIT_QUIRK | in berlin2_clock_setup()
566 clk_names[AVPLL_B1 + n], n, "avpll_vcoB", in berlin2_clock_setup()
573 parent_names[0] = clk_names[SYSPLL]; in berlin2_clock_setup()
574 parent_names[1] = clk_names[REFCLK]; in berlin2_clock_setup()
579 clk_names[SYSPLL] = clk_hw_get_name(hw); in berlin2_clock_setup()
581 parent_names[0] = clk_names[MEMPLL]; in berlin2_clock_setup()
582 parent_names[1] = clk_names[REFCLK]; in berlin2_clock_setup()
587 clk_names[MEMPLL] = clk_hw_get_name(hw); in berlin2_clock_setup()
589 parent_names[0] = clk_names[CPUPLL]; in berlin2_clock_setup()
590 parent_names[1] = clk_names[REFCLK]; in berlin2_clock_setup()
595 clk_names[CPUPLL] = clk_hw_get_name(hw); in berlin2_clock_setup()
598 parent_names[0] = clk_names[AVPLL_B3]; in berlin2_clock_setup()
599 parent_names[1] = clk_names[AVPLL_A3]; in berlin2_clock_setup()
600 hw = clk_hw_register_mux(NULL, clk_names[AUDIO1_PLL], parent_names, 2, in berlin2_clock_setup()
605 parent_names[0] = clk_names[VIDEO0_PLL]; in berlin2_clock_setup()
606 parent_names[1] = clk_names[VIDEO_EXT0]; in berlin2_clock_setup()
607 hw = clk_hw_register_mux(NULL, clk_names[VIDEO0_IN], parent_names, 2, in berlin2_clock_setup()
612 parent_names[0] = clk_names[VIDEO1_PLL]; in berlin2_clock_setup()
613 parent_names[1] = clk_names[VIDEO_EXT0]; in berlin2_clock_setup()
614 hw = clk_hw_register_mux(NULL, clk_names[VIDEO1_IN], parent_names, 2, in berlin2_clock_setup()
619 parent_names[0] = clk_names[AVPLL_A2]; in berlin2_clock_setup()
620 parent_names[1] = clk_names[AVPLL_B2]; in berlin2_clock_setup()
621 hw = clk_hw_register_mux(NULL, clk_names[VIDEO1_PLL], parent_names, 2, in berlin2_clock_setup()
626 parent_names[0] = clk_names[VIDEO2_PLL]; in berlin2_clock_setup()
627 parent_names[1] = clk_names[VIDEO_EXT0]; in berlin2_clock_setup()
628 hw = clk_hw_register_mux(NULL, clk_names[VIDEO2_IN], parent_names, 2, in berlin2_clock_setup()
633 parent_names[0] = clk_names[AVPLL_B1]; in berlin2_clock_setup()
634 parent_names[1] = clk_names[AVPLL_A5]; in berlin2_clock_setup()
635 hw = clk_hw_register_mux(NULL, clk_names[VIDEO2_PLL], parent_names, 2, in berlin2_clock_setup()
646 parent_names[k] = clk_names[dd->parent_ids[k]]; in berlin2_clock_setup()