Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/i2c/muxes/
Di2c-mux-gpio.c32 for (i = 0; i < mux->data.n_gpios; i++) in i2c_mux_gpio_set()
35 gpiod_set_array_value_cansleep(mux->data.n_gpios, in i2c_mux_gpio_set()
108 mux->data.n_gpios = of_gpio_named_count(np, "mux-gpios"); in i2c_mux_gpio_probe_dt()
109 if (mux->data.n_gpios < 0) { in i2c_mux_gpio_probe_dt()
115 mux->data.n_gpios, sizeof(*mux->data.gpios), in i2c_mux_gpio_probe_dt()
122 for (i = 0; i < mux->data.n_gpios; i++) { in i2c_mux_gpio_probe_dt()
185 mux->data.n_gpios * sizeof(*mux->gpios) + in i2c_mux_gpio_probe()
186 mux->data.n_gpios * sizeof(*mux->values), 0, in i2c_mux_gpio_probe()
193 mux->values = (int *)(mux->gpios + mux->data.n_gpios); in i2c_mux_gpio_probe()
210 for (i = 0; i < mux->data.n_gpios; i++) { in i2c_mux_gpio_probe()
[all …]
/linux-4.19.296/include/linux/platform_data/
Di2c-mux-gpio.h39 int n_gpios; member
/linux-4.19.296/drivers/i2c/busses/
Di2c-i801.c252 int n_gpios; member
1169 .n_gpios = 2,
1178 .n_gpios = 2,
1268 gpio_data.n_gpios = mux_config->n_gpios; in i801_add_mux()