Searched refs:infra_clk_data (Results 1 – 2 of 2) sorted by relevance
549 static struct clk_onecell_data *infra_clk_data; variable555 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()[all …]
750 static struct clk_onecell_data *infra_clk_data; variable756 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()[all …]