Home
last modified time | relevance | path

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

/drivers/clk/mediatek/
Dclk-mt8195-topckgen.c1226 struct mtk_mux_nb *mfg_mux_nb; in clk_mt8195_reg_mfg_mux_notifier() local
1228 mfg_mux_nb = devm_kzalloc(dev, sizeof(*mfg_mux_nb), GFP_KERNEL); in clk_mt8195_reg_mfg_mux_notifier()
1229 if (!mfg_mux_nb) in clk_mt8195_reg_mfg_mux_notifier()
1232 mfg_mux_nb->ops = &clk_mux_ops; in clk_mt8195_reg_mfg_mux_notifier()
1233 mfg_mux_nb->bypass_index = 0; /* Bypass to TOP_MFG_CORE_TMP */ in clk_mt8195_reg_mfg_mux_notifier()
1235 return devm_mtk_clk_mux_notifier_register(dev, clk, mfg_mux_nb); in clk_mt8195_reg_mfg_mux_notifier()
Dclk-mt8183.c1204 struct mtk_mux_nb *mfg_mux_nb; in clk_mt8183_reg_mfg_mux_notifier() local
1207 mfg_mux_nb = devm_kzalloc(dev, sizeof(*mfg_mux_nb), GFP_KERNEL); in clk_mt8183_reg_mfg_mux_notifier()
1208 if (!mfg_mux_nb) in clk_mt8183_reg_mfg_mux_notifier()
1217 mfg_mux_nb->ops = top_muxes[i].ops; in clk_mt8183_reg_mfg_mux_notifier()
1218 mfg_mux_nb->bypass_index = 0; /* Bypass to 26M crystal */ in clk_mt8183_reg_mfg_mux_notifier()
1220 return devm_mtk_clk_mux_notifier_register(dev, clk, mfg_mux_nb); in clk_mt8183_reg_mfg_mux_notifier()
Dclk-mt8192.c1074 struct mtk_mux_nb *mfg_mux_nb; in clk_mt8192_reg_mfg_mux_notifier() local
1077 mfg_mux_nb = devm_kzalloc(dev, sizeof(*mfg_mux_nb), GFP_KERNEL); in clk_mt8192_reg_mfg_mux_notifier()
1078 if (!mfg_mux_nb) in clk_mt8192_reg_mfg_mux_notifier()
1087 mfg_mux_nb->ops = top_mtk_muxes[i].ops; in clk_mt8192_reg_mfg_mux_notifier()
1088 mfg_mux_nb->bypass_index = 0; /* Bypass to 26M crystal */ in clk_mt8192_reg_mfg_mux_notifier()
1090 return devm_mtk_clk_mux_notifier_register(dev, clk, mfg_mux_nb); in clk_mt8192_reg_mfg_mux_notifier()