Lines Matching full:controllers
66 * @controllers: The number of mux controllers to allocate for this chip.
69 * After allocating the mux-chip with the desired number of mux controllers
80 unsigned int controllers, size_t sizeof_priv) in mux_chip_alloc() argument
85 if (WARN_ON(!dev || !controllers)) in mux_chip_alloc()
89 controllers * sizeof(*mux_chip->mux) + in mux_chip_alloc()
111 mux_chip->controllers = controllers; in mux_chip_alloc()
112 for (i = 0; i < controllers; ++i) { in mux_chip_alloc()
137 * mux_chip_register() - Register a mux-chip, thus readying the controllers
152 for (i = 0; i < mux_chip->controllers; ++i) { in mux_chip_register()
212 * @controllers: The number of mux controllers to allocate for this chip.
220 unsigned int controllers, in devm_mux_chip_alloc() argument
229 mux_chip = mux_chip_alloc(dev, controllers, sizeof_priv); in devm_mux_chip_alloc()
459 (!args.args_count && (mux_chip->controllers > 1))) { in mux_control_get()
470 if (controller >= mux_chip->controllers) { in mux_control_get()
533 * and mux controllers start to use it.