infra_clk_data 737 drivers/clk/mediatek/clk-mt2701.c static struct clk_onecell_data *infra_clk_data; infra_clk_data 743 drivers/clk/mediatek/clk-mt2701.c if (!infra_clk_data) { infra_clk_data 744 drivers/clk/mediatek/clk-mt2701.c infra_clk_data = mtk_alloc_clk_data(CLK_INFRA_NR); infra_clk_data 747 drivers/clk/mediatek/clk-mt2701.c infra_clk_data->clks[i] = ERR_PTR(-EPROBE_DEFER); infra_clk_data 751 drivers/clk/mediatek/clk-mt2701.c infra_clk_data); infra_clk_data 754 drivers/clk/mediatek/clk-mt2701.c infra_clk_data); infra_clk_data 756 drivers/clk/mediatek/clk-mt2701.c r = of_clk_add_provider(node, of_clk_src_onecell_get, infra_clk_data); infra_clk_data 769 drivers/clk/mediatek/clk-mt2701.c if (!infra_clk_data) { infra_clk_data 770 drivers/clk/mediatek/clk-mt2701.c infra_clk_data = mtk_alloc_clk_data(CLK_INFRA_NR); infra_clk_data 773 drivers/clk/mediatek/clk-mt2701.c if (infra_clk_data->clks[i] == ERR_PTR(-EPROBE_DEFER)) infra_clk_data 774 drivers/clk/mediatek/clk-mt2701.c infra_clk_data->clks[i] = ERR_PTR(-ENOENT); infra_clk_data 779 drivers/clk/mediatek/clk-mt2701.c infra_clk_data); infra_clk_data 781 drivers/clk/mediatek/clk-mt2701.c infra_clk_data); infra_clk_data 783 drivers/clk/mediatek/clk-mt2701.c r = of_clk_add_provider(node, of_clk_src_onecell_get, infra_clk_data); infra_clk_data 559 drivers/clk/mediatek/clk-mt6797.c static struct clk_onecell_data *infra_clk_data; infra_clk_data 565 drivers/clk/mediatek/clk-mt6797.c if (!infra_clk_data) { infra_clk_data 566 drivers/clk/mediatek/clk-mt6797.c infra_clk_data = mtk_alloc_clk_data(CLK_INFRA_NR); infra_clk_data 569 drivers/clk/mediatek/clk-mt6797.c infra_clk_data->clks[i] = ERR_PTR(-EPROBE_DEFER); infra_clk_data 573 drivers/clk/mediatek/clk-mt6797.c infra_clk_data); infra_clk_data 575 drivers/clk/mediatek/clk-mt6797.c r = of_clk_add_provider(node, of_clk_src_onecell_get, infra_clk_data); infra_clk_data 589 drivers/clk/mediatek/clk-mt6797.c if (!infra_clk_data) { infra_clk_data 590 drivers/clk/mediatek/clk-mt6797.c infra_clk_data = mtk_alloc_clk_data(CLK_INFRA_NR); infra_clk_data 593 drivers/clk/mediatek/clk-mt6797.c if (infra_clk_data->clks[i] == ERR_PTR(-EPROBE_DEFER)) infra_clk_data 594 drivers/clk/mediatek/clk-mt6797.c infra_clk_data->clks[i] = ERR_PTR(-ENOENT); infra_clk_data 599 drivers/clk/mediatek/clk-mt6797.c infra_clk_data); infra_clk_data 601 drivers/clk/mediatek/clk-mt6797.c infra_clk_data); infra_clk_data 603 drivers/clk/mediatek/clk-mt6797.c r = of_clk_add_provider(node, of_clk_src_onecell_get, infra_clk_data);