Home
last modified time | relevance | path

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

123456

/linux/arch/arm/mach-s3c/
A Dmach-rx1950.c245 gpio_direction_output(S3C2410_GPJ(2), 1); in rx1950_enable_charger()
246 gpio_direction_output(S3C2410_GPJ(3), 1); in rx1950_enable_charger()
251 gpio_direction_output(S3C2410_GPJ(2), 0); in rx1950_disable_charger()
252 gpio_direction_output(S3C2410_GPJ(3), 0); in rx1950_disable_charger()
420 gpio_direction_output(S3C2410_GPB(0), 0); in rx1950_lcd_power()
438 gpio_direction_output(S3C2410_GPC(6), 0); in rx1950_lcd_power()
439 gpio_direction_output(S3C2410_GPC(7), 0); in rx1950_lcd_power()
440 gpio_direction_output(S3C2410_GPC(5), 0); in rx1950_lcd_power()
443 gpio_direction_output(S3C2410_GPB(1), 0); in rx1950_lcd_power()
449 gpio_direction_output(S3C2410_GPC(0), 0); in rx1950_lcd_power()
[all …]
A Dmach-h1940.c522 gpio_direction_output(S3C2410_GPB(0), 0); in h1940_backlight_init()
533 gpio_direction_output(S3C2410_GPB(0), 1); in h1940_backlight_notify()
536 gpio_direction_output(S3C2410_GPB(0), 0); in h1940_backlight_notify()
546 gpio_direction_output(S3C2410_GPB(0), 1); in h1940_backlight_exit()
762 gpio_direction_output(S3C2410_GPC(0), 0); in h1940_init()
763 gpio_direction_output(S3C2410_GPC(1), 0); in h1940_init()
764 gpio_direction_output(S3C2410_GPC(4), 0); in h1940_init()
765 gpio_direction_output(S3C2410_GPC(5), 0); in h1940_init()
784 gpio_direction_output(S3C2410_GPA(1), 0); in h1940_init()
785 gpio_direction_output(S3C2410_GPA(3), 0); in h1940_init()
[all …]
A Dmach-smartq.c200 gpio_direction_output(S3C64XX_GPM(3), 0); in smartq_lcd_setup_gpio()
233 gpio_direction_output(S3C64XX_GPM(3), power); in smartq_lcd_power_set()
287 gpio_direction_output(S3C64XX_GPK(15), 1); in smartq_power_off()
301 gpio_direction_output(S3C64XX_GPK(15), 0); in smartq_power_off_init()
334 gpio_direction_output(S3C64XX_GPL(0), 0); in smartq_usb_host_init()
335 gpio_direction_output(S3C64XX_GPL(1), 0); in smartq_usb_host_init()
368 gpio_direction_output(S3C64XX_GPK(1), 1); in smartq_wifi_init()
371 gpio_direction_output(S3C64XX_GPK(2), 0); in smartq_wifi_init()
A Dmach-hmt.c83 ret = gpio_direction_output(S3C64XX_GPB(4), 0); in hmt_bl_init()
262 gpio_direction_output(S3C64XX_GPC(7), 0); in hmt_machine_init()
264 gpio_direction_output(S3C64XX_GPM(0), 1); in hmt_machine_init()
266 gpio_direction_output(S3C64XX_GPK(7), 1); in hmt_machine_init()
268 gpio_direction_output(S3C64XX_GPF(13), 1); in hmt_machine_init()
A Dmach-anw6410.c108 gpio_direction_output(S3C64XX_GPF(1), 1); in anw6410_lcd_power_set()
109 gpio_direction_output(S3C64XX_GPF(4), 1); in anw6410_lcd_power_set()
114 gpio_direction_output(S3C64XX_GPF(1), 0); in anw6410_lcd_power_set()
115 gpio_direction_output(S3C64XX_GPF(4), 0); in anw6410_lcd_power_set()
A Dpm-s3c64xx.c392 gpio_direction_output(S3C64XX_GPN(12), 0); in s3c64xx_pm_initcall()
393 gpio_direction_output(S3C64XX_GPN(13), 0); in s3c64xx_pm_initcall()
394 gpio_direction_output(S3C64XX_GPN(14), 0); in s3c64xx_pm_initcall()
395 gpio_direction_output(S3C64XX_GPN(15), 0); in s3c64xx_pm_initcall()
A Dmach-smdk2416.c237 gpio_direction_output(S3C2410_GPB(4), 1); in smdk2416_machine_init()
240 gpio_direction_output(S3C2410_GPB(3), 1); in smdk2416_machine_init()
243 gpio_direction_output(S3C2410_GPB(1), 1); in smdk2416_machine_init()
/linux/arch/arm/mach-pxa/
A 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()
A 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()
A Dtosa.c315 gpio_direction_output(TOSA_GPIO_IRDA_TX, 0); in tosa_irda_transceiver_mode()
329 ret = gpio_direction_output(TOSA_GPIO_IRDA_TX, 0); in tosa_irda_startup()
337 ret = gpio_direction_output(TOSA_GPIO_IR_POWERDWN, 0); in tosa_irda_startup()
633 rc = gpio_direction_output(TOSA_GPIO_TC6393XB_L3V_ON, 0); in tosa_tc6393xb_enable()
636 rc = gpio_direction_output(TOSA_GPIO_TC6393XB_SUSPEND, 0); in tosa_tc6393xb_enable()
639 rc = gpio_direction_output(TOSA_GPIO_TC6393XB_REST_IN, 0); in tosa_tc6393xb_enable()
720 rc = gpio_direction_output(TOSA_GPIO_CARD_VCC_ON, 1); in tosa_tc6393xb_setup()
A Dreset.c32 rc = gpio_direction_output(gpio, level); in init_gpio_reset()
58 gpio_direction_output(reset_gpio, 0); in do_gpio_reset()
A Dviper.c370 ret = gpio_direction_output(VIPER_BCKLIGHT_EN_GPIO, 0); in viper_backlight_init()
374 ret = gpio_direction_output(VIPER_LCD_EN_GPIO, 0); in viper_backlight_init()
848 if (gpio_direction_output(VIPER_PSU_DATA_GPIO, 0) || in viper_init_vcore_gpios()
849 gpio_direction_output(VIPER_PSU_CLK_GPIO, 0) || in viper_init_vcore_gpios()
850 gpio_direction_output(VIPER_PSU_nCS_LD_GPIO, 0)) in viper_init_vcore_gpios()
873 if (gpio_direction_output(VIPER_UART_SHDN_GPIO, 0)) in viper_init_serial_gpio()
/linux/arch/arm/mach-sa1100/
A 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()
/linux/arch/arm/mach-davinci/
A Dboard-dm644x-evm.c420 gpio_direction_output(gpio + 3, 0); in evm_u18_setup()
423 gpio_direction_output(gpio + 2, 0); in evm_u18_setup()
426 gpio_direction_output(gpio + 1, 0); in evm_u18_setup()
460 gpio_direction_output(gpio + 0, 1); in evm_u35_setup()
464 gpio_direction_output(gpio + 1, 1); in evm_u35_setup()
468 gpio_direction_output(gpio + 2, 1); in evm_u35_setup()
472 gpio_direction_output(gpio + 3, 0); in evm_u35_setup()
478 gpio_direction_output(gpio + 5, 1); in evm_u35_setup()
482 gpio_direction_output(gpio + 6, 0); in evm_u35_setup()
486 gpio_direction_output(gpio + 7, 1); in evm_u35_setup()
/linux/drivers/pcmcia/
A Dsa1100_h3600.c39 err = gpio_direction_output(H3XXX_EGPIO_OPT_NVRAM_ON, 0); in h3600_pcmcia_hw_init()
45 err = gpio_direction_output(H3XXX_EGPIO_OPT_ON, 0); in h3600_pcmcia_hw_init()
51 err = gpio_direction_output(H3XXX_EGPIO_OPT_RESET, 0); in h3600_pcmcia_hw_init()
57 err = gpio_direction_output(H3XXX_EGPIO_CARD_RESET, 0); in h3600_pcmcia_hw_init()
/linux/arch/arm/mach-orion5x/
A 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()
A 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()
/linux/arch/sh/boards/mach-ecovec24/
A Dsetup.c1129 gpio_direction_output(GPIO_PTG0, 0); in arch_setup()
1130 gpio_direction_output(GPIO_PTG1, 0); in arch_setup()
1131 gpio_direction_output(GPIO_PTG2, 0); in arch_setup()
1132 gpio_direction_output(GPIO_PTG3, 0); in arch_setup()
1137 gpio_direction_output(GPIO_PTA1, 1); in arch_setup()
1159 gpio_direction_output(GPIO_PTB4, 0); in arch_setup()
1160 gpio_direction_output(GPIO_PTB5, 0); in arch_setup()
1209 gpio_direction_output(GPIO_PTU1, 0); in arch_setup()
1210 gpio_direction_output(GPIO_PTA2, 0); in arch_setup()
1387 gpio_direction_output(GPIO_PTU0, 0); in arch_setup()
[all …]
/linux/arch/sh/boards/mach-ap325rxa/
A Dsetup.c413 gpio_direction_output(GPIO_PTX5, 1); in ap325rxa_devices_setup()
417 gpio_direction_output(GPIO_PTX4, 0); in ap325rxa_devices_setup()
453 gpio_direction_output(GPIO_PTS3, 1); in ap325rxa_devices_setup()
471 gpio_direction_output(GPIO_PTZ7, 0); /* OE_CAM */ in ap325rxa_devices_setup()
473 gpio_direction_output(GPIO_PTZ6, 0); /* STBY_CAM */ in ap325rxa_devices_setup()
475 gpio_direction_output(GPIO_PTZ5, 0); /* RST_CAM */ in ap325rxa_devices_setup()
477 gpio_direction_output(GPIO_PTZ4, 0); /* SADDR */ in ap325rxa_devices_setup()
/linux/arch/arm/mach-ixp4xx/
A Dgoramo_mlr.c121 gpio_direction_output(GPIO_SCL, 1); in output_control()
122 gpio_direction_output(GPIO_SDA, 1); in output_control()
440 gpio_direction_output(GPIO_SCL, 1); in gmlr_init()
441 gpio_direction_output(GPIO_SDA, 1); in gmlr_init()
442 gpio_direction_output(GPIO_STR, 0); in gmlr_init()
443 gpio_direction_output(GPIO_HSS0_RTS_N, 1); in gmlr_init()
444 gpio_direction_output(GPIO_HSS1_RTS_N, 1); in gmlr_init()
/linux/sound/soc/
A Dsoc-ac97.c271 gpio_direction_output(snd_ac97_rst_cfg.gpio_sync, 1); in snd_soc_ac97_warm_reset()
275 gpio_direction_output(snd_ac97_rst_cfg.gpio_sync, 0); in snd_soc_ac97_warm_reset()
287 gpio_direction_output(snd_ac97_rst_cfg.gpio_sync, 0); in snd_soc_ac97_reset()
288 gpio_direction_output(snd_ac97_rst_cfg.gpio_sdata, 0); in snd_soc_ac97_reset()
289 gpio_direction_output(snd_ac97_rst_cfg.gpio_reset, 0); in snd_soc_ac97_reset()
293 gpio_direction_output(snd_ac97_rst_cfg.gpio_reset, 1); in snd_soc_ac97_reset()
/linux/arch/sh/boards/
A 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()
/linux/arch/arm/mach-mmp/
A 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()
/linux/arch/arm/mach-omap1/
A Dboard-osk.c205 gpio_direction_output(OSK_TPS_GPIO_USB_PWR_EN, 1); in osk_tps_setup()
214 gpio_direction_output(OSK_TPS_GPIO_LAN_RESET, 0); in osk_tps_setup()
218 gpio_direction_output(OSK_TPS_GPIO_DSP_PWR_EN, 1); in osk_tps_setup()
506 gpio_direction_output(11, 0); in osk_mistral_init()
559 gpio_direction_output(2, 1); in osk_mistral_init()
/linux/arch/mips/txx9/rbtx4938/
A 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()

Completed in 36 milliseconds

123456