Home
last modified time | relevance | path

Searched full:ngpios (Results 1 – 25 of 209) sorted by relevance

123456789

/Linux-v6.1/arch/arm/boot/dts/
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 …]
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>;
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>;
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>;
Drda8810pl.dtsi47 ngpios = <32>;
84 ngpios = <32>;
95 ngpios = <32>;
106 ngpios = <32>;
Dstm32mp131.dtsi438 ngpios = <16>;
450 ngpios = <16>;
462 ngpios = <16>;
474 ngpios = <16>;
486 ngpios = <16>;
498 ngpios = <16>;
510 ngpios = <16>;
522 ngpios = <15>;
534 ngpios = <8>;
Dstm32h743.dtsi603 ngpios = <16>;
615 ngpios = <16>;
627 ngpios = <16>;
639 ngpios = <16>;
651 ngpios = <16>;
663 ngpios = <16>;
675 ngpios = <16>;
687 ngpios = <16>;
699 ngpios = <16>;
711 ngpios = <16>;
[all …]
/Linux-v6.1/drivers/gpio/
Dgpio-creg-snps.c82 u32 ngpios) in creg_gpio_validate() argument
90 if (ngpios < 1 || ngpios > hcg->layout->ngpio) { in creg_gpio_validate()
91 dev_err(dev, "ngpios must be in [1:%u]\n", 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()
Dgpio-ts4800.c25 u32 ngpios; in ts4800_gpio_probe() local
39 retval = of_property_read_u32(node, "ngpios", &ngpios); in ts4800_gpio_probe()
41 ngpios = DEFAULT_PIN_NUMBER; in ts4800_gpio_probe()
53 chip->ngpio = ngpios; in ts4800_gpio_probe()
Dgpio-exar.c151 u32 first_pin, ngpios; in gpio_exar_probe() local
167 ret = device_property_read_u32(dev, "ngpios", &ngpios); in gpio_exar_probe()
181 ngpios += ngpios; in gpio_exar_probe()
211 exar_gpio->gpio_chip.ngpio = ngpios; in gpio_exar_probe()
Dgpio-aggregator.c253 #define fwd_tmp_size(ngpios) (BITS_TO_LONGS((ngpios)) + (ngpios)) argument
394 * @ngpios: Number of GPIOs in the forwarder.
396 * This array must contain @ngpios entries, and must not be deallocated
406 unsigned int ngpios, in gpiochip_fwd_create() argument
415 fwd = devm_kzalloc(dev, struct_size(fwd, tmp, fwd_tmp_size(ngpios)), in gpiochip_fwd_create()
428 for (i = 0; i < ngpios; i++) { in gpiochip_fwd_create()
452 chip->ngpio = ngpios; in gpiochip_fwd_create()
Dgpio-bd71815.c116 unsigned int ngpios) in bd71815_init_valid_mask() argument
118 if (ngpios != 2) in bd71815_init_valid_mask()
151 * not respect the valid_mask. Do not trust it but rather set the ngpios in gpo_bd71815_probe()
157 * For now it is safest to just set the ngpios though. in gpo_bd71815_probe()
Dgpio-em.c276 unsigned int ngpios; in em_gio_probe() local
303 if (of_property_read_u32(dev->of_node, "ngpios", &ngpios)) { in em_gio_probe()
304 dev_err(dev, "Missing ngpios OF property\n"); in em_gio_probe()
320 gpio_chip->ngpio = ngpios; in em_gio_probe()
331 p->irq_domain = irq_domain_add_simple(dev->of_node, ngpios, 0, in em_gio_probe()
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()
379 dev_err(&pdev->dev, "invalid ngpios (max. %d)\n", in realtek_gpio_probe()
411 ctrl->gc.ngpio = ngpios; in realtek_gpio_probe()
/Linux-v6.1/drivers/i2c/muxes/
Di2c-mux-gpio.c22 int ngpios; member
32 gpiod_set_array_value_cansleep(mux->ngpios, mux->gpios, NULL, values); in i2c_mux_gpio_set()
129 int i, ngpios, ret; in i2c_mux_gpio_probe() local
144 ngpios = gpiod_count(&pdev->dev, "mux"); in i2c_mux_gpio_probe()
145 if (ngpios <= 0) { in i2c_mux_gpio_probe()
147 return ngpios ?: -EINVAL; in i2c_mux_gpio_probe()
149 mux->ngpios = ngpios; in i2c_mux_gpio_probe()
156 array_size(ngpios, sizeof(*mux->gpios)), 0, in i2c_mux_gpio_probe()
178 for (i = 0; i < ngpios; i++) { in i2c_mux_gpio_probe()
/Linux-v6.1/Documentation/devicetree/bindings/pinctrl/
Dmicrochip,sparx5-sgpio.yaml98 controlled indirectly by the "ngpios" property: (ngpios/32).
113 ngpios:
124 - ngpios
156 ngpios = <96>;
166 ngpios = <96>;
Dintel,pinctrl-keembay.yaml29 ngpios:
88 - ngpios
104 ngpios = <0x50>;
124 ngpios = <0x50>;
/Linux-v6.1/drivers/regulator/
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-v6.1/Documentation/devicetree/bindings/gpio/
Drenesas,em-gio.yaml34 ngpios:
50 - ngpios
67 ngpios = <32>;
Dgpio-mvebu.yaml68 ngpios:
102 - ngpios
125 ngpios = <32>;
138 ngpios = <17>;
Daspeed,sgpio.yaml47 ngpios: true
58 - ngpios
75 ngpios = <80>;
Drealtek,otto-gpio.yaml42 ngpios:
89 ngpios = <24>;
101 ngpios = <24>;
Dsocionext,uniphier-gpio.yaml40 ngpios:
79 - ngpios
100 ngpios = <248>;
/Linux-v6.1/arch/arm64/boot/dts/synaptics/
Dberlin4ct.dtsi143 ngpios = <32>;
161 ngpios = <32>;
179 ngpios = <32>;
197 ngpios = <32>;
272 ngpios = <32>;
287 ngpios = <32>;
/Linux-v6.1/drivers/pinctrl/
Dpinctrl-sx150x.c74 u8 ngpios; member
86 u8 ngpios; member
167 .ngpios = 4,
190 .ngpios = 8,
213 .ngpios = 16,
232 .ngpios = 4,
254 .ngpios = 8,
277 .ngpios = 16,
298 .ngpios = 4,
319 .ngpios = 8,
[all …]

123456789