Searched refs:cpumux (Results 1 – 2 of 2) sorted by relevance
64 struct mtk_clk_cpumux *cpumux; in mtk_clk_register_cpumux() local68 cpumux = kzalloc(sizeof(*cpumux), GFP_KERNEL); in mtk_clk_register_cpumux()69 if (!cpumux) in mtk_clk_register_cpumux()78 cpumux->reg = mux->mux_reg; in mtk_clk_register_cpumux()79 cpumux->shift = mux->mux_shift; in mtk_clk_register_cpumux()80 cpumux->mask = BIT(mux->mux_width) - 1; in mtk_clk_register_cpumux()81 cpumux->regmap = regmap; in mtk_clk_register_cpumux()82 cpumux->hw.init = &init; in mtk_clk_register_cpumux()84 ret = clk_hw_register(NULL, &cpumux->hw); in mtk_clk_register_cpumux()86 kfree(cpumux); in mtk_clk_register_cpumux()[all …]
2 obj-$(CONFIG_COMMON_CLK_MEDIATEK) += clk-mtk.o clk-pll.o clk-gate.o clk-apmixed.o clk-cpumux.o rese…