/arch/arm/mach-s3c/ |
D | gpio-samsung.c | 245 if (off < 8 && chip->chip.ngpio > 8) in samsung_gpio_setcfg_4bit() 280 if (off < 8 && chip->chip.ngpio > 8) in samsung_gpio_getcfg_4bit() 706 for (i = 0; i < chip->chip.ngpio; i++, gpn++) { in s3c_gpiolib_track() 730 BUG_ON(!gc->ngpio); in samsung_gpiolib_add() 904 .ngpio = 27, 913 .ngpio = 11, 920 .ngpio = 16, 927 .ngpio = 16, 934 .ngpio = 16, 941 .ngpio = 8, [all …]
|
D | pm-gpio.c | 198 if (chip->chip.ngpio > 8) in samsung_gpio_pm_4bit_save() 269 if (chip->chip.ngpio > 8) { in samsung_gpio_pm_4bit_resume() 278 if (chip->chip.ngpio > 8) in samsung_gpio_pm_4bit_resume() 284 if (chip->chip.ngpio > 8) { in samsung_gpio_pm_4bit_resume() 344 gpio_nr += ourchip->chip.ngpio; in samsung_pm_save_gpios() 377 gpio_nr += ourchip->chip.ngpio; in samsung_pm_restore_gpios()
|
D | gpio-core.h | 119 return ((pin - chip->chip.base) < chip->chip.ngpio) ? chip : NULL; in samsung_gpiolib_getchip()
|
/arch/mips/bcm63xx/ |
D | gpio.c | 46 if (gpio >= chip->ngpio) in bcm63xx_gpio_set() 73 if (gpio >= chip->ngpio) in bcm63xx_gpio_get() 95 if (gpio >= chip->ngpio) in bcm63xx_gpio_set_direction() 147 bcm63xx_gpio_chip.ngpio = bcm63xx_gpio_count(); in bcm63xx_gpio_init() 148 pr_info("registering %d GPIOs\n", bcm63xx_gpio_chip.ngpio); in bcm63xx_gpio_init()
|
/arch/arc/boot/dts/ |
D | abilis_tb100.dtsi | 162 abilis,ngpio = <3>; 175 abilis,ngpio = <2>; 188 abilis,ngpio = <3>; 201 abilis,ngpio = <2>; 214 abilis,ngpio = <3>; 227 abilis,ngpio = <2>; 240 abilis,ngpio = <3>; 253 abilis,ngpio = <2>; 266 abilis,ngpio = <12>; 279 abilis,ngpio = <32>; [all …]
|
D | abilis_tb101.dtsi | 171 abilis,ngpio = <3>; 184 abilis,ngpio = <2>; 197 abilis,ngpio = <3>; 210 abilis,ngpio = <2>; 223 abilis,ngpio = <3>; 236 abilis,ngpio = <2>; 249 abilis,ngpio = <3>; 262 abilis,ngpio = <2>; 275 abilis,ngpio = <12>; 288 abilis,ngpio = <32>; [all …]
|
/arch/sh/boards/mach-x3proto/ |
D | gpio.c | 52 if (gpio < chip->ngpio) in x3proto_gpio_to_irq() 82 .ngpio = NR_BASEBOARD_GPIOS, 119 x3proto_gpio_chip.base + x3proto_gpio_chip.ngpio, in x3proto_gpio_setup()
|
/arch/mips/alchemy/common/ |
D | gpiolib.c | 105 .ngpio = ALCHEMY_GPIO1_NUM, 115 .ngpio = ALCHEMY_GPIO2_NUM, 153 .ngpio = AU1300_GPIO_NUM,
|
/arch/arm/mach-davinci/ |
D | board-dm646x-evm.c | 219 unsigned int ngpio, void *c) in evm_led_setup() argument 224 while (ngpio--) { in evm_led_setup() 243 unsigned ngpio, void *c) in evm_led_teardown() argument 255 unsigned ngpio, void *c) in evm_sw_setup() argument 289 unsigned ngpio, void *c) in evm_sw_teardown() argument 304 unsigned int ngpio, void *c) in evm_pcf_setup() argument 308 if (ngpio < 8) in evm_pcf_setup() 319 unsigned int ngpio, void *c) in evm_pcf_teardown() argument 321 BUG_ON(ngpio < 8); in evm_pcf_teardown()
|
D | board-dm644x-evm.c | 343 evm_led_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_led_setup() argument 348 while (ngpio--) { in evm_led_setup() 370 evm_led_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_led_teardown() argument 402 evm_u18_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u18_setup() argument 432 evm_u18_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u18_teardown() argument 456 evm_u35_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u35_setup() argument 492 evm_u35_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u35_teardown() argument
|
D | board-da830-evm.c | 458 int gpio, unsigned ngpio, void *context) in da830_evm_ui_expander_setup() argument 473 unsigned ngpio, void *context) in da830_evm_ui_expander_teardown() argument
|
D | board-da850-evm.c | 464 unsigned ngpio, void *c) in da850_evm_ui_expander_setup() argument 523 unsigned gpio, unsigned ngpio, void *c) in da850_evm_ui_expander_teardown() argument 672 unsigned gpio, unsigned ngpio, in da850_evm_bb_expander_setup() argument 704 unsigned gpio, unsigned ngpio, void *c) in da850_evm_bb_expander_teardown() argument
|
/arch/arm/plat-orion/ |
D | gpio.c | 136 if (pin >= ochip->chip.ngpio) in orion_gpio_is_valid() 242 if (pin >= chip->base && pin < chip->base + chip->ngpio) in orion_gpio_chip_find() 416 for (i = 0; i < ochip->chip.ngpio; i++) { in gpio_irq_handler() 520 int gpio_base, int ngpio, in orion_gpio_init() argument 546 ochip->chip.ngpio = ngpio; in orion_gpio_init() 604 irq_setup_generic_chip(gc, IRQ_MSK(ngpio), IRQ_GC_INIT_MASK_CACHE, in orion_gpio_init() 609 ochip->chip.ngpio, in orion_gpio_init()
|
/arch/arm/plat-orion/include/plat/ |
D | orion-gpio.h | 34 int gpio_base, int ngpio,
|
/arch/sh/boards/mach-sdk7786/ |
D | gpio.c | 39 .ngpio = NR_FPGA_GPIOS,
|
/arch/mips/ar7/ |
D | gpio.c | 127 .ngpio = AR7_GPIO_MAX, 139 .ngpio = TITAN_GPIO_MAX, 325 gpch->chip.label, gpch->chip.ngpio); in ar7_gpio_init()
|
/arch/mips/kernel/ |
D | gpio_txx9.c | 84 txx9_gpio_chip.ngpio = num; in txx9_gpio_init()
|
/arch/nios2/boot/dts/ |
D | 10m50_devboard.dts | 182 altr,ngpio = <4>; 192 altr,ngpio = <3>;
|
/arch/mips/rb532/ |
D | gpio.c | 158 .ngpio = 32,
|
/arch/m68k/coldfire/ |
D | gpio.c | 164 .ngpio = MCFGPIO_PIN_MAX,
|
/arch/arm64/boot/dts/ti/ |
D | k3-am65-wakeup.dtsi | 92 ti,ngpio = <56>;
|
/arch/arm/boot/dts/ |
D | spear310.dtsi | 102 st-plgpio,ngpio = <102>;
|
D | spear320.dtsi | 130 st-plgpio,ngpio = <102>;
|
/arch/powerpc/platforms/4xx/ |
D | gpio.c | 178 gc->ngpio = 32; in ppc4xx_add_gpiochips()
|
/arch/powerpc/platforms/83xx/ |
D | mcu_mpc8349emitx.c | 129 gc->ngpio = MCU_NUM_GPIO; in mcu_gpiochip_add()
|