Home
last modified time | relevance | path

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

12345

/Linux-v5.4/arch/arm/boot/dts/
Dstm32mp157xaa-pinctrl.dtsi15 ngpios = <16>;
21 ngpios = <16>;
27 ngpios = <16>;
33 ngpios = <16>;
39 ngpios = <16>;
45 ngpios = <16>;
51 ngpios = <16>;
57 ngpios = <16>;
63 ngpios = <16>;
69 ngpios = <16>;
[all …]
Dstm32mp157xac-pinctrl.dtsi15 ngpios = <16>;
21 ngpios = <16>;
27 ngpios = <16>;
33 ngpios = <16>;
39 ngpios = <16>;
45 ngpios = <16>;
51 ngpios = <16>;
57 ngpios = <16>;
63 ngpios = <12>;
73 ngpios = <8>;
Dstm32mp157xab-pinctrl.dtsi15 ngpios = <16>;
21 ngpios = <16>;
27 ngpios = <16>;
33 ngpios = <16>;
39 ngpios = <16>;
45 ngpios = <6>;
51 ngpios = <10>;
57 ngpios = <2>;
Dstm32mp157xad-pinctrl.dtsi15 ngpios = <16>;
21 ngpios = <16>;
27 ngpios = <16>;
33 ngpios = <16>;
39 ngpios = <16>;
45 ngpios = <6>;
51 ngpios = <10>;
57 ngpios = <2>;
Demev2.dtsi211 ngpios = <32>;
223 ngpios = <32>;
235 ngpios = <32>;
247 ngpios = <32>;
259 ngpios = <31>;
/Linux-v5.4/drivers/i2c/muxes/
Di2c-mux-gpio.c21 int ngpios; member
31 gpiod_set_array_value_cansleep(mux->ngpios, mux->gpios, NULL, values); in i2c_mux_gpio_set()
114 int i, ngpios, ret; in i2c_mux_gpio_probe() local
129 ngpios = gpiod_count(&pdev->dev, "mux"); in i2c_mux_gpio_probe()
130 if (ngpios <= 0) { in i2c_mux_gpio_probe()
132 return ngpios ?: -EINVAL; in i2c_mux_gpio_probe()
134 mux->ngpios = ngpios; in i2c_mux_gpio_probe()
141 ngpios * sizeof(*mux->gpios), 0, in i2c_mux_gpio_probe()
163 for (i = 0; i < ngpios; i++) { in i2c_mux_gpio_probe()
/Linux-v5.4/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()
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()
168 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.c28 u32 ngpios; in ts4800_gpio_probe() local
42 retval = of_property_read_u32(node, "ngpios", &ngpios); in ts4800_gpio_probe()
44 ngpios = DEFAULT_PIN_NUMBER; in ts4800_gpio_probe()
56 chip->ngpio = ngpios; in ts4800_gpio_probe()
Dgpio-exar.c120 u32 first_pin, ngpios; in gpio_exar_probe() local
137 ret = device_property_read_u32(&pdev->dev, "ngpios", &ngpios); in gpio_exar_probe()
160 exar_gpio->gpio_chip.ngpio = ngpios; in gpio_exar_probe()
Dgpio-hlwd.c211 u32 ngpios; in hlwd_gpio_probe() local
242 res = of_property_read_u32(pdev->dev.of_node, "ngpios", &ngpios); in hlwd_gpio_probe()
244 ngpios = 32; in hlwd_gpio_probe()
245 hlwd->gpioc.ngpio = ngpios; in hlwd_gpio_probe()
Dgpio-em.c277 unsigned int ngpios; in em_gio_probe() local
308 if (of_property_read_u32(dev->of_node, "ngpios", &ngpios)) { in em_gio_probe()
326 gpio_chip->ngpio = ngpios; in em_gio_probe()
337 p->irq_domain = irq_domain_add_simple(dev->of_node, ngpios, 0, in em_gio_probe()
/Linux-v5.4/drivers/regulator/
Dgpio-regulator.c136 int ngpios; in of_get_gpio_regulator_config() local
157 ngpios = gpiod_count(dev, NULL); in of_get_gpio_regulator_config()
158 if (ngpios > 0) { in of_get_gpio_regulator_config()
161 * ngpios, in of_get_gpio_regulator_config()
166 for (i = 0; i < ngpios; i++) { in of_get_gpio_regulator_config()
180 config->ngpios = ngpios; in of_get_gpio_regulator_config()
257 for (i = 0; i < config->ngpios; i++) { in gpio_regulator_probe()
267 drvdata->nr_gpios = config->ngpios; in gpio_regulator_probe()
/Linux-v5.4/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 …]
/Linux-v5.4/Documentation/devicetree/bindings/gpio/
Dgpio-ts4800.txt10 - ngpios: See "gpio.txt"
17 ngpios = <8>;
Dsnps,creg-gpio.txt11 - ngpios: Number of GPIO pins.
20 ngpios = <2>;
Dnintendo,hollywood-gpio.txt12 - ngpios: see Documentation/devicetree/bindings/gpio/gpio.txt
25 ngpios = <24>;
Dgpio-ts4900.txt17 - ngpios: Number of GPIOs this controller is instantiated with,
28 ngpios = <32>;
Dgpio-ath79.txt12 - ngpios: Should be set to the number of GPIOs available on the SoC.
30 ngpios = <22>;
Dgpio-mvebu.txt44 - ngpios: number of GPIOs this controller has
73 ngpios = <32>;
85 ngpios = <17>;
Dsgpio-aspeed.txt23 - ngpios : number of GPIO lines, see gpio.txt
43 ngpios = <8>;
Dgpio-uniphier.txt17 - ngpios: Specifies the number of GPIO lines.
37 ngpios = <248>;
/Linux-v5.4/Documentation/devicetree/bindings/pinctrl/
Dbrcm,iproc-gpio.txt27 - ngpios:
77 ngpios = <24>;
99 ngpios = <146>;
Dbrcm,nsp-gpio.txt19 - ngpios:
62 ngpios = <32>;
/Linux-v5.4/include/linux/platform_data/
Dgpio-ath79.h12 unsigned ngpios; member
/Linux-v5.4/include/linux/regulator/
Dgpio-regulator.h70 int ngpios; member

12345