Lines Matching defs:cpumux
12 #include "clk-cpumux.h"
52 struct mtk_clk_cpumux *cpumux;
56 cpumux = kzalloc(sizeof(*cpumux), GFP_KERNEL);
57 if (!cpumux)
66 cpumux->reg = mux->mux_reg;
67 cpumux->shift = mux->mux_shift;
68 cpumux->mask = BIT(mux->mux_width) - 1;
69 cpumux->regmap = regmap;
70 cpumux->hw.init = &init;
72 clk = clk_register(NULL, &cpumux->hw);
74 kfree(cpumux);