Lines Matching refs:infra_clk_data
750 static struct clk_onecell_data *infra_clk_data; variable
756 if (!infra_clk_data) { in mtk_infrasys_init_early()
757 infra_clk_data = mtk_alloc_clk_data(CLK_INFRA_NR); in mtk_infrasys_init_early()
760 infra_clk_data->clks[i] = ERR_PTR(-EPROBE_DEFER); in mtk_infrasys_init_early()
764 infra_clk_data); in mtk_infrasys_init_early()
767 infra_clk_data); in mtk_infrasys_init_early()
769 r = of_clk_add_provider(node, of_clk_src_onecell_get, infra_clk_data); in mtk_infrasys_init_early()
782 if (!infra_clk_data) { in mtk_infrasys_init()
783 infra_clk_data = mtk_alloc_clk_data(CLK_INFRA_NR); in mtk_infrasys_init()
786 if (infra_clk_data->clks[i] == ERR_PTR(-EPROBE_DEFER)) in mtk_infrasys_init()
787 infra_clk_data->clks[i] = ERR_PTR(-ENOENT); in mtk_infrasys_init()
792 infra_clk_data); in mtk_infrasys_init()
794 infra_clk_data); in mtk_infrasys_init()
796 r = of_clk_add_provider(node, of_clk_src_onecell_get, infra_clk_data); in mtk_infrasys_init()