Home
last modified time | relevance | path

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

123

/arch/arm/mach-s3c/
Dgpio-samsung.c245 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 …]
Dpm-gpio.c198 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()
Dgpio-core.h119 return ((pin - chip->chip.base) < chip->chip.ngpio) ? chip : NULL; in samsung_gpiolib_getchip()
/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.dtsi162 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 …]
Dabilis_tb101.dtsi171 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/
Dgpio.c52 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/
Dgpiolib.c105 .ngpio = ALCHEMY_GPIO1_NUM,
115 .ngpio = ALCHEMY_GPIO2_NUM,
153 .ngpio = AU1300_GPIO_NUM,
/arch/arm/mach-davinci/
Dboard-dm646x-evm.c219 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()
Dboard-dm644x-evm.c343 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
Dboard-da830-evm.c458 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
Dboard-da850-evm.c464 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/
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()
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/
Dorion-gpio.h34 int gpio_base, int ngpio,
/arch/sh/boards/mach-sdk7786/
Dgpio.c39 .ngpio = NR_FPGA_GPIOS,
/arch/mips/ar7/
Dgpio.c127 .ngpio = AR7_GPIO_MAX,
139 .ngpio = TITAN_GPIO_MAX,
325 gpch->chip.label, gpch->chip.ngpio); in ar7_gpio_init()
/arch/mips/kernel/
Dgpio_txx9.c84 txx9_gpio_chip.ngpio = num; in txx9_gpio_init()
/arch/nios2/boot/dts/
D10m50_devboard.dts182 altr,ngpio = <4>;
192 altr,ngpio = <3>;
/arch/mips/rb532/
Dgpio.c158 .ngpio = 32,
/arch/m68k/coldfire/
Dgpio.c164 .ngpio = MCFGPIO_PIN_MAX,
/arch/arm64/boot/dts/ti/
Dk3-am65-wakeup.dtsi92 ti,ngpio = <56>;
/arch/arm/boot/dts/
Dspear310.dtsi102 st-plgpio,ngpio = <102>;
Dspear320.dtsi130 st-plgpio,ngpio = <102>;
/arch/powerpc/platforms/4xx/
Dgpio.c178 gc->ngpio = 32; in ppc4xx_add_gpiochips()
/arch/powerpc/platforms/83xx/
Dmcu_mpc8349emitx.c129 gc->ngpio = MCU_NUM_GPIO; in mcu_gpiochip_add()

123