Home
last modified time | relevance | path

Searched refs:ngpios (Results 1 – 25 of 208) sorted by relevance

123456789

/linux/arch/arm/boot/dts/st/
H A Dstm32mp15xxaa-pinctrl.dtsi12 ngpios = <16>;
18 ngpios = <16>;
24 ngpios = <16>;
30 ngpios = <16>;
36 ngpios = <16>;
42 ngpios = <16>;
48 ngpios = <16>;
54 ngpios = <16>;
60 ngpios = <16>;
66 ngpios = <16>;
[all …]
H A Dstm32mp15xxac-pinctrl.dtsi12 ngpios = <16>;
18 ngpios = <16>;
24 ngpios = <16>;
30 ngpios = <16>;
36 ngpios = <16>;
42 ngpios = <16>;
48 ngpios = <16>;
54 ngpios = <16>;
60 ngpios = <12>;
70 ngpios = <8>;
H A Dstm32mp15xxab-pinctrl.dtsi12 ngpios = <16>;
18 ngpios = <16>;
24 ngpios = <16>;
30 ngpios = <16>;
36 ngpios = <16>;
42 ngpios = <6>;
48 ngpios = <10>;
54 ngpios = <2>;
H A Dstm32mp15xxad-pinctrl.dtsi12 ngpios = <16>;
18 ngpios = <16>;
24 ngpios = <16>;
30 ngpios = <16>;
36 ngpios = <16>;
42 ngpios = <6>;
48 ngpios = <10>;
54 ngpios = <2>;
H A Dstm32h743.dtsi600 ngpios = <16>;
612 ngpios = <16>;
624 ngpios = <16>;
636 ngpios = <16>;
648 ngpios = <16>;
660 ngpios = <16>;
672 ngpios = <16>;
684 ngpios = <16>;
696 ngpios = <16>;
708 ngpios = <16>;
[all …]
/linux/arch/arm64/boot/dts/st/
H A Dstm32mp25xxai-pinctrl.dtsi12 ngpios = <16>;
18 ngpios = <16>;
24 ngpios = <14>;
30 ngpios = <16>;
36 ngpios = <16>;
42 ngpios = <16>;
48 ngpios = <16>;
54 ngpios = <12>;
60 ngpios = <16>;
66 ngpios = <16>;
[all …]
H A Dstm32mp25xxak-pinctrl.dtsi12 ngpios = <16>;
18 ngpios = <16>;
24 ngpios = <14>;
30 ngpios = <16>;
36 ngpios = <16>;
42 ngpios = <16>;
48 ngpios = <16>;
54 ngpios = <12>;
60 ngpios = <12>;
68 ngpios = <10>;
H A Dstm32mp25xxal-pinctrl.dtsi12 ngpios = <16>;
18 ngpios = <16>;
24 ngpios = <14>;
30 ngpios = <16>;
36 ngpios = <16>;
42 ngpios = <16>;
48 ngpios = <16>;
54 ngpios = <12>;
60 ngpios = <12>;
68 ngpios = <10>;
/linux/drivers/i2c/muxes/
H A Di2c-mux-gpio.c22 int ngpios; member
32 gpiod_set_array_value_cansleep(mux->ngpios, mux->gpios, NULL, values); in i2c_mux_gpio_set()
135 int i, ngpios, ret; in i2c_mux_gpio_probe() local
150 ngpios = gpiod_count(&pdev->dev, "mux"); in i2c_mux_gpio_probe()
151 if (ngpios <= 0) { in i2c_mux_gpio_probe()
153 return ngpios ?: -EINVAL; in i2c_mux_gpio_probe()
155 mux->ngpios = ngpios; in i2c_mux_gpio_probe()
162 array_size(ngpios, sizeof(*mux->gpios)), 0, in i2c_mux_gpio_probe()
184 for (i = 0; i < ngpios; i++) { in i2c_mux_gpio_probe()
/linux/drivers/gpio/
H A Dgpio-creg-snps.c82 u32 ngpios) in creg_gpio_validate() argument
90 if (ngpios < 1 || ngpios > hcg->layout->ngpio) { in creg_gpio_validate()
140 u32 ngpios; in creg_gpio_probe() local
156 ret = of_property_read_u32(dev->of_node, "ngpios", &ngpios); in creg_gpio_probe()
160 ret = creg_gpio_validate(dev, hcg, ngpios); in creg_gpio_probe()
169 hcg->gc.ngpio = ngpios; in creg_gpio_probe()
177 dev_info(dev, "GPIO controller with %d gpios probed\n", ngpios); in creg_gpio_probe()
H A Dgpio-ts4800.c24 u32 ngpios; in ts4800_gpio_probe() local
38 retval = of_property_read_u32(node, "ngpios", &ngpios); in ts4800_gpio_probe()
40 ngpios = DEFAULT_PIN_NUMBER; in ts4800_gpio_probe()
52 chip->ngpio = ngpios; in ts4800_gpio_probe()
H A Dgpio-cros-ec.c169 int ngpios; in cros_ec_gpio_probe() local
175 ngpios = cros_ec_gpio_ngpios(cros_ec); in cros_ec_gpio_probe()
176 if (ngpios < 0) { in cros_ec_gpio_probe()
177 dev_err_probe(dev, ngpios, "error getting gpio count\n"); in cros_ec_gpio_probe()
178 return ngpios; in cros_ec_gpio_probe()
185 gc->ngpio = ngpios; in cros_ec_gpio_probe()
H A Dgpio-exar.c152 u32 first_pin, ngpios; in gpio_exar_probe() local
168 ret = device_property_read_u32(dev, "ngpios", &ngpios); in gpio_exar_probe()
182 ngpios += ngpios; in gpio_exar_probe()
212 exar_gpio->gpio_chip.ngpio = ngpios; in gpio_exar_probe()
H A Dgpio-realtek-otto.c365 u32 ngpios; in realtek_gpio_probe() local
375 ngpios = REALTEK_GPIO_MAX; in realtek_gpio_probe()
376 device_property_read_u32(dev, "ngpios", &ngpios); in realtek_gpio_probe()
378 if (ngpios > REALTEK_GPIO_MAX) { in realtek_gpio_probe()
411 ctrl->gc.ngpio = ngpios; in realtek_gpio_probe()
H A Dgpio-aggregator.c264 #define fwd_tmp_size(ngpios) (BITS_TO_LONGS((ngpios)) + (ngpios)) argument
495 unsigned int ngpios, in gpiochip_fwd_create() argument
505 fwd = devm_kzalloc(dev, struct_size(fwd, tmp, fwd_tmp_size(ngpios)), in gpiochip_fwd_create()
518 for (i = 0; i < ngpios; i++) { in gpiochip_fwd_create()
542 chip->ngpio = ngpios; in gpiochip_fwd_create()
/linux/drivers/regulator/
H A Dgpio-regulator.c136 int ngpios; in of_get_gpio_regulator_config() local
164 ngpios = gpiod_count(dev, NULL); in of_get_gpio_regulator_config()
165 if (ngpios > 0) { in of_get_gpio_regulator_config()
168 * ngpios, in of_get_gpio_regulator_config()
173 for (i = 0; i < ngpios; i++) { in of_get_gpio_regulator_config()
187 config->ngpios = ngpios; in of_get_gpio_regulator_config()
279 for (i = 0; i < config->ngpios; i++) { in gpio_regulator_probe()
289 drvdata->nr_gpios = config->ngpios; in gpio_regulator_probe()
/linux/arch/arm/boot/dts/unisoc/
H A Drda8810pl.dtsi47 ngpios = <32>;
84 ngpios = <32>;
95 ngpios = <32>;
106 ngpios = <32>;
/linux/drivers/pinctrl/
H A Dpinctrl-sx150x.c73 u8 ngpios; member
85 u8 ngpios; member
165 .ngpios = 4,
188 .ngpios = 8,
211 .ngpios = 16,
230 .ngpios = 4,
252 .ngpios = 8,
275 .ngpios = 16,
296 .ngpios = 4,
317 .ngpios = 8,
[all …]
/linux/arch/arm64/boot/dts/synaptics/
H A Dberlin4ct.dtsi145 ngpios = <32>;
163 ngpios = <32>;
181 ngpios = <32>;
199 ngpios = <32>;
274 ngpios = <32>;
289 ngpios = <32>;
/linux/Documentation/devicetree/bindings/gpio/
H A Dgpio-ts4800.txt10 - ngpios: See "gpio.txt"
17 ngpios = <8>;
H A Dsnps,creg-gpio.txt11 - ngpios: Number of GPIO pins.
20 ngpios = <2>;
H A Dnintendo,hollywood-gpio.txt12 - ngpios: see Documentation/devicetree/bindings/gpio/gpio.txt
25 ngpios = <24>;
H A Dgpio-ts4900.txt17 - ngpios: Number of GPIOs this controller is instantiated with,
28 ngpios = <32>;
/linux/arch/riscv/boot/dts/microchip/
H A Dmpfs-beaglev-fire-fabric.dtsi32 ngpios = <16>;
45 ngpios = <20>;
59 ngpios = <20>;
/linux/arch/arm/boot/dts/renesas/
H A Demev2.dtsi211 ngpios = <32>;
224 ngpios = <32>;
237 ngpios = <32>;
250 ngpios = <32>;
263 ngpios = <31>;

123456789