Home
last modified time | relevance | path

Searched refs:gpio_direction_output (Results 1 – 25 of 100) sorted by relevance

1234

/arch/arm/mach-s3c24xx/
Dmach-rx1950.c237 gpio_direction_output(S3C2410_GPJ(2), 1); in rx1950_enable_charger()
238 gpio_direction_output(S3C2410_GPJ(3), 1); in rx1950_enable_charger()
243 gpio_direction_output(S3C2410_GPJ(2), 0); in rx1950_disable_charger()
244 gpio_direction_output(S3C2410_GPJ(3), 0); in rx1950_disable_charger()
391 gpio_direction_output(S3C2410_GPC(i), 1); in rx1950_lcd_power()
400 gpio_direction_output(S3C2410_GPD(i), 1); in rx1950_lcd_power()
402 gpio_direction_output(S3C2410_GPD(i), 1); in rx1950_lcd_power()
408 gpio_direction_output(S3C2410_GPB(0), 0); in rx1950_lcd_power()
412 gpio_direction_output(S3C2410_GPC(i), 0); in rx1950_lcd_power()
416 gpio_direction_output(S3C2410_GPC(i), 0); in rx1950_lcd_power()
[all …]
Dmach-h1940.c304 gpio_direction_output(H1940_LATCH_SM803_ENABLE, 0); in h1940_bat_init()
487 gpio_direction_output(S3C2410_GPB(0), 0); in h1940_backlight_init()
498 gpio_direction_output(S3C2410_GPB(0), 1); in h1940_backlight_notify()
501 gpio_direction_output(S3C2410_GPB(0), 0); in h1940_backlight_notify()
511 gpio_direction_output(S3C2410_GPB(0), 1); in h1940_backlight_exit()
550 gpio_direction_output(S3C2410_GPC(1), 0); in h1940_lcd_power_set()
551 gpio_direction_output(S3C2410_GPC(4), 0); in h1940_lcd_power_set()
722 gpio_direction_output(S3C2410_GPC(0), 0); in h1940_init()
723 gpio_direction_output(S3C2410_GPC(1), 0); in h1940_init()
724 gpio_direction_output(S3C2410_GPC(4), 0); in h1940_init()
[all …]
Dmach-smdk2416.c239 gpio_direction_output(S3C2410_GPB(4), 1); in smdk2416_machine_init()
242 gpio_direction_output(S3C2410_GPB(3), 1); in smdk2416_machine_init()
245 gpio_direction_output(S3C2410_GPB(1), 1); in smdk2416_machine_init()
/arch/arm/mach-pxa/
Dam300epd.c134 gpio_direction_output(PWR_GPIO_PIN, 0); in am300_init_gpio_regs()
135 gpio_direction_output(CFG_GPIO_PIN, 1); in am300_init_gpio_regs()
136 gpio_direction_output(DC_GPIO_PIN, 0); in am300_init_gpio_regs()
137 gpio_direction_output(RD_GPIO_PIN, 1); in am300_init_gpio_regs()
138 gpio_direction_output(WR_GPIO_PIN, 1); in am300_init_gpio_regs()
139 gpio_direction_output(CS_GPIO_PIN, 1); in am300_init_gpio_regs()
140 gpio_direction_output(RST_GPIO_PIN, 0); in am300_init_gpio_regs()
148 gpio_direction_output(i, 0); in am300_init_gpio_regs()
Dreset.c32 rc = gpio_direction_output(gpio, level); in init_gpio_reset()
58 gpio_direction_output(reset_gpio, 0); in do_gpio_reset()
Dam200epd.c119 gpio_direction_output(LED_GPIO_PIN, 0); in am200_init_gpio_regs()
120 gpio_direction_output(STDBY_GPIO_PIN, 0); in am200_init_gpio_regs()
121 gpio_direction_output(RST_GPIO_PIN, 0); in am200_init_gpio_regs()
126 gpio_direction_output(PCBPWR_GPIO_PIN, 0); in am200_init_gpio_regs()
Dtosa-bt.c63 rc = gpio_direction_output(data->gpio_reset, 0); in tosa_bt_probe()
69 rc = gpio_direction_output(data->gpio_pwr, 0); in tosa_bt_probe()
/arch/arm/mach-imx/
Dmx31moboard-smartbot.c80 gpio_direction_output(POWER_EN, 0); in smartbot_resets_init()
85 gpio_direction_output(DSPIC_RST_B, 0); in smartbot_resets_init()
90 gpio_direction_output(TRSLAT_RST_B, 0); in smartbot_resets_init()
95 gpio_direction_output(TRSLAT_SRC_CHOICE, 0); in smartbot_resets_init()
Dmach-pcm043.c225 gpio_direction_output(AC97_GPIO_TXFS, 1); in pcm043_ac97_warm_reset()
258 gpio_direction_output(AC97_GPIO_TXFS, 0); in pcm043_ac97_cold_reset()
259 gpio_direction_output(AC97_GPIO_TXD, 0); in pcm043_ac97_cold_reset()
262 gpio_direction_output(AC97_GPIO_RESET, 0); in pcm043_ac97_cold_reset()
264 gpio_direction_output(AC97_GPIO_RESET, 1); in pcm043_ac97_cold_reset()
Dmx31moboard-marxbot.c106 gpio_direction_output(TRSLAT_RST_B, 0); in dspics_resets_init()
111 gpio_direction_output(DSPICS_RST_B, 0); in dspics_resets_init()
184 gpio_direction_output(USBH1_MODE, 0); in marxbot_isp1105_init()
191 gpio_direction_output(USBH1_VBUSEN_B, 1); in marxbot_isp1105_init()
/arch/arm/mach-sa1100/
Dh3600.c56 gpio_direction_output(H3XXX_EGPIO_LCD_ON, enable); in h3600_lcd_power()
57 gpio_direction_output(H3600_EGPIO_LCD_PCI, enable); in h3600_lcd_power()
58 gpio_direction_output(H3600_EGPIO_LCD_5V_ON, enable); in h3600_lcd_power()
59 gpio_direction_output(H3600_EGPIO_LVDD_ON, enable); in h3600_lcd_power()
/arch/arm/mach-s3c64xx/
Dmach-smartq.c202 gpio_direction_output(S3C64XX_GPM(3), 0); in smartq_lcd_setup_gpio()
235 gpio_direction_output(S3C64XX_GPM(3), power); in smartq_lcd_power_set()
289 gpio_direction_output(S3C64XX_GPK(15), 1); in smartq_power_off()
303 gpio_direction_output(S3C64XX_GPK(15), 0); in smartq_power_off_init()
336 gpio_direction_output(S3C64XX_GPL(0), 0); in smartq_usb_host_init()
337 gpio_direction_output(S3C64XX_GPL(1), 0); in smartq_usb_host_init()
370 gpio_direction_output(S3C64XX_GPK(1), 1); in smartq_wifi_init()
373 gpio_direction_output(S3C64XX_GPK(2), 0); in smartq_wifi_init()
Dmach-hmt.c85 ret = gpio_direction_output(S3C64XX_GPB(4), 0); in hmt_bl_init()
265 gpio_direction_output(S3C64XX_GPC(7), 0); in hmt_machine_init()
267 gpio_direction_output(S3C64XX_GPM(0), 1); in hmt_machine_init()
269 gpio_direction_output(S3C64XX_GPK(7), 1); in hmt_machine_init()
271 gpio_direction_output(S3C64XX_GPF(13), 1); in hmt_machine_init()
Dmach-anw6410.c110 gpio_direction_output(S3C64XX_GPF(1), 1); in anw6410_lcd_power_set()
111 gpio_direction_output(S3C64XX_GPF(4), 1); in anw6410_lcd_power_set()
116 gpio_direction_output(S3C64XX_GPF(1), 0); in anw6410_lcd_power_set()
117 gpio_direction_output(S3C64XX_GPF(4), 0); in anw6410_lcd_power_set()
Dpm.c342 gpio_direction_output(S3C64XX_GPN(12), 0); in s3c64xx_pm_initcall()
343 gpio_direction_output(S3C64XX_GPN(13), 0); in s3c64xx_pm_initcall()
344 gpio_direction_output(S3C64XX_GPN(14), 0); in s3c64xx_pm_initcall()
345 gpio_direction_output(S3C64XX_GPN(15), 0); in s3c64xx_pm_initcall()
/arch/arm/mach-orion5x/
Dnet2big-setup.c152 err = gpio_direction_output(NET2BIG_GPIO_SATA_POWER_REQ, 0); in net2big_sata_power_init()
257 err = gpio_direction_output(NET2BIG_GPIO_PWR_LED_BLINK_STOP, 1); in net2big_gpio_leds_init()
271 err = gpio_direction_output(NET2BIG_GPIO_SATA0_BLUE_LED, 1); in net2big_gpio_leds_init()
281 err = gpio_direction_output(NET2BIG_GPIO_SATA1_BLUE_LED, 1); in net2big_gpio_leds_init()
415 gpio_direction_output(NET2BIG_GPIO_POWER_OFF, 0) == 0) in net2big_init()
Ddns323-setup.c626 gpio_direction_output(DNS323_GPIO_LED_POWER1, 0); in dns323_init()
668 gpio_direction_output(DNS323_GPIO_POWER_OFF, 0) != 0) in dns323_init()
681 gpio_direction_output(DNS323_GPIO_SYSTEM_UP, 1); in dns323_init()
685 gpio_direction_output(DNS323_GPIO_POWER_OFF, 0) != 0) in dns323_init()
695 gpio_direction_output(DNS323C_GPIO_POWER_OFF, 0) != 0) in dns323_init()
/arch/arm/mach-mmp/
Dgplugd.c149 gpio_direction_output(104, 1); in gplugd_eth_init()
169 gpio_direction_output(35, 1); in select_disp_freq()
177 gpio_direction_output(85, 0); in select_disp_freq()
/arch/arm/mach-davinci/
Dboard-dm644x-evm.c418 gpio_direction_output(gpio + 3, 0); in evm_u18_setup()
421 gpio_direction_output(gpio + 2, 0); in evm_u18_setup()
424 gpio_direction_output(gpio + 1, 0); in evm_u18_setup()
458 gpio_direction_output(gpio + 0, 1); in evm_u35_setup()
462 gpio_direction_output(gpio + 1, 1); in evm_u35_setup()
466 gpio_direction_output(gpio + 2, 1); in evm_u35_setup()
470 gpio_direction_output(gpio + 3, 0); in evm_u35_setup()
476 gpio_direction_output(gpio + 5, 1); in evm_u35_setup()
480 gpio_direction_output(gpio + 6, 0); in evm_u35_setup()
484 gpio_direction_output(gpio + 7, 1); in evm_u35_setup()
/arch/arm/mach-ixp4xx/
Dgoramo_mlr.c120 gpio_direction_output(GPIO_SCL, 1); in output_control()
121 gpio_direction_output(GPIO_SDA, 1); in output_control()
416 gpio_direction_output(GPIO_SCL, 1); in gmlr_init()
417 gpio_direction_output(GPIO_SDA, 1); in gmlr_init()
418 gpio_direction_output(GPIO_STR, 0); in gmlr_init()
419 gpio_direction_output(GPIO_HSS0_RTS_N, 1); in gmlr_init()
420 gpio_direction_output(GPIO_HSS1_RTS_N, 1); in gmlr_init()
/arch/sh/boards/mach-ap325rxa/
Dsetup.c412 gpio_direction_output(GPIO_PTX5, 1); in ap325rxa_devices_setup()
416 gpio_direction_output(GPIO_PTX4, 0); in ap325rxa_devices_setup()
452 gpio_direction_output(GPIO_PTS3, 1); in ap325rxa_devices_setup()
470 gpio_direction_output(GPIO_PTZ7, 0); /* OE_CAM */ in ap325rxa_devices_setup()
472 gpio_direction_output(GPIO_PTZ6, 0); /* STBY_CAM */ in ap325rxa_devices_setup()
474 gpio_direction_output(GPIO_PTZ5, 0); /* RST_CAM */ in ap325rxa_devices_setup()
476 gpio_direction_output(GPIO_PTZ4, 0); /* SADDR */ in ap325rxa_devices_setup()
/arch/sh/boards/mach-ecovec24/
Dsetup.c1117 gpio_direction_output(GPIO_PTG0, 0); in arch_setup()
1118 gpio_direction_output(GPIO_PTG1, 0); in arch_setup()
1119 gpio_direction_output(GPIO_PTG2, 0); in arch_setup()
1120 gpio_direction_output(GPIO_PTG3, 0); in arch_setup()
1125 gpio_direction_output(GPIO_PTA1, 1); in arch_setup()
1147 gpio_direction_output(GPIO_PTB4, 0); in arch_setup()
1148 gpio_direction_output(GPIO_PTB5, 0); in arch_setup()
1197 gpio_direction_output(GPIO_PTU1, 0); in arch_setup()
1198 gpio_direction_output(GPIO_PTA2, 0); in arch_setup()
1229 gpio_direction_output(GPIO_PTF4, 1); in arch_setup()
[all …]
/arch/sh/boards/
Dboard-sh7757lcr.c541 gpio_direction_output(GPIO_PTU3, 1); in sh7757lcr_devices_setup()
543 gpio_direction_output(GPIO_PTU2, 1); in sh7757lcr_devices_setup()
545 gpio_direction_output(GPIO_PTU1, 1); in sh7757lcr_devices_setup()
547 gpio_direction_output(GPIO_PTU0, 1); in sh7757lcr_devices_setup()
551 gpio_direction_output(GPIO_PTT4, 1); in sh7757lcr_devices_setup()
555 gpio_direction_output(GPIO_PTT7, 0); in sh7757lcr_devices_setup()
557 gpio_direction_output(GPIO_PTT6, 0); in sh7757lcr_devices_setup()
559 gpio_direction_output(GPIO_PTT5, 1); in sh7757lcr_devices_setup()
/arch/arm/mach-omap1/
Dboard-osk.c201 gpio_direction_output(OSK_TPS_GPIO_USB_PWR_EN, 1); in osk_tps_setup()
208 gpio_direction_output(OSK_TPS_GPIO_LAN_RESET, 0); in osk_tps_setup()
212 gpio_direction_output(OSK_TPS_GPIO_DSP_PWR_EN, 1); in osk_tps_setup()
484 gpio_direction_output(11, 0); in osk_mistral_init()
537 gpio_direction_output(2, 1); in osk_mistral_init()
/arch/mips/txx9/rbtx4938/
Dsetup.c290 gpio_direction_output(16 + SRTC_CS, 0); in rbtx4938_spi_init()
292 gpio_direction_output(SEEPROM1_CS, 1); in rbtx4938_spi_init()
294 gpio_direction_output(16 + SEEPROM2_CS, 1); in rbtx4938_spi_init()
296 gpio_direction_output(16 + SEEPROM3_CS, 1); in rbtx4938_spi_init()

1234