Lines Matching refs:mux_chip
17 struct mux_chip;
45 struct mux_chip *chip;
53 * struct mux_chip - Represents a chip holding mux controllers.
60 struct mux_chip {
69 #define to_mux_chip(x) container_of((x), struct mux_chip, dev)
73 * @mux_chip: The mux-chip to get the private memory from.
77 static inline void *mux_chip_priv(struct mux_chip *mux_chip)
79 return &mux_chip->mux[mux_chip->controllers];
82 struct mux_chip *mux_chip_alloc(struct device *dev,
84 int mux_chip_register(struct mux_chip *mux_chip);
85 void mux_chip_unregister(struct mux_chip *mux_chip);
86 void mux_chip_free(struct mux_chip *mux_chip);
88 struct mux_chip *devm_mux_chip_alloc(struct device *dev,
91 int devm_mux_chip_register(struct device *dev, struct mux_chip *mux_chip);