Searched refs:mfg_mux_nb (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/clk/mediatek/ |
H A D | clk-mt8186-topckgen.c | 687 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 D | clk-mt8183.c | 839 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 D | clk-mt8188-topckgen.c | 1241 struct mtk_mux_nb *mfg_mux_nb; in clk_mt8188_reg_mfg_mux_notifier() local 1243 mfg_mux_nb = devm_kzalloc(dev, sizeof(*mfg_mux_nb), GFP_KERNEL); in clk_mt8188_reg_mfg_mux_notifier() 1244 if (!mfg_mux_nb) in clk_mt8188_reg_mfg_mux_notifier() 1247 mfg_mux_nb->ops = &clk_mux_ops; in clk_mt8188_reg_mfg_mux_notifier() 1248 mfg_mux_nb->bypass_index = 0; /* Bypass to TOP_MFG_CORE_TMP */ in clk_mt8188_reg_mfg_mux_notifier() 1250 return devm_mtk_clk_mux_notifier_register(dev, clk, mfg_mux_nb); in clk_mt8188_reg_mfg_mux_notifier()
|
H A D | clk-mt8195-topckgen.c | 1248 struct mtk_mux_nb *mfg_mux_nb; in clk_mt8195_reg_mfg_mux_notifier() local 1250 mfg_mux_nb = devm_kzalloc(dev, sizeof(*mfg_mux_nb), GFP_KERNEL); in clk_mt8195_reg_mfg_mux_notifier() 1251 if (!mfg_mux_nb) in clk_mt8195_reg_mfg_mux_notifier() 1254 mfg_mux_nb->ops = &clk_mux_ops; in clk_mt8195_reg_mfg_mux_notifier() 1255 mfg_mux_nb->bypass_index = 0; /* Bypass to TOP_MFG_CORE_TMP */ in clk_mt8195_reg_mfg_mux_notifier() 1257 return devm_mtk_clk_mux_notifier_register(dev, clk, mfg_mux_nb); in clk_mt8195_reg_mfg_mux_notifier()
|
H A D | clk-mt8192.c | 969 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()
|