/arch/arm/plat-samsung/ |
D | gpio-samsung.c | 249 if (off < 8 && chip->chip.ngpio > 8) in samsung_gpio_setcfg_4bit() 284 if (off < 8 && chip->chip.ngpio > 8) in samsung_gpio_getcfg_4bit() 710 for (i = 0; i < chip->chip.ngpio; i++, gpn++) { in s3c_gpiolib_track() 734 BUG_ON(!gc->ngpio); in samsung_gpiolib_add() 908 .ngpio = 27, 917 .ngpio = 11, 924 .ngpio = 16, 931 .ngpio = 16, 938 .ngpio = 16, 945 .ngpio = 8, [all …]
|
D | pm-gpio.c | 204 if (chip->chip.ngpio > 8) in samsung_gpio_pm_4bit_save() 275 if (chip->chip.ngpio > 8) { in samsung_gpio_pm_4bit_resume() 284 if (chip->chip.ngpio > 8) in samsung_gpio_pm_4bit_resume() 290 if (chip->chip.ngpio > 8) { in samsung_gpio_pm_4bit_resume() 350 gpio_nr += ourchip->chip.ngpio; in samsung_pm_save_gpios() 383 gpio_nr += ourchip->chip.ngpio; in samsung_pm_restore_gpios()
|
/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 | 174 abilis,ngpio = <3>; 187 abilis,ngpio = <2>; 200 abilis,ngpio = <3>; 213 abilis,ngpio = <2>; 226 abilis,ngpio = <3>; 239 abilis,ngpio = <2>; 252 abilis,ngpio = <3>; 265 abilis,ngpio = <2>; 278 abilis,ngpio = <12>; 291 abilis,ngpio = <32>; [all …]
|
D | abilis_tb101.dtsi | 183 abilis,ngpio = <3>; 196 abilis,ngpio = <2>; 209 abilis,ngpio = <3>; 222 abilis,ngpio = <2>; 235 abilis,ngpio = <3>; 248 abilis,ngpio = <2>; 261 abilis,ngpio = <3>; 274 abilis,ngpio = <2>; 287 abilis,ngpio = <12>; 300 abilis,ngpio = <32>; [all …]
|
/arch/sh/boards/mach-x3proto/ |
D | gpio.c | 55 if (gpio < chip->ngpio) in x3proto_gpio_to_irq() 85 .ngpio = NR_BASEBOARD_GPIOS, 122 x3proto_gpio_chip.base + x3proto_gpio_chip.ngpio, in x3proto_gpio_setup()
|
/arch/mips/alchemy/common/ |
D | gpiolib.c | 106 .ngpio = ALCHEMY_GPIO1_NUM, 116 .ngpio = ALCHEMY_GPIO2_NUM, 154 .ngpio = AU1300_GPIO_NUM,
|
/arch/arm/mach-davinci/ |
D | board-dm646x-evm.c | 187 unsigned int ngpio, void *c) in evm_led_setup() argument 192 while (ngpio--) { in evm_led_setup() 211 unsigned ngpio, void *c) in evm_led_teardown() argument 223 unsigned ngpio, void *c) in evm_sw_setup() argument 262 unsigned ngpio, void *c) in evm_sw_teardown() argument 277 unsigned int ngpio, void *c) in evm_pcf_setup() argument 281 if (ngpio < 8) in evm_pcf_setup() 292 unsigned int ngpio, void *c) in evm_pcf_teardown() argument 294 BUG_ON(ngpio < 8); in evm_pcf_teardown()
|
D | board-dm644x-evm.c | 300 evm_led_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_led_setup() argument 305 while (ngpio--) { in evm_led_setup() 327 evm_led_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_led_teardown() argument 359 evm_u18_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u18_setup() argument 389 evm_u18_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u18_teardown() argument 413 evm_u35_setup(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u35_setup() argument 449 evm_u35_teardown(struct i2c_client *client, int gpio, unsigned ngpio, void *c) in evm_u35_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() 456 for (i = 0; i < chip->ngpio; i++) { in orion_gpio_dbg_show() 524 int gpio_base, int ngpio, in orion_gpio_init() argument 550 ochip->chip.ngpio = ngpio; in orion_gpio_init() 608 irq_setup_generic_chip(gc, IRQ_MSK(ngpio), IRQ_GC_INIT_MASK_CACHE, in orion_gpio_init() 613 ochip->chip.ngpio, in orion_gpio_init()
|
/arch/blackfin/mach-bf538/ |
D | ext-gpio.c | 90 .ngpio = GPIO_PC9 - GPIO_PC0 + 1, 102 .ngpio = GPIO_PD13 - GPIO_PD0 + 1, 114 .ngpio = GPIO_PE15 - GPIO_PE0 + 1,
|
/arch/arm/plat-orion/include/plat/ |
D | orion-gpio.h | 34 int gpio_base, int ngpio,
|
/arch/sh/boards/mach-sdk7786/ |
D | gpio.c | 42 .ngpio = NR_FPGA_GPIOS,
|
/arch/arm/mach-omap1/include/mach/ |
D | board-ams-delta.h | 63 void ams_delta_latch_write(int base, int ngpio, u16 mask, u16 value);
|
/arch/mips/ar7/ |
D | gpio.c | 139 .ngpio = AR7_GPIO_MAX, 151 .ngpio = TITAN_GPIO_MAX, 337 gpch->chip.label, gpch->chip.ngpio); in ar7_gpio_init()
|
/arch/arm/mach-omap1/ |
D | board-ams-delta.c | 183 .ngpio = LATCH1_NGPIO, 207 .ngpio = AMS_DELTA_LATCH2_NGPIO, 296 void ams_delta_latch_write(int base, int ngpio, u16 mask, u16 value) in ams_delta_latch_write() argument 301 for (; bit < ngpio; bit++, bitpos = bitpos << 1) { in ams_delta_latch_write()
|
/arch/arm/plat-samsung/include/plat/ |
D | gpio-core.h | 122 return ((pin - chip->chip.base) < chip->chip.ngpio) ? chip : NULL; in samsung_gpiolib_getchip()
|
/arch/mips/kernel/ |
D | gpio_txx9.c | 87 txx9_gpio_chip.ngpio = num; in txx9_gpio_init()
|
/arch/unicore32/kernel/ |
D | gpio.c | 97 .ngpio = GPIO_MAX + 1,
|
/arch/powerpc/sysdev/ |
D | simple_gpio.c | 101 gc->ngpio = 8; in u8_simple_gpiochip_add()
|
/arch/mips/rb532/ |
D | gpio.c | 158 .ngpio = 32,
|
/arch/mips/jz4740/ |
D | gpio.c | 406 .ngpio = JZ4740_GPIO_NUM_ ## _bank, \ 431 gc->wake_enabled = IRQ_MSK(chip->gpio_chip.ngpio); in jz4740_gpio_chip_init() 451 irq_setup_generic_chip(gc, IRQ_MSK(chip->gpio_chip.ngpio), in jz4740_gpio_chip_init()
|
/arch/m68k/coldfire/ |
D | gpio.c | 171 .ngpio = MCFGPIO_PIN_MAX,
|
/arch/arm/mach-ks8695/ |
D | board-acs5k.c | 58 unsigned gpio_base, unsigned ngpio, in acs5k_pca9555_setup() argument
|
/arch/arm/mach-w90x900/ |
D | gpio.c | 43 .ngpio = nr_gpio, \
|