Lines Matching refs:top_clk_data
1050 static struct clk_hw_onecell_data *top_clk_data; variable
1056 top_clk_data = mtk_alloc_clk_data(CLK_TOP_NR_CLK); in clk_mt8192_top_init_early()
1057 if (!top_clk_data) in clk_mt8192_top_init_early()
1061 top_clk_data->hws[i] = ERR_PTR(-EPROBE_DEFER); in clk_mt8192_top_init_early()
1063 mtk_clk_register_factors(top_early_divs, ARRAY_SIZE(top_early_divs), top_clk_data); in clk_mt8192_top_init_early()
1065 of_clk_add_hw_provider(node, of_clk_hw_onecell_get, top_clk_data); in clk_mt8192_top_init_early()
1103 mtk_clk_register_fixed_clks(top_fixed_clks, ARRAY_SIZE(top_fixed_clks), top_clk_data); in clk_mt8192_top_probe()
1104 mtk_clk_register_factors(top_early_divs, ARRAY_SIZE(top_early_divs), top_clk_data); in clk_mt8192_top_probe()
1105 mtk_clk_register_factors(top_divs, ARRAY_SIZE(top_divs), top_clk_data); in clk_mt8192_top_probe()
1107 top_clk_data); in clk_mt8192_top_probe()
1109 top_clk_data); in clk_mt8192_top_probe()
1111 top_clk_data); in clk_mt8192_top_probe()
1112 r = mtk_clk_register_gates(node, top_clks, ARRAY_SIZE(top_clks), top_clk_data); in clk_mt8192_top_probe()
1117 top_clk_data->hws[CLK_TOP_MFG_PLL_SEL]->clk); in clk_mt8192_top_probe()
1123 top_clk_data); in clk_mt8192_top_probe()