Lines Matching defs:mux_chip
123 static int mux_of_xlate_default(struct mux_chip *mux_chip,
142 if (id >= mux_chip->controllers) {
148 mux = &mux_chip->mux[id];
170 struct mux_chip *mux_chip;
189 mux_chip = dev_get_uclass_priv(dev_mux);
193 ret = ops->of_xlate(mux_chip, &args, mux);
195 ret = mux_of_xlate_default(mux_chip, &args, mux);
265 struct mux_chip *mux_chip = dev_get_uclass_priv(dev);
267 mux_chip->mux = devm_kmalloc(dev,
270 if (!mux_chip->mux)
273 mux_chip->controllers = controllers;
275 for (i = 0; i < mux_chip->controllers; ++i) {
276 struct mux_control *mux = &mux_chip->mux[i];
291 struct mux_chip *mux_chip = dev_get_uclass_priv(dev);
294 for (i = 0; i < mux_chip->controllers; ++i) {
295 struct mux_control *mux = &mux_chip->mux[i];
337 .per_device_auto = sizeof(struct mux_chip),