Lines Matching refs:mux
13 #include <linux/mdio-mux.h>
188 /* Reset the mdio bus mux */
217 { .compatible = "amlogic,g12a-mdio-mux", },
228 struct clk_mux *mux;
233 /* get the mux parents */
246 /* create the input mux */
247 mux = devm_kzalloc(dev, sizeof(*mux), GFP_KERNEL);
248 if (!mux)
251 name = kasprintf(GFP_KERNEL, "%s#mux", dev_name(dev));
261 mux->reg = priv->regs + ETH_PLL_CTL0;
262 mux->shift = __ffs(PLL_CTL0_SEL);
263 mux->mask = PLL_CTL0_SEL >> mux->shift;
264 mux->hw.init = &init;
266 clk = devm_clk_register(dev, &mux->hw);
269 dev_err(dev, "failed to register input mux\n");
295 dev_err(dev, "failed to register input mux\n");