Home
last modified time | relevance | path

Searched refs:ngpio (Results 1 – 25 of 60) sorted by relevance

123

/arch/arm/plat-samsung/
Dgpio-samsung.c249 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 …]
Dpm-gpio.c204 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/
Dgpio.c46 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/
Dabilis_tb100.dtsi174 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 …]
Dabilis_tb101.dtsi183 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/
Dgpio.c55 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/
Dgpiolib.c106 .ngpio = ALCHEMY_GPIO1_NUM,
116 .ngpio = ALCHEMY_GPIO2_NUM,
154 .ngpio = AU1300_GPIO_NUM,
/arch/arm/mach-davinci/
Dboard-dm646x-evm.c187 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()
Dboard-dm644x-evm.c300 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/
Dgpio.c136 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/
Dext-gpio.c90 .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/
Dorion-gpio.h34 int gpio_base, int ngpio,
/arch/sh/boards/mach-sdk7786/
Dgpio.c42 .ngpio = NR_FPGA_GPIOS,
/arch/arm/mach-omap1/include/mach/
Dboard-ams-delta.h63 void ams_delta_latch_write(int base, int ngpio, u16 mask, u16 value);
/arch/mips/ar7/
Dgpio.c139 .ngpio = AR7_GPIO_MAX,
151 .ngpio = TITAN_GPIO_MAX,
337 gpch->chip.label, gpch->chip.ngpio); in ar7_gpio_init()
/arch/arm/mach-omap1/
Dboard-ams-delta.c183 .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/
Dgpio-core.h122 return ((pin - chip->chip.base) < chip->chip.ngpio) ? chip : NULL; in samsung_gpiolib_getchip()
/arch/mips/kernel/
Dgpio_txx9.c87 txx9_gpio_chip.ngpio = num; in txx9_gpio_init()
/arch/unicore32/kernel/
Dgpio.c97 .ngpio = GPIO_MAX + 1,
/arch/powerpc/sysdev/
Dsimple_gpio.c101 gc->ngpio = 8; in u8_simple_gpiochip_add()
/arch/mips/rb532/
Dgpio.c158 .ngpio = 32,
/arch/mips/jz4740/
Dgpio.c406 .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/
Dgpio.c171 .ngpio = MCFGPIO_PIN_MAX,
/arch/arm/mach-ks8695/
Dboard-acs5k.c58 unsigned gpio_base, unsigned ngpio, in acs5k_pca9555_setup() argument
/arch/arm/mach-w90x900/
Dgpio.c43 .ngpio = nr_gpio, \

123