| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | stm32mp15xxaa-pinctrl.dtsi | 12 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 D | stm32mp15xxac-pinctrl.dtsi | 12 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 D | stm32mp15xxad-pinctrl.dtsi | 12 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 D | stm32mp15xxab-pinctrl.dtsi | 12 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 D | rda8810pl.dtsi | 47 ngpios = <32>; 84 ngpios = <32>; 95 ngpios = <32>; 106 ngpios = <32>;
|
| H A D | emev2.dtsi | 211 ngpios = <32>; 224 ngpios = <32>; 237 ngpios = <32>; 250 ngpios = <32>; 263 ngpios = <31>;
|
| /OK3568_Linux_fs/kernel/drivers/gpio/ |
| H A D | gpio-creg-snps.c | 82 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() 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()
|
| H A D | gpio-ts4800.c | 28 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()
|
| H A D | gpio-em.c | 276 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() 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()
|
| H A D | gpio-exar.c | 123 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()
|
| H A D | gpio-aggregator.c | 447 * @ngpios: Number of GPIOs in the forwarder. 449 * This array must contain @ngpios entries, and must not be deallocated 459 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()
|
| H A D | gpio-aspeed-sgpio.c | 139 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() 492 rc = of_property_read_u32(pdev->dev.of_node, "ngpios", &nr_gpios); in aspeed_sgpio_probe() 494 dev_err(&pdev->dev, "Could not read ngpios property\n"); in aspeed_sgpio_probe()
|
| H A D | gpio-hlwd.c | 211 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()
|
| H A D | gpio-rda.c | 206 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()
|
| /OK3568_Linux_fs/kernel/drivers/i2c/muxes/ |
| H A D | i2c-mux-gpio.c | 21 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()
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | stm32mp157-pinctrl.dtsi | 27 ngpios = <16>; 39 ngpios = <16>; 51 ngpios = <16>; 63 ngpios = <16>; 75 ngpios = <16>; 87 ngpios = <16>; 99 ngpios = <16>; 111 ngpios = <16>; 123 ngpios = <16>; 135 ngpios = <16>; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/regulator/ |
| H A D | gpio-regulator.c | 136 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()
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/gpio/ |
| H A D | renesas,em-gio.yaml | 34 ngpios: 50 - ngpios 67 ngpios = <32>;
|
| H A D | socionext,uniphier-gpio.yaml | 40 ngpios: 63 - ngpios 84 ngpios = <248>;
|
| H A D | gpio-mvebu.txt | 44 - ngpios: number of GPIOs this controller has 73 ngpios = <32>; 85 ngpios = <17>;
|
| H A D | gpio-ts4800.txt | 10 - ngpios: See "gpio.txt" 17 ngpios = <8>;
|
| H A D | snps,creg-gpio.txt | 11 - ngpios: Number of GPIO pins. 20 ngpios = <2>;
|
| H A D | nintendo,hollywood-gpio.txt | 12 - ngpios: see Documentation/devicetree/bindings/gpio/gpio.txt 25 ngpios = <24>;
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/ |
| H A D | pinctrl-sx150x.c | 74 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pinctrl/ |
| H A D | brcm,iproc-gpio.txt | 27 - ngpios: 77 ngpios = <24>; 99 ngpios = <146>;
|