Home
last modified time | relevance | path

Searched refs:top_clk_data (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/drivers/clk/mediatek/
H A Dclk-mt8188-topckgen.c1254 struct clk_hw_onecell_data *top_clk_data; in clk_mt8188_topck_probe() local
1260 top_clk_data = mtk_alloc_clk_data(CLK_TOP_NR_CLK); in clk_mt8188_topck_probe()
1261 if (!top_clk_data) in clk_mt8188_topck_probe()
1271 top_clk_data); in clk_mt8188_topck_probe()
1275 r = mtk_clk_register_factors(top_divs, ARRAY_SIZE(top_divs), top_clk_data); in clk_mt8188_topck_probe()
1281 &mt8188_clk_lock, top_clk_data); in clk_mt8188_topck_probe()
1292 top_clk_data->hws[CLK_TOP_MFG_CK_FAST_REF] = hw; in clk_mt8188_topck_probe()
1295 top_clk_data->hws[CLK_TOP_MFG_CK_FAST_REF]->clk); in clk_mt8188_topck_probe()
1301 &mt8188_clk_lock, top_clk_data); in clk_mt8188_topck_probe()
1306 ARRAY_SIZE(top_clks), top_clk_data); in clk_mt8188_topck_probe()
1335 struct clk_hw_onecell_data *top_clk_data = platform_get_drvdata(pdev); clk_mt8188_topck_remove() local
[all...]
H A Dclk-mt8195-topckgen.c1251 struct clk_hw_onecell_data *top_clk_data; in clk_mt8195_topck_probe() local
1257 top_clk_data = mtk_alloc_clk_data(CLK_TOP_NR_CLK); in clk_mt8195_topck_probe()
1258 if (!top_clk_data) in clk_mt8195_topck_probe()
1268 top_clk_data); in clk_mt8195_topck_probe()
1272 r = mtk_clk_register_factors(top_divs, ARRAY_SIZE(top_divs), top_clk_data); in clk_mt8195_topck_probe()
1278 &mt8195_clk_lock, top_clk_data); in clk_mt8195_topck_probe()
1289 top_clk_data->hws[CLK_TOP_MFG_CK_FAST_REF] = hw; in clk_mt8195_topck_probe()
1292 top_clk_data->hws[CLK_TOP_MFG_CK_FAST_REF]->clk); in clk_mt8195_topck_probe()
1298 &mt8195_clk_lock, top_clk_data); in clk_mt8195_topck_probe()
1303 ARRAY_SIZE(top_clks), top_clk_data); in clk_mt8195_topck_probe()
1332 struct clk_hw_onecell_data *top_clk_data = platform_get_drvdata(pdev); clk_mt8195_topck_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/clk/mediatek/
H A Dclk-mt2712.c1279 static struct clk_onecell_data *top_clk_data; variable
1285 if (!top_clk_data) { in clk_mt2712_top_init_early()
1286 top_clk_data = mtk_alloc_clk_data(CLK_TOP_NR_CLK); in clk_mt2712_top_init_early()
1289 top_clk_data->clks[i] = ERR_PTR(-EPROBE_DEFER); in clk_mt2712_top_init_early()
1293 top_clk_data); in clk_mt2712_top_init_early()
1295 r = of_clk_add_provider(node, of_clk_src_onecell_get, top_clk_data); in clk_mt2712_top_init_early()
1316 if (!top_clk_data) { in clk_mt2712_top_probe()
1317 top_clk_data = mtk_alloc_clk_data(CLK_TOP_NR_CLK); in clk_mt2712_top_probe()
1320 if (top_clk_data->clks[i] == ERR_PTR(-EPROBE_DEFER)) in clk_mt2712_top_probe()
1321 top_clk_data in clk_mt2712_top_probe()
[all...]
H A Dclk-mt8183.c1170 static struct clk_onecell_data *top_clk_data; variable
1176 top_clk_data = mtk_alloc_clk_data(CLK_TOP_NR_CLK); in clk_mt8183_top_init_early()
1179 top_clk_data->clks[i] = ERR_PTR(-EPROBE_DEFER); in clk_mt8183_top_init_early()
1182 top_clk_data); in clk_mt8183_top_init_early()
1184 of_clk_add_provider(node, of_clk_src_onecell_get, top_clk_data); in clk_mt8183_top_init_early()
1200 top_clk_data); in clk_mt8183_top_probe()
1203 top_clk_data); in clk_mt8183_top_probe()
1205 mtk_clk_register_factors(top_divs, ARRAY_SIZE(top_divs), top_clk_data); in clk_mt8183_top_probe()
1208 node, &mt8183_clk_lock, top_clk_data); in clk_mt8183_top_probe()
1211 base, &mt8183_clk_lock, top_clk_data); in clk_mt8183_top_probe()
[all...]

Completed in 6 milliseconds