Searched refs:cpumux (Results 1 – 2 of 2) sorted by relevance
52 struct mtk_clk_cpumux *cpumux; in mtk_clk_register_cpumux() local56 cpumux = kzalloc(sizeof(*cpumux), GFP_KERNEL); in mtk_clk_register_cpumux()57 if (!cpumux) in mtk_clk_register_cpumux()66 cpumux->reg = mux->mux_reg; in mtk_clk_register_cpumux()67 cpumux->shift = mux->mux_shift; in mtk_clk_register_cpumux()68 cpumux->mask = BIT(mux->mux_width) - 1; in mtk_clk_register_cpumux()69 cpumux->regmap = regmap; in mtk_clk_register_cpumux()70 cpumux->hw.init = &init; in mtk_clk_register_cpumux()72 clk = clk_register(NULL, &cpumux->hw); in mtk_clk_register_cpumux()74 kfree(cpumux); in mtk_clk_register_cpumux()
2 obj-$(CONFIG_COMMON_CLK_MEDIATEK) += clk-mtk.o clk-pll.o clk-gate.o clk-apmixed.o clk-cpumux.o rese…