Lines Matching refs:infra_clk_data
549 static struct clk_onecell_data *infra_clk_data; variable
555 if (!infra_clk_data) { in mtk_infrasys_init_early()
556 infra_clk_data = mtk_alloc_clk_data(CLK_INFRA_NR); in mtk_infrasys_init_early()
559 infra_clk_data->clks[i] = ERR_PTR(-EPROBE_DEFER); in mtk_infrasys_init_early()
563 infra_clk_data); in mtk_infrasys_init_early()
565 r = of_clk_add_provider(node, of_clk_src_onecell_get, infra_clk_data); in mtk_infrasys_init_early()
579 if (!infra_clk_data) { in mtk_infrasys_init()
580 infra_clk_data = mtk_alloc_clk_data(CLK_INFRA_NR); in mtk_infrasys_init()
583 if (infra_clk_data->clks[i] == ERR_PTR(-EPROBE_DEFER)) in mtk_infrasys_init()
584 infra_clk_data->clks[i] = ERR_PTR(-ENOENT); in mtk_infrasys_init()
589 infra_clk_data); in mtk_infrasys_init()
591 infra_clk_data); in mtk_infrasys_init()
593 r = of_clk_add_provider(node, of_clk_src_onecell_get, infra_clk_data); in mtk_infrasys_init()