Searched refs:n_gpios (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/i2c/muxes/
H A Di2c-mux-gpio.c31 for (i = 0; i < mux->data.n_gpios; i++) i2c_mux_gpio_set()
104 mux->data.n_gpios = of_gpio_named_count(np, "mux-gpios");
105 if (mux->data.n_gpios < 0) {
111 sizeof(*mux->data.gpios) * mux->data.n_gpios, GFP_KERNEL);
117 for (i = 0; i < mux->data.n_gpios; i++) {
202 for (i = 0; i < mux->data.n_gpios; i++) { i2c_mux_gpio_probe()
243 i = mux->data.n_gpios; i2c_mux_gpio_probe()
261 for (i = 0; i < mux->data.n_gpios; i++) i2c_mux_gpio_remove()
/linux-4.1.27/include/linux/
H A Di2c-mux-gpio.h28 * @n_gpios: Number of GPIOs used to control MUX
39 int n_gpios; member in struct:i2c_mux_gpio_platform_data
/linux-4.1.27/drivers/i2c/busses/
H A Di2c-i801.c198 int n_gpios; member in struct:i801_mux_config
983 .n_gpios = 2, i801_probe_optional_slaves()
992 .n_gpios = 2,
1082 gpio_data.n_gpios = mux_config->n_gpios; i801_add_mux()

Completed in 154 milliseconds