Home
last modified time | relevance | path

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

1234567

/arch/sh/boards/
Dboard-sh7757lcr.c344 gpio_request(GPIO_FN_ET0_MDC, NULL); in sh7757lcr_devices_setup()
345 gpio_request(GPIO_FN_ET0_MDIO, NULL); in sh7757lcr_devices_setup()
346 gpio_request(GPIO_FN_ET1_MDC, NULL); in sh7757lcr_devices_setup()
347 gpio_request(GPIO_FN_ET1_MDIO, NULL); in sh7757lcr_devices_setup()
350 gpio_request(GPIO_FN_ON_NRE, NULL); in sh7757lcr_devices_setup()
351 gpio_request(GPIO_FN_ON_NWE, NULL); in sh7757lcr_devices_setup()
352 gpio_request(GPIO_FN_ON_NWP, NULL); in sh7757lcr_devices_setup()
353 gpio_request(GPIO_FN_ON_NCE0, NULL); in sh7757lcr_devices_setup()
354 gpio_request(GPIO_FN_ON_R_B0, NULL); in sh7757lcr_devices_setup()
355 gpio_request(GPIO_FN_ON_ALE, NULL); in sh7757lcr_devices_setup()
[all …]
Dboard-magicpanelr2.c182 gpio_request(GPIO_FN_A25, NULL); in setup_port_multiplexing()
183 gpio_request(GPIO_FN_A24, NULL); in setup_port_multiplexing()
184 gpio_request(GPIO_FN_A23, NULL); in setup_port_multiplexing()
185 gpio_request(GPIO_FN_A22, NULL); in setup_port_multiplexing()
186 gpio_request(GPIO_FN_A21, NULL); in setup_port_multiplexing()
187 gpio_request(GPIO_FN_A20, NULL); in setup_port_multiplexing()
188 gpio_request(GPIO_FN_A19, NULL); in setup_port_multiplexing()
189 gpio_request(GPIO_FN_A0, NULL); in setup_port_multiplexing()
/arch/sh/boards/mach-se/7724/
Dsetup.c719 gpio_request(GPIO_FN_STATUS2, NULL); in devices_setup()
722 gpio_request(GPIO_FN_STATUS0, NULL); in devices_setup()
725 gpio_request(GPIO_FN_PDSTATUS, NULL); in devices_setup()
734 gpio_request(GPIO_FN_INTC_IRQ0, NULL); in devices_setup()
735 gpio_request(GPIO_FN_INTC_IRQ1, NULL); in devices_setup()
736 gpio_request(GPIO_FN_INTC_IRQ2, NULL); in devices_setup()
739 gpio_request(GPIO_FN_SCIF3_I_SCK, NULL); in devices_setup()
740 gpio_request(GPIO_FN_SCIF3_I_RXD, NULL); in devices_setup()
741 gpio_request(GPIO_FN_SCIF3_I_TXD, NULL); in devices_setup()
742 gpio_request(GPIO_FN_SCIF3_I_CTS, NULL); in devices_setup()
[all …]
/arch/sh/boards/mach-migor/
Dsetup.c516 gpio_request(GPIO_FN_STATUS0, NULL); in migor_devices_setup()
519 gpio_request(GPIO_FN_PDSTATUS, NULL); in migor_devices_setup()
522 gpio_request(GPIO_FN_IRQ0, NULL); in migor_devices_setup()
527 gpio_request(GPIO_FN_KEYOUT0, NULL); in migor_devices_setup()
528 gpio_request(GPIO_FN_KEYOUT1, NULL); in migor_devices_setup()
529 gpio_request(GPIO_FN_KEYOUT2, NULL); in migor_devices_setup()
530 gpio_request(GPIO_FN_KEYOUT3, NULL); in migor_devices_setup()
531 gpio_request(GPIO_FN_KEYOUT4_IN6, NULL); in migor_devices_setup()
532 gpio_request(GPIO_FN_KEYIN1, NULL); in migor_devices_setup()
533 gpio_request(GPIO_FN_KEYIN2, NULL); in migor_devices_setup()
[all …]
/arch/sh/boards/mach-ecovec24/
Dsetup.c509 gpio_request(GPIO_PTZ0, NULL); in ts_get_pendown_state()
515 gpio_request(GPIO_FN_INTC_IRQ0, NULL); in ts_get_pendown_state()
522 gpio_request(GPIO_FN_INTC_IRQ0, NULL); in ts_init()
1092 gpio_request(GPIO_FN_STATUS0, NULL); in arch_setup()
1093 gpio_request(GPIO_FN_STATUS2, NULL); in arch_setup()
1094 gpio_request(GPIO_FN_PDSTATUS, NULL); in arch_setup()
1097 gpio_request(GPIO_FN_SCIF0_TXD, NULL); in arch_setup()
1098 gpio_request(GPIO_FN_SCIF0_RXD, NULL); in arch_setup()
1101 gpio_request(GPIO_PTG0, NULL); in arch_setup()
1102 gpio_request(GPIO_PTG1, NULL); in arch_setup()
[all …]
/arch/sh/boards/mach-ap325rxa/
Dsetup.c564 gpio_request(GPIO_PTX5, NULL); /* RUN */ in ap325rxa_devices_setup()
568 gpio_request(GPIO_PTX4, NULL); /* INDICATOR */ in ap325rxa_devices_setup()
573 gpio_request(GPIO_PTF7, NULL); /* MODE */ in ap325rxa_devices_setup()
578 gpio_request(GPIO_FN_LCDD15, NULL); in ap325rxa_devices_setup()
579 gpio_request(GPIO_FN_LCDD14, NULL); in ap325rxa_devices_setup()
580 gpio_request(GPIO_FN_LCDD13, NULL); in ap325rxa_devices_setup()
581 gpio_request(GPIO_FN_LCDD12, NULL); in ap325rxa_devices_setup()
582 gpio_request(GPIO_FN_LCDD11, NULL); in ap325rxa_devices_setup()
583 gpio_request(GPIO_FN_LCDD10, NULL); in ap325rxa_devices_setup()
584 gpio_request(GPIO_FN_LCDD9, NULL); in ap325rxa_devices_setup()
[all …]
/arch/sh/boards/mach-kfr2r09/
Dsetup.c299 ret = gpio_request(GPIO_PTB4, NULL); in camera_power()
302 ret = gpio_request(GPIO_PTB7, NULL); in camera_power()
510 gpio_request(GPIO_PTN4, NULL); /* USB_DET */ in kfr2r09_usb0_gadget_setup()
520 gpio_request(GPIO_FN_PDSTATUS, NULL); /* R-standby disables USB clock */ in kfr2r09_usb0_gadget_setup()
521 gpio_request(GPIO_PTV6, NULL); /* USBCLK_ON */ in kfr2r09_usb0_gadget_setup()
549 gpio_request(GPIO_FN_SCIF1_RXD, NULL); in kfr2r09_devices_setup()
550 gpio_request(GPIO_FN_SCIF1_TXD, NULL); in kfr2r09_devices_setup()
552 gpio_request(GPIO_PTG3, NULL); /* HPON_ON */ in kfr2r09_devices_setup()
564 gpio_request(GPIO_FN_KEYOUT0, NULL); in kfr2r09_devices_setup()
565 gpio_request(GPIO_FN_KEYOUT1, NULL); in kfr2r09_devices_setup()
[all …]
/arch/sh/boards/mach-highlander/
Dpinmux-r7785rp.c15 gpio_request(GPIO_FN_SCIF0_CTS, NULL); in highlander_plat_pinmux_setup()
16 gpio_request(GPIO_FN_SCIF0_RTS, NULL); in highlander_plat_pinmux_setup()
17 gpio_request(GPIO_FN_SCIF0_SCK, NULL); in highlander_plat_pinmux_setup()
18 gpio_request(GPIO_FN_SCIF0_RXD, NULL); in highlander_plat_pinmux_setup()
19 gpio_request(GPIO_FN_SCIF0_TXD, NULL); in highlander_plat_pinmux_setup()
/arch/arm/mach-imx/
Dmx31moboard-marxbot.c81 ret = gpio_request(SDHC2_CD, "sdhc-detect"); in marxbot_sdhc2_init()
87 ret = gpio_request(SDHC2_WP, "sdhc-wp"); in marxbot_sdhc2_init()
126 if (!gpio_request(TRSLAT_RST_B, "translator-rst")) { in dspics_resets_init()
131 if (!gpio_request(DSPICS_RST_B, "dspics-rst")) { in dspics_resets_init()
196 int ret = gpio_request(CAM_CHOICE, "cam-choice"); in marxbot_cam_init()
201 ret = gpio_request(BASECAM_RST_B, "basecam-reset"); in marxbot_cam_init()
205 ret = gpio_request(BASECAM_POWER, "basecam-standby"); in marxbot_cam_init()
210 ret = gpio_request(TURRETCAM_RST_B, "turretcam-reset"); in marxbot_cam_init()
214 ret = gpio_request(TURRETCAM_POWER, "turretcam-standby"); in marxbot_cam_init()
229 if (!gpio_request(SEL0, "sel0")) { in marxbot_init_sel_gpios()
[all …]
Dmx31moboard-devboard.c69 ret = gpio_request(SDHC2_CD, "sdhc-detect"); in devboard_sdhc2_init()
75 ret = gpio_request(SDHC2_WP, "sdhc-wp"); in devboard_sdhc2_init()
116 if (!gpio_request(SEL0, "sel0")) { in devboard_init_sel_gpios()
121 if (!gpio_request(SEL1, "sel1")) { in devboard_init_sel_gpios()
126 if (!gpio_request(SEL2, "sel2")) { in devboard_init_sel_gpios()
131 if (!gpio_request(SEL3, "sel3")) { in devboard_init_sel_gpios()
163 int ret = gpio_request(USBH1_MODE, "usbh1-mode"); in devboard_isp1105_init()
169 ret = gpio_request(USBH1_VBUSEN_B, "usbh1-vbusen"); in devboard_isp1105_init()
Dmx31moboard-smartbot.c106 int ret = gpio_request(CAM_RST_B, "cam-reset"); in smartbot_cam_init()
110 ret = gpio_request(CAM_POWER, "cam-standby"); in smartbot_cam_init()
159 if (!gpio_request(POWER_EN, "power-enable")) { in smartbot_resets_init()
164 if (!gpio_request(DSPIC_RST_B, "dspic-rst")) { in smartbot_resets_init()
169 if (!gpio_request(TRSLAT_RST_B, "translator-rst")) { in smartbot_resets_init()
174 if (!gpio_request(TRSLAT_SRC_CHOICE, "translator-src-choice")) { in smartbot_resets_init()
/arch/arm/mach-s3c24xx/
Dmach-h1940.c228 return gpio_request(S3C2410_GPF(2), "cable plugged"); in power_supply_init()
305 ret = gpio_request(H1940_LATCH_SM803_ENABLE, "h1940-charger-enable"); in h1940_bat_init()
480 gpio_request(S3C2410_GPB(0), "Backlight"); in h1940_backlight_init()
705 gpio_request(S3C2410_GPC(0), "LCD power"); in h1940_init()
706 gpio_request(S3C2410_GPC(1), "LCD power"); in h1940_init()
707 gpio_request(S3C2410_GPC(4), "LCD power"); in h1940_init()
708 gpio_request(S3C2410_GPC(5), "LCD power"); in h1940_init()
709 gpio_request(S3C2410_GPC(6), "LCD power"); in h1940_init()
710 gpio_request(H1940_LATCH_LCD_P0, "LCD power"); in h1940_init()
711 gpio_request(H1940_LATCH_LCD_P1, "LCD power"); in h1940_init()
[all …]
Dmach-rx1950.c128 return gpio_request(S3C2410_GPF(2), "cable plugged"); in power_supply_init()
218 ret = gpio_request(S3C2410_GPJ(2), "rx1950-charger-enable-1"); in rx1950_bat_init()
221 ret = gpio_request(S3C2410_GPJ(3), "rx1950-charger-enable-2"); in rx1950_bat_init()
492 WARN_ON(gpio_request(S3C2410_GPB(0), "Backlight")); in rx1950_backlight_init()
774 WARN_ON(gpio_request(S3C2410_GPJ(1), "MMC power")); in rx1950_init_machine()
778 WARN_ON(gpio_request(S3C2410_GPC(i), "LCD power")); in rx1950_init_machine()
781 WARN_ON(gpio_request(S3C2410_GPC(i), "LCD power")); in rx1950_init_machine()
784 WARN_ON(gpio_request(S3C2410_GPD(i), "LCD power")); in rx1950_init_machine()
787 WARN_ON(gpio_request(S3C2410_GPD(i), "LCD power")); in rx1950_init_machine()
789 WARN_ON(gpio_request(S3C2410_GPB(1), "LCD power")); in rx1950_init_machine()
[all …]
/arch/arm/mach-davinci/
Dboard-dm355-leopard.c116 gpio_request(gpio + 0, "mmc0_ro"); in dm355leopard_mmcsd_gpios()
117 gpio_request(gpio + 1, "mmc0_cd"); in dm355leopard_mmcsd_gpios()
118 gpio_request(gpio + 2, "mmc1_ro"); in dm355leopard_mmcsd_gpios()
119 gpio_request(gpio + 3, "mmc1_cd"); in dm355leopard_mmcsd_gpios()
140 gpio_request(5, "dm355leopard_msp"); in leopard_init_i2c()
240 gpio_request(9, "dm9000"); in dm355_leopard_init()
260 gpio_request(2, "usb_id_toggle"); in dm355_leopard_init()
Dboard-dm355-evm.c124 gpio_request(gpio + 0, "mmc0_ro"); in dm355evm_mmcsd_gpios()
125 gpio_request(gpio + 1, "mmc0_cd"); in dm355evm_mmcsd_gpios()
126 gpio_request(gpio + 2, "mmc1_ro"); in dm355evm_mmcsd_gpios()
127 gpio_request(gpio + 3, "mmc1_cd"); in dm355evm_mmcsd_gpios()
148 gpio_request(5, "dm355evm_msp"); in evm_init_i2c()
382 gpio_request(1, "dm9000"); in dm355_evm_init()
402 gpio_request(2, "usb_id_toggle"); in dm355_evm_init()
Dboard-dm644x-evm.c367 status = gpio_request(sw_gpio, "user_sw"); in evm_u18_setup()
378 gpio_request(gpio + 3, "pll_fs2"); in evm_u18_setup()
381 gpio_request(gpio + 2, "pll_fs1"); in evm_u18_setup()
384 gpio_request(gpio + 1, "pll_sr"); in evm_u18_setup()
418 gpio_request(gpio + 0, "nDRV_VBUS"); in evm_u35_setup()
422 gpio_request(gpio + 1, "VDDIMX_EN"); in evm_u35_setup()
426 gpio_request(gpio + 2, "VLYNQ_EN"); in evm_u35_setup()
430 gpio_request(gpio + 3, "nCF_RESET"); in evm_u35_setup()
436 gpio_request(gpio + 5, "WLAN_RESET"); in evm_u35_setup()
440 gpio_request(gpio + 6, "nATA_SEL"); in evm_u35_setup()
[all …]
/arch/arm/mach-ks8695/
Dboard-acs5k.c67 gpio_request(gpio_base + n, "ACS-5000 GPIO Expander"); in acs5k_pca9555_setup()
196 gpio_request(i, "ACS5K IRQ"); in acs5k_init_gpio()
197 gpio_request(7, "ACS5K KS_FRDY"); in acs5k_init_gpio()
199 gpio_request(i, "ACS5K Unused"); in acs5k_init_gpio()
201 gpio_request(3, "ACS5K CAN Control"); in acs5k_init_gpio()
202 gpio_request(6, "ACS5K Heartbeat"); in acs5k_init_gpio()
/arch/arm/mach-omap1/
Dboard-osk.c200 gpio_request(OSK_TPS_GPIO_USB_PWR_EN, "n_vbus_en"); in osk_tps_setup()
207 gpio_request(OSK_TPS_GPIO_LAN_RESET, "smc_reset"); in osk_tps_setup()
211 gpio_request(OSK_TPS_GPIO_DSP_PWR_EN, "dsp_power"); in osk_tps_setup()
259 if ((gpio_request(0, "smc_irq")) < 0) { in osk_init_smc91x()
273 if ((gpio_request(62, "cf_irq")) < 0) { in osk_init_cf()
484 if (gpio_request(11, "cam_pwdn") == 0) { in osk_mistral_init()
492 gpio_request(6, "ts_busy"); in osk_mistral_init()
496 gpio_request(4, "ts_int"); in osk_mistral_init()
512 if (gpio_request(OMAP_MPUIO(2), "wakeup") == 0) { in osk_mistral_init()
540 if (gpio_request(2, "lcd_pwr") == 0) in osk_mistral_init()
[all …]
/arch/arm/mach-orion5x/
Dnet2big-setup.c128 err = gpio_request(NET2BIG_GPIO_SATA0_POWER, "SATA0 power status"); in net2big_sata_power_init()
139 err = gpio_request(NET2BIG_GPIO_SATA1_POWER, "SATA1 power status"); in net2big_sata_power_init()
150 err = gpio_request(NET2BIG_GPIO_SATA_POWER_REQ, "SATA power request"); in net2big_sata_power_init()
254 err = gpio_request(NET2BIG_GPIO_PWR_LED_BLINK_STOP, in net2big_gpio_leds_init()
268 err = gpio_request(NET2BIG_GPIO_SATA0_BLUE_LED, in net2big_gpio_leds_init()
278 err = gpio_request(NET2BIG_GPIO_SATA1_BLUE_LED, in net2big_gpio_leds_init()
414 if (gpio_request(NET2BIG_GPIO_POWER_OFF, "power-off") == 0 && in net2big_init()
/arch/arm/mach-s3c64xx/
Dmach-smartq.c202 ret = gpio_request(S3C64XX_GPM(3), "LCD power"); in smartq_lcd_setup_gpio()
289 ret = gpio_request(S3C64XX_GPK(15), "Power control"); in smartq_power_off_init()
307 ret = gpio_request(S3C64XX_GPL(0), "USB power control"); in smartq_usb_host_init()
313 ret = gpio_request(S3C64XX_GPL(1), "USB host power control"); in smartq_usb_host_init()
321 ret = gpio_request(S3C64XX_GPL(10), "USB host overcurrent"); in smartq_usb_host_init()
349 ret = gpio_request(S3C64XX_GPK(1), "wifi control"); in smartq_wifi_init()
355 ret = gpio_request(S3C64XX_GPK(2), "wifi reset"); in smartq_wifi_init()
Dmach-hmt.c86 ret = gpio_request(S3C64XX_GPB(4), "lcd backlight enable"); in hmt_bl_init()
266 gpio_request(S3C64XX_GPC(7), "usb power"); in hmt_machine_init()
268 gpio_request(S3C64XX_GPM(0), "usb power"); in hmt_machine_init()
270 gpio_request(S3C64XX_GPK(7), "usb power"); in hmt_machine_init()
272 gpio_request(S3C64XX_GPF(13), "usb power"); in hmt_machine_init()
/arch/sh/boards/mach-rsk/
Ddevices-rsk7203.c130 gpio_request(GPIO_FN_TXD0, NULL); in rsk7203_devices_setup()
131 gpio_request(GPIO_FN_RXD0, NULL); in rsk7203_devices_setup()
135 gpio_request(GPIO_FN_IRQ0_PB, NULL); in rsk7203_devices_setup()
/arch/avr32/boards/atngw100/
Dmrmt.c324 gpio_request( PIN_LCD_DISP, "LCD_DISP" ); in mrmt1_init()
329 gpio_request( PIN_LCD_BL, "LCD_BL" ); in mrmt1_init()
342 gpio_request( PIN_LCD_BL, "LCD_BL" ); in mrmt1_init()
349 gpio_request( PIN_BT_RST, "BT_RST" ); in mrmt1_init()
354 gpio_request( PIN_ZB_RST_N, "ZB_RST_N" ); in mrmt1_init()
377 gpio_request( PIN_PWR_ON, "PIN_PWR_ON" ); in mrmt1_early_init()
/arch/arm/mach-pxa/
Draumfeld.c520 int ret = gpio_request(GPIO_W1_PULLUP_ENABLE, in raumfeld_w1_init()
603 ret = gpio_request(GPIO_TFT_VA_EN, "display VA enable"); in raumfeld_lcd_init()
611 ret = gpio_request(GPIO_DISPLAY_ENABLE, "display enable"); in raumfeld_lcd_init()
821 ret = gpio_request(GPIO_CHRG_PEN2, "CHRG_PEN2"); in raumfeld_power_init()
827 ret = gpio_request(GPIO_CHARGE_DC_OK, "CABLE_DC_OK"); in raumfeld_power_init()
831 ret = gpio_request(GPIO_CHARGE_USB_SUSP, "CHARGE_USB_SUSP"); in raumfeld_power_init()
983 ret = gpio_request(GPIO_CODEC_RESET, "cs4270 reset"); in raumfeld_audio_init()
989 ret = gpio_request(GPIO_SPDIF_RESET, "ak4104 s/pdif reset"); in raumfeld_audio_init()
995 ret = gpio_request(GPIO_MCLK_RESET, "MCLK reset"); in raumfeld_audio_init()
1026 ret = gpio_request(GPIO_W2W_RESET, "Wi2Wi reset"); in raumfeld_common_init()
[all …]
/arch/arm/mach-mmp/
Dgplugd.c146 if (unlikely(gpio_request(104, "ETH_RESET_N"))) { in gplugd_eth_init()
168 if (unlikely(gpio_request(35, "DISP_FREQ_SEL"))) { in select_disp_freq()
176 if (unlikely(gpio_request(85, "DISP_FREQ_SEL_2"))) { in select_disp_freq()

1234567