Home
last modified time | relevance | path

Searched refs:infra_clk_data (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/clk/mediatek/
H A Dclk-mt8173-infracfg.c20 static struct clk_hw_onecell_data *infra_clk_data; variable
83 infra_clk_data = mtk_alloc_clk_data(CLK_INFRA_NR_CLK); in clk_mt8173_infra_init_early()
84 if (!infra_clk_data) in clk_mt8173_infra_init_early()
88 infra_clk_data->hws[i] = ERR_PTR(-EPROBE_DEFER); in clk_mt8173_infra_init_early()
91 ARRAY_SIZE(infra_early_divs), infra_clk_data); in clk_mt8173_infra_init_early()
93 of_clk_add_hw_provider(node, of_clk_hw_onecell_get, infra_clk_data); in clk_mt8173_infra_init_early()
104 ARRAY_SIZE(infra_gates), infra_clk_data); in clk_mt8173_infracfg_probe()
109 ARRAY_SIZE(cpu_muxes), infra_clk_data); in clk_mt8173_infracfg_probe()
113 r = of_clk_add_hw_provider(node, of_clk_hw_onecell_get, infra_clk_data); in clk_mt8173_infracfg_probe()
126 mtk_clk_unregister_cpumuxes(cpu_muxes, ARRAY_SIZE(cpu_muxes), infra_clk_data); in clk_mt8173_infracfg_probe()
[all …]
H A Dclk-mt6797.c542 static struct clk_hw_onecell_data *infra_clk_data; variable
548 if (!infra_clk_data) { in mtk_infrasys_init_early()
550 if (!infra_clk_data) in mtk_infrasys_init_early()
558 infra_clk_data); in mtk_infrasys_init_early()
561 infra_clk_data); in mtk_infrasys_init_early()
575 if (!infra_clk_data) { in mtk_infrasys_init()
577 if (!infra_clk_data) in mtk_infrasys_init()
582 infra_clk_data->hws[i] = ERR_PTR(-ENOENT); in mtk_infrasys_init()
587 ARRAY_SIZE(infra_clks), infra_clk_data); in mtk_infrasys_init()
589 infra_clk_data); in mtk_infrasys_init()
[all …]
H A Dclk-mt2701.c744 static struct clk_hw_onecell_data *infra_clk_data; variable
750 if (!infra_clk_data) { in mtk_infrasys_init_early()
752 if (!infra_clk_data) 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()
781 if (!infra_clk_data) in mtk_infrasys_init()
786 infra_clk_data->hws[i] = ERR_PTR(-ENOENT); in mtk_infrasys_init()
793 infra_clk_data); in mtk_infrasys_init()
[all …]