Home
last modified time | relevance | path

Searched refs:gpio_request (Results 1 – 25 of 40) sorted by relevance

12

/linux/arch/sh/boards/ !
H A Dboard-sh7757lcr.c336 gpio_request(GPIO_FN_ET0_MDC, NULL); in sh7757lcr_devices_setup()
337 gpio_request(GPIO_FN_ET0_MDIO, NULL); in sh7757lcr_devices_setup()
338 gpio_request(GPIO_FN_ET1_MDC, NULL); in sh7757lcr_devices_setup()
339 gpio_request(GPIO_FN_ET1_MDIO, NULL); in sh7757lcr_devices_setup()
342 gpio_request(GPIO_FN_ON_NRE, NULL); in sh7757lcr_devices_setup()
343 gpio_request(GPIO_FN_ON_NWE, NULL); in sh7757lcr_devices_setup()
344 gpio_request(GPIO_FN_ON_NWP, NULL); in sh7757lcr_devices_setup()
345 gpio_request(GPIO_FN_ON_NCE0, NULL); in sh7757lcr_devices_setup()
346 gpio_request(GPIO_FN_ON_R_B0, NULL); in sh7757lcr_devices_setup()
347 gpio_request(GPIO_FN_ON_AL in sh7757lcr_devices_setup()
[all...]
H A Dboard-magicpanelr2.c180 gpio_request(GPIO_FN_A25, NULL); in setup_port_multiplexing()
181 gpio_request(GPIO_FN_A24, NULL); in setup_port_multiplexing()
182 gpio_request(GPIO_FN_A23, NULL); in setup_port_multiplexing()
183 gpio_request(GPIO_FN_A22, NULL); in setup_port_multiplexing()
184 gpio_request(GPIO_FN_A21, NULL); in setup_port_multiplexing()
185 gpio_request(GPIO_FN_A20, NULL); in setup_port_multiplexing()
186 gpio_request(GPIO_FN_A19, NULL); in setup_port_multiplexing()
187 gpio_request(GPIO_FN_A0, NULL); in setup_port_multiplexing()
H A Dboard-urquell.c151 gpio_request(GPIO_FN_USB_OVC0, NULL); in urquell_devices_setup()
152 gpio_request(GPIO_FN_USB_PENC0, NULL); in urquell_devices_setup()
/linux/arch/sh/boards/mach-se/7724/ !
H A Dsetup.c721 gpio_request(GPIO_FN_STATUS2, NULL); in devices_setup()
724 gpio_request(GPIO_FN_STATUS0, NULL); in devices_setup()
727 gpio_request(GPIO_FN_PDSTATUS, NULL); in devices_setup()
736 gpio_request(GPIO_FN_INTC_IRQ0, NULL); in devices_setup()
737 gpio_request(GPIO_FN_INTC_IRQ1, NULL); in devices_setup()
738 gpio_request(GPIO_FN_INTC_IRQ2, NULL); in devices_setup()
741 gpio_request(GPIO_FN_SCIF3_I_SCK, NULL); in devices_setup()
742 gpio_request(GPIO_FN_SCIF3_I_RXD, NULL); in devices_setup()
743 gpio_request(GPIO_FN_SCIF3_I_TXD, NULL); in devices_setup()
744 gpio_request(GPIO_FN_SCIF3_I_CT in devices_setup()
[all...]
/linux/arch/sh/boards/mach-ecovec24/ !
H A Dsetup.c596 gpio_request(GPIO_PTZ0, NULL); in ts_get_pendown_state()
602 gpio_request(GPIO_FN_INTC_IRQ0, NULL); in ts_get_pendown_state()
609 gpio_request(GPIO_FN_INTC_IRQ0, NULL); in ts_init()
1117 gpio_request(GPIO_FN_STATUS0, NULL); in arch_setup()
1118 gpio_request(GPIO_FN_STATUS2, NULL); in arch_setup()
1119 gpio_request(GPIO_FN_PDSTATUS, NULL); in arch_setup()
1122 gpio_request(GPIO_FN_SCIF0_TXD, NULL); in arch_setup()
1123 gpio_request(GPIO_FN_SCIF0_RXD, NULL); in arch_setup()
1126 gpio_request(GPIO_PTG0, NULL); in arch_setup()
1127 gpio_request(GPIO_PTG in arch_setup()
[all...]
/linux/arch/sh/boards/mach-kfr2r09/ !
H A Dsetup.c453 gpio_request(GPIO_PTN4, NULL); /* USB_DET */ in kfr2r09_usb0_gadget_setup()
463 gpio_request(GPIO_FN_PDSTATUS, NULL); /* R-standby disables USB clock */ in kfr2r09_usb0_gadget_setup()
464 gpio_request(GPIO_PTV6, NULL); /* USBCLK_ON */ in kfr2r09_usb0_gadget_setup()
494 gpio_request(GPIO_FN_SCIF1_RXD, NULL); in kfr2r09_devices_setup()
495 gpio_request(GPIO_FN_SCIF1_TXD, NULL); in kfr2r09_devices_setup()
497 gpio_request(GPIO_PTG3, NULL); /* HPON_ON */ in kfr2r09_devices_setup()
509 gpio_request(GPIO_FN_KEYOUT0, NULL); in kfr2r09_devices_setup()
510 gpio_request(GPIO_FN_KEYOUT1, NULL); in kfr2r09_devices_setup()
511 gpio_request(GPIO_FN_KEYOUT2, NULL); in kfr2r09_devices_setup()
512 gpio_request(GPIO_FN_KEYOUT in kfr2r09_devices_setup()
[all...]
/linux/arch/sh/boards/mach-highlander/ !
H A Dpinmux-r7785rp.c13 gpio_request(GPIO_FN_SCIF0_CTS, NULL); in highlander_plat_pinmux_setup()
14 gpio_request(GPIO_FN_SCIF0_RTS, NULL); in highlander_plat_pinmux_setup()
15 gpio_request(GPIO_FN_SCIF0_SCK, NULL); in highlander_plat_pinmux_setup()
16 gpio_request(GPIO_FN_SCIF0_RXD, NULL); in highlander_plat_pinmux_setup()
17 gpio_request(GPIO_FN_SCIF0_TXD, NULL); in highlander_plat_pinmux_setup()
/linux/arch/arm/mach-orion5x/ !
H A Dnet2big-setup.c126 err = gpio_request(NET2BIG_GPIO_SATA0_POWER, "SATA0 power status"); in net2big_sata_power_init()
137 err = gpio_request(NET2BIG_GPIO_SATA1_POWER, "SATA1 power status"); in net2big_sata_power_init()
148 err = gpio_request(NET2BIG_GPIO_SATA_POWER_REQ, "SATA power request"); in net2big_sata_power_init()
263 err = gpio_request(NET2BIG_GPIO_PWR_LED_BLINK_STOP, in net2big_gpio_leds_init()
277 err = gpio_request(NET2BIG_GPIO_SATA0_BLUE_LED, in net2big_gpio_leds_init()
287 err = gpio_request(NET2BIG_GPIO_SATA1_BLUE_LED, in net2big_gpio_leds_init()
424 if (gpio_request(NET2BIG_GPIO_POWER_OFF, "power-off") == 0 && in net2big_init()
H A Ddns323-setup.c653 gpio_request(DNS323_GPIO_LED_POWER1, "Power Led Enable"); in dns323_init()
700 if (gpio_request(DNS323_GPIO_POWER_OFF, "POWEROFF") != 0 || in dns323_init()
713 if (gpio_request(DNS323_GPIO_SYSTEM_UP, "SYS_READY") == 0) in dns323_init()
717 if (gpio_request(DNS323_GPIO_POWER_OFF, "POWEROFF") != 0 || in dns323_init()
727 if (gpio_request(DNS323C_GPIO_POWER_OFF, "POWEROFF") != 0 || in dns323_init()
H A Dboard-rd88f5182.c46 if (gpio_request(pin, "PCI IntA") == 0) { in rd88f5182_pci_preinit()
59 if (gpio_request(pin, "PCI IntB") == 0) { in rd88f5182_pci_preinit()
68 printk(KERN_ERR "rd88f5182_pci_preinit failed to gpio_request %d\n", pin); in rd88f5182_pci_preinit()
H A Dts209-setup.c113 if (gpio_request(pin, "PCI Int1") == 0) { in qnap_ts209_pci_preinit()
122 printk(KERN_ERR "qnap_ts209_pci_preinit failed to gpio_request " in qnap_ts209_pci_preinit()
127 if (gpio_request(pin, "PCI Int2") == 0) { in qnap_ts209_pci_preinit()
136 printk(KERN_ERR "qnap_ts209_pci_preinit failed to gpio_request " in qnap_ts209_pci_preinit()
306 if (gpio_request(TS209_RTC_GPIO, "rtc") == 0) { in qnap_ts209_init()
H A Dmv2120-setup.c227 if (gpio_request(MV2120_GPIO_RTC_IRQ, "rtc") == 0) { in mv2120_init()
238 if (gpio_request(MV2120_GPIO_POWER_OFF, "POWEROFF") != 0 || in mv2120_init()
H A Dterastation_pro2-setup.c84 if (gpio_request(pin, "PCI Int1") == 0) { in tsp2_pci_preinit()
94 "gpio_request %d\n", pin); in tsp2_pci_preinit()
341 if (gpio_request(TSP2_RTC_GPIO, "rtc") == 0) { in tsp2_init()
/linux/arch/arm/mach-pxa/ !
H A Dspitz_pm.c40 gpio_request(SPITZ_GPIO_KEY_INT, "Keyboard Interrupt"); in spitz_charger_init()
42 gpio_request(SPITZ_GPIO_SYNC, "Sync"); in spitz_charger_init()
44 gpio_request(SPITZ_GPIO_AC_IN, "Charger Detection"); in spitz_charger_init()
46 gpio_request(SPITZ_GPIO_ADC_TEMP_ON, "ADC Temp On"); in spitz_charger_init()
48 gpio_request(SPITZ_GPIO_JK_B, "JK B"); in spitz_charger_init()
50 gpio_request(SPITZ_GPIO_CHRG_ON, "Charger On"); in spitz_charger_init()
H A Dam300epd.c114 err = gpio_request(gpios[i], gpio_names[i]); in am300_init_gpio_regs()
125 err = gpio_request(i, dbname); in am300_init_gpio_regs()
H A Dreset.c23 rc = gpio_request(gpio, "reset generator"); in init_gpio_reset()
H A Dgumstix.c159 err = gpio_request(GPIO_GUMSTIX_BTRESET, "BTRST"); in gumstix_bluetooth_init()
/linux/drivers/pcmcia/ !
H A Dsa1100_h3600.c36 err = gpio_request(H3XXX_EGPIO_OPT_NVRAM_ON, "OPT NVRAM ON"); in h3600_pcmcia_hw_init()
42 err = gpio_request(H3XXX_EGPIO_OPT_ON, "OPT ON"); in h3600_pcmcia_hw_init()
48 err = gpio_request(H3XXX_EGPIO_OPT_RESET, "OPT RESET"); in h3600_pcmcia_hw_init()
54 err = gpio_request(H3XXX_EGPIO_CARD_RESET, "PCMCIA CARD RESET"); in h3600_pcmcia_hw_init()
/linux/arch/sh/boards/mach-rsk/ !
H A Ddevices-rsk7203.c127 gpio_request(GPIO_FN_TXD0, NULL); in rsk7203_devices_setup()
128 gpio_request(GPIO_FN_RXD0, NULL); in rsk7203_devices_setup()
132 gpio_request(GPIO_FN_IRQ0_PB, NULL); in rsk7203_devices_setup()
/linux/arch/sh/kernel/cpu/sh4a/ !
H A Dsetup-shx3.c346 ret |= gpio_request(GPIO_FN_IRQ3, intc_desc_irq.name); in plat_irq_setup_pins()
347 ret |= gpio_request(GPIO_FN_IRQ2, intc_desc_irq.name); in plat_irq_setup_pins()
348 ret |= gpio_request(GPIO_FN_IRQ1, intc_desc_irq.name); in plat_irq_setup_pins()
349 ret |= gpio_request(GPIO_FN_IRQ0, intc_desc_irq.name); in plat_irq_setup_pins()
359 ret |= gpio_request(GPIO_FN_IRL3, intc_desc_irl.name); in plat_irq_setup_pins()
360 ret |= gpio_request(GPIO_FN_IRL2, intc_desc_irl.name); in plat_irq_setup_pins()
361 ret |= gpio_request(GPIO_FN_IRL1, intc_desc_irl.name); in plat_irq_setup_pins()
362 ret |= gpio_request(GPIO_FN_IRL0, intc_desc_irl.name); in plat_irq_setup_pins()
/linux/drivers/gpio/ !
H A Dgpiolib-legacy.c68 int gpio_request(unsigned gpio, const char *label) in gpio_request() function
79 EXPORT_SYMBOL_GPL(gpio_request);
/linux/include/linux/ !
H A Dgpio.h32 * setup routines like gpio_request(). Only some valid numbers
53 int gpio_request(unsigned gpio, const char *label);
105 static inline int gpio_request(unsigned gpio, const char *label) in gpio_request() function
/linux/arch/m68k/coldfire/ !
H A Ddevice.c209 status = gpio_request(MCFQSPI_CS0, "MCFQSPI_CS0"); in mcf_cs_setup()
211 pr_debug("gpio_request for MCFQSPI_CS0 failed\n"); in mcf_cs_setup()
220 status = gpio_request(MCFQSPI_CS1, "MCFQSPI_CS1"); in mcf_cs_setup()
222 pr_debug("gpio_request for MCFQSPI_CS1 failed\n"); in mcf_cs_setup()
231 status = gpio_request(MCFQSPI_CS2, "MCFQSPI_CS2"); in mcf_cs_setup()
233 pr_debug("gpio_request for MCFQSPI_CS2 failed\n"); in mcf_cs_setup()
243 status = gpio_request(MCFQSPI_CS3, "MCFQSPI_CS3"); in mcf_cs_setup()
245 pr_debug("gpio_request for MCFQSPI_CS3 failed\n"); in mcf_cs_setup()
/linux/arch/arm/mach-sa1100/ !
H A Dh3xxx.c52 int err = gpio_request(H3XXX_EGPIO_VPP_ON, "Flash Vpp"); in h3xxx_flash_init()
89 if (!gpio_request(H3XXX_EGPIO_RS232_ON, "RS232 transceiver")) { in h3xxx_uart_pm()
/linux/arch/arm/mach-s3c/ !
H A Dmach-crag6410.c844 gpio_request(S3C64XX_GPB(0), "LCD power"); in crag6410_machine_init()
847 gpio_request(S3C64XX_GPF(14), "LCD PWM"); in crag6410_machine_init()
850 gpio_request(S3C64XX_GPB(1), "SD power"); in crag6410_machine_init()
853 gpio_request(S3C64XX_GPF(10), "nRESETSEL"); in crag6410_machine_init()

12