Lines Matching full:controllers
81 * @controllers: The number of mux controllers to allocate for this chip.
84 * After allocating the mux-chip with the desired number of mux controllers
95 unsigned int controllers, size_t sizeof_priv) in mux_chip_alloc() argument
100 if (WARN_ON(!dev || !controllers)) in mux_chip_alloc()
104 controllers * sizeof(*mux_chip->mux) + in mux_chip_alloc()
126 mux_chip->controllers = controllers; in mux_chip_alloc()
127 for (i = 0; i < controllers; ++i) { in mux_chip_alloc()
155 * mux_chip_register() - Register a mux-chip, thus readying the controllers
170 for (i = 0; i < mux_chip->controllers; ++i) { in mux_chip_register()
230 * @controllers: The number of mux controllers to allocate for this chip.
238 unsigned int controllers, in devm_mux_chip_alloc() argument
247 mux_chip = mux_chip_alloc(dev, controllers, sizeof_priv); in devm_mux_chip_alloc()
577 (args.args_count < 2 && mux_chip->controllers > 1)) { in mux_get()
593 (!args.args_count && mux_chip->controllers > 1)) { in mux_get()
604 if (controller >= mux_chip->controllers) { in mux_get()
754 * and mux controllers start to use it.