Lines Matching full:controllers
79 * @controllers: The number of mux controllers to allocate for this chip.
82 * After allocating the mux-chip with the desired number of mux controllers
93 unsigned int controllers, size_t sizeof_priv) in mux_chip_alloc() argument
98 if (WARN_ON(!dev || !controllers)) in mux_chip_alloc()
102 controllers * sizeof(*mux_chip->mux) + in mux_chip_alloc()
124 mux_chip->controllers = controllers; in mux_chip_alloc()
125 for (i = 0; i < controllers; ++i) { in mux_chip_alloc()
153 * mux_chip_register() - Register a mux-chip, thus readying the controllers
168 for (i = 0; i < mux_chip->controllers; ++i) { in mux_chip_register()
228 * @controllers: The number of mux controllers to allocate for this chip.
236 unsigned int controllers, in devm_mux_chip_alloc() argument
245 mux_chip = mux_chip_alloc(dev, controllers, sizeof_priv); in devm_mux_chip_alloc()
575 (args.args_count < 2 && mux_chip->controllers > 1)) { in mux_get()
591 (!args.args_count && mux_chip->controllers > 1)) { in mux_get()
602 if (controller >= mux_chip->controllers) { in mux_get()
752 * and mux controllers start to use it.