Lines Matching refs:infra_clk_data
744 static struct clk_hw_onecell_data *infra_clk_data; variable
750 if (!infra_clk_data) { in mtk_infrasys_init_early()
751 infra_clk_data = mtk_alloc_clk_data(CLK_INFRA_NR); in mtk_infrasys_init_early()
752 if (!infra_clk_data) in mtk_infrasys_init_early()
756 infra_clk_data->hws[i] = ERR_PTR(-EPROBE_DEFER); in mtk_infrasys_init_early()
760 infra_clk_data); in mtk_infrasys_init_early()
763 infra_clk_data); in mtk_infrasys_init_early()
766 infra_clk_data); in mtk_infrasys_init_early()
779 if (!infra_clk_data) { in mtk_infrasys_init()
780 infra_clk_data = mtk_alloc_clk_data(CLK_INFRA_NR); in mtk_infrasys_init()
781 if (!infra_clk_data) in mtk_infrasys_init()
785 if (infra_clk_data->hws[i] == ERR_PTR(-EPROBE_DEFER)) in mtk_infrasys_init()
786 infra_clk_data->hws[i] = ERR_PTR(-ENOENT); in mtk_infrasys_init()
791 ARRAY_SIZE(infra_clks), infra_clk_data); in mtk_infrasys_init()
793 infra_clk_data); in mtk_infrasys_init()
796 infra_clk_data); in mtk_infrasys_init()