Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/mediatek/
H A Dclk-mt8186-topckgen.c687 struct mtk_mux_nb *mfg_mux_nb; in clk_mt8186_reg_mfg_mux_notifier() local
690 mfg_mux_nb = devm_kzalloc(dev, sizeof(*mfg_mux_nb), GFP_KERNEL); in clk_mt8186_reg_mfg_mux_notifier()
691 if (!mfg_mux_nb) in clk_mt8186_reg_mfg_mux_notifier()
700 mfg_mux_nb->ops = top_mtk_muxes[i].ops; in clk_mt8186_reg_mfg_mux_notifier()
701 mfg_mux_nb->bypass_index = 0; /* Bypass to 26M crystal */ in clk_mt8186_reg_mfg_mux_notifier()
703 return devm_mtk_clk_mux_notifier_register(dev, clk, mfg_mux_nb); in clk_mt8186_reg_mfg_mux_notifier()
H A Dclk-mt8188-topckgen.c1240 struct mtk_mux_nb *mfg_mux_nb; in clk_mt8188_reg_mfg_mux_notifier() local
1242 mfg_mux_nb = devm_kzalloc(dev, sizeof(*mfg_mux_nb), GFP_KERNEL); in clk_mt8188_reg_mfg_mux_notifier()
1243 if (!mfg_mux_nb) in clk_mt8188_reg_mfg_mux_notifier()
1246 mfg_mux_nb->ops = &clk_mux_ops; in clk_mt8188_reg_mfg_mux_notifier()
1247 mfg_mux_nb->bypass_index = 0; /* Bypass to TOP_MFG_CORE_TMP */ in clk_mt8188_reg_mfg_mux_notifier()
1249 return devm_mtk_clk_mux_notifier_register(dev, clk, mfg_mux_nb); in clk_mt8188_reg_mfg_mux_notifier()
H A Dclk-mt8183.c839 struct mtk_mux_nb *mfg_mux_nb; in clk_mt8183_reg_mfg_mux_notifier() local
842 mfg_mux_nb = devm_kzalloc(dev, sizeof(*mfg_mux_nb), GFP_KERNEL); in clk_mt8183_reg_mfg_mux_notifier()
843 if (!mfg_mux_nb) in clk_mt8183_reg_mfg_mux_notifier()
852 mfg_mux_nb->ops = top_muxes[i].ops; in clk_mt8183_reg_mfg_mux_notifier()
853 mfg_mux_nb->bypass_index = 0; /* Bypass to 26M crystal */ in clk_mt8183_reg_mfg_mux_notifier()
855 return devm_mtk_clk_mux_notifier_register(dev, clk, mfg_mux_nb); in clk_mt8183_reg_mfg_mux_notifier()
H A Dclk-mt8192.c969 struct mtk_mux_nb *mfg_mux_nb; in clk_mt8192_reg_mfg_mux_notifier() local
972 mfg_mux_nb = devm_kzalloc(dev, sizeof(*mfg_mux_nb), GFP_KERNEL); in clk_mt8192_reg_mfg_mux_notifier()
973 if (!mfg_mux_nb) in clk_mt8192_reg_mfg_mux_notifier()
982 mfg_mux_nb->ops = top_mtk_muxes[i].ops; in clk_mt8192_reg_mfg_mux_notifier()
983 mfg_mux_nb->bypass_index = 0; /* Bypass to 26M crystal */ in clk_mt8192_reg_mfg_mux_notifier()
985 return devm_mtk_clk_mux_notifier_register(dev, clk, mfg_mux_nb); in clk_mt8192_reg_mfg_mux_notifier()
H A Dclk-mt8195-topckgen.c1237 struct mtk_mux_nb *mfg_mux_nb; in clk_mt8195_reg_mfg_mux_notifier() local
1239 mfg_mux_nb = devm_kzalloc(dev, sizeof(*mfg_mux_nb), GFP_KERNEL); in clk_mt8195_reg_mfg_mux_notifier()
1240 if (!mfg_mux_nb) in clk_mt8195_reg_mfg_mux_notifier()
1243 mfg_mux_nb->ops = &clk_mux_ops; in clk_mt8195_reg_mfg_mux_notifier()
1244 mfg_mux_nb->bypass_index = 0; /* Bypass to TOP_MFG_CORE_TMP */ in clk_mt8195_reg_mfg_mux_notifier()
1246 return devm_mtk_clk_mux_notifier_register(dev, clk, mfg_mux_nb); in clk_mt8195_reg_mfg_mux_notifier()