Lines Matching refs:clk_data
82 struct clk_hw_onecell_data *clk_data; in mtk_sgmiisys_0_init() local
85 clk_data = mtk_alloc_clk_data(ARRAY_SIZE(sgmii0_clks)); in mtk_sgmiisys_0_init()
88 clk_data); in mtk_sgmiisys_0_init()
90 r = of_clk_add_hw_provider(node, of_clk_hw_onecell_get, clk_data); in mtk_sgmiisys_0_init()
100 struct clk_hw_onecell_data *clk_data; in mtk_sgmiisys_1_init() local
103 clk_data = mtk_alloc_clk_data(ARRAY_SIZE(sgmii1_clks)); in mtk_sgmiisys_1_init()
106 clk_data); in mtk_sgmiisys_1_init()
108 r = of_clk_add_hw_provider(node, of_clk_hw_onecell_get, clk_data); in mtk_sgmiisys_1_init()
119 struct clk_hw_onecell_data *clk_data; in mtk_ethsys_init() local
122 clk_data = mtk_alloc_clk_data(ARRAY_SIZE(eth_clks)); in mtk_ethsys_init()
124 mtk_clk_register_gates(node, eth_clks, ARRAY_SIZE(eth_clks), clk_data); in mtk_ethsys_init()
126 r = of_clk_add_hw_provider(node, of_clk_hw_onecell_get, clk_data); in mtk_ethsys_init()