Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/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 Dreset.c29 rc = gpio_direction_output(gpio, level); in init_gpio_reset()
55 gpio_direction_output(reset_gpio, 0); in do_gpio_reset()
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()
/linux-6.3-rc2/arch/arm/mach-sa1100/
A Dh3600.c55 gpio_direction_output(H3XXX_EGPIO_LCD_ON, enable); in h3600_lcd_power()
56 gpio_direction_output(H3600_EGPIO_LCD_PCI, enable); in h3600_lcd_power()
57 gpio_direction_output(H3600_EGPIO_LCD_5V_ON, enable); in h3600_lcd_power()
58 gpio_direction_output(H3600_EGPIO_LVDD_ON, enable); in h3600_lcd_power()
A Dh3xxx.c58 err = gpio_direction_output(H3XXX_EGPIO_VPP_ON, 0); in h3xxx_flash_init()
90 gpio_direction_output(H3XXX_EGPIO_RS232_ON, !state); in h3xxx_uart_pm()
/linux-6.3-rc2/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()
A Dxxs1500_ss.c164 gpio_direction_output(GPIO_RESET, 1); /* assert reset */ in xxs1500_pcmcia_sock_init()
165 gpio_direction_output(GPIO_OUTEN, 1); /* disable buffers */ in xxs1500_pcmcia_sock_init()
166 gpio_direction_output(GPIO_POWER, 1); /* power off */ in xxs1500_pcmcia_sock_init()
/linux-6.3-rc2/arch/arm/mach-orion5x/
A Dnet2big-setup.c149 err = gpio_direction_output(NET2BIG_GPIO_SATA_POWER_REQ, 0); in net2big_sata_power_init()
254 err = gpio_direction_output(NET2BIG_GPIO_PWR_LED_BLINK_STOP, 1); in net2big_gpio_leds_init()
268 err = gpio_direction_output(NET2BIG_GPIO_SATA0_BLUE_LED, 1); in net2big_gpio_leds_init()
278 err = gpio_direction_output(NET2BIG_GPIO_SATA1_BLUE_LED, 1); in net2big_gpio_leds_init()
412 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()
A Dboard-d2net.c87 err = gpio_direction_output(D2NET_GPIO_BLUE_LED_BLINK_CTRL, 1); in d2net_gpio_leds_init()
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/arch/arm/mach-omap1/
A Dboard-osk.c204 gpio_direction_output(OSK_TPS_GPIO_USB_PWR_EN, 1); in osk_tps_setup()
213 gpio_direction_output(OSK_TPS_GPIO_LAN_RESET, 0); in osk_tps_setup()
217 gpio_direction_output(OSK_TPS_GPIO_DSP_PWR_EN, 1); in osk_tps_setup()
A Dboard-sx1.c329 gpio_direction_output(1, 1); /*A_IRDA_OFF = 1 */ in omap_sx1_init()
330 gpio_direction_output(11, 0); /*A_SWITCH = 0 */ in omap_sx1_init()
331 gpio_direction_output(15, 0); /*A_USB_ON = 0 */ in omap_sx1_init()
/linux-6.3-rc2/arch/sh/boards/mach-kfr2r09/
A Dsetup.c465 gpio_direction_output(GPIO_PTV6, 1); /* USBCLK_ON = H */ in kfr2r09_usb0_gadget_setup()
498 gpio_direction_output(GPIO_PTG3, 1); /* HPON_ON = H */ in kfr2r09_devices_setup()
546 gpio_direction_output(GPIO_PTE4, 1); in kfr2r09_devices_setup()
548 gpio_direction_output(GPIO_PTF4, 1); in kfr2r09_devices_setup()
550 gpio_direction_output(GPIO_PTU0, 1); in kfr2r09_devices_setup()
/linux-6.3-rc2/arch/arm/mach-s3c/
A Dmach-crag6410.c135 gpio_direction_output(S3C64XX_GPF(14), 0); in crag6410_lcd_power_set()
844 gpio_direction_output(S3C64XX_GPB(0), 0); in crag6410_machine_init()
847 gpio_direction_output(S3C64XX_GPF(14), 0); /* turn off */ in crag6410_machine_init()
850 gpio_direction_output(S3C64XX_GPB(1), 0); in crag6410_machine_init()
853 gpio_direction_output(S3C64XX_GPF(10), 1); in crag6410_machine_init()
/linux-6.3-rc2/drivers/rtc/
A Drtc-ds2404.c63 gpio_direction_output(ds2404_gpio[i].gpio, 1); in ds2404_gpio_map()
89 gpio_direction_output(ds2404_gpio[DS2404_DQ].gpio, 0); in ds2404_reset()
97 gpio_direction_output(ds2404_gpio[DS2404_DQ].gpio, 1); in ds2404_write_byte()
/linux-6.3-rc2/arch/m68k/coldfire/
A Ddevice.c214 status = gpio_direction_output(MCFQSPI_CS0, 1); in mcf_cs_setup()
225 status = gpio_direction_output(MCFQSPI_CS1, 1); in mcf_cs_setup()
236 status = gpio_direction_output(MCFQSPI_CS2, 1); in mcf_cs_setup()
248 status = gpio_direction_output(MCFQSPI_CS3, 1); in mcf_cs_setup()
/linux-6.3-rc2/sound/soc/ti/
A Domap3pandora.c238 ret = gpio_direction_output(OMAP3_PANDORA_DAC_POWER_GPIO, 0); in omap3pandora_soc_init()
250 ret = gpio_direction_output(OMAP3_PANDORA_AMP_POWER_GPIO, 0); in omap3pandora_soc_init()
A Dn810.c336 gpio_direction_output(N810_HEADSET_AMP_GPIO, 0); in n810_soc_init()
337 gpio_direction_output(N810_SPEAKER_AMP_GPIO, 0); in n810_soc_init()
/linux-6.3-rc2/drivers/regulator/
A Ds5m8767.c824 gpio_direction_output(pdata->buck_gpios[0], in s5m8767_pmic_probe()
827 gpio_direction_output(pdata->buck_gpios[1], in s5m8767_pmic_probe()
830 gpio_direction_output(pdata->buck_gpios[2], in s5m8767_pmic_probe()
847 gpio_direction_output(pdata->buck_ds[0], 0x0); in s5m8767_pmic_probe()
849 gpio_direction_output(pdata->buck_ds[1], 0x0); in s5m8767_pmic_probe()
851 gpio_direction_output(pdata->buck_ds[2], 0x0); in s5m8767_pmic_probe()
/linux-6.3-rc2/Documentation/translations/zh_CN/driver-api/gpio/
A Dlegacy.rst130 int gpio_direction_output(unsigned gpio, int value);
214 gpio_direction_output()
389 LOW: gpio_direction_output(gpio, 0) ... 这代码驱动信号并覆盖
/linux-6.3-rc2/sound/soc/samsung/
A Dspeyside.c126 gpio_direction_output(WM8996_HPSEL_GPIO, speyside_jack_polarity); in speyside_set_polarity()
157 gpio_direction_output(WM8996_HPSEL_GPIO, speyside_jack_polarity); in speyside_wm8996_init()
/linux-6.3-rc2/Documentation/translations/zh_TW/
A Dgpio.txt139 int gpio_direction_output(unsigned gpio, int value);
221 gpio_direction_output()
393 LOW: gpio_direction_output(gpio, 0) ... 這代碼驅動信號並覆蓋

Completed in 36 milliseconds

123