Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/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>;
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>;
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>;
Drda8810pl.dtsi47 ngpios = <32>;
84 ngpios = <32>;
95 ngpios = <32>;
106 ngpios = <32>;
Demev2.dtsi211 ngpios = <32>;
224 ngpios = <32>;
237 ngpios = <32>;
250 ngpios = <32>;
263 ngpios = <31>;
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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-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-exar.c123 u32 first_pin, ngpios; in gpio_exar_probe() local
140 ret = device_property_read_u32(&pdev->dev, "ngpios", &ngpios); in gpio_exar_probe()
165 exar_gpio->gpio_chip.ngpio = ngpios; in gpio_exar_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()
321 gpio_chip->ngpio = ngpios; in em_gio_probe()
332 p->irq_domain = irq_domain_add_simple(dev->of_node, ngpios, 0, in em_gio_probe()
Dgpio-aggregator.c459 unsigned int ngpios, in gpiochip_fwd_create() argument
469 BITS_TO_LONGS(ngpios) + ngpios), GFP_KERNEL); in gpiochip_fwd_create()
481 for (i = 0; i < ngpios; i++) { in gpiochip_fwd_create()
503 chip->ngpio = ngpios; in gpiochip_fwd_create()
Dgpio-aspeed-sgpio.c139 unsigned long *valid_mask, unsigned int ngpios) in aspeed_sgpio_init_valid_mask() argument
145 WARN_ON(ngpios < MAX_NR_HW_SGPIO * 2); in aspeed_sgpio_init_valid_mask()
159 unsigned long *valid_mask, unsigned int ngpios) in aspeed_sgpio_irq_init_valid_mask() argument
164 WARN_ON(ngpios < MAX_NR_HW_SGPIO * 2); in aspeed_sgpio_irq_init_valid_mask()
168 bitmap_clear(valid_mask, n, ngpios - n); in aspeed_sgpio_irq_init_valid_mask()
Dgpio-rda.c206 u32 ngpios; in rda_gpio_probe() local
213 ret = device_property_read_u32(dev, "ngpios", &ngpios); in rda_gpio_probe()
243 rda_gpio->chip.ngpio = ngpios; in rda_gpio_probe()
/kernel/linux/linux-5.10/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()
264 for (i = 0; i < config->ngpios; i++) { in gpio_regulator_probe()
274 drvdata->nr_gpios = config->ngpios; in gpio_regulator_probe()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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>;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
Dbrcm,iproc-gpio.txt27 - ngpios:
77 ngpios = <24>;
99 ngpios = <146>;
/kernel/linux/linux-5.10/include/linux/platform_data/
Dgpio-ath79.h12 unsigned ngpios; member

123456