Searched refs:reset_gpio (Results 1 - 63 of 63) sorted by relevance

/linux-4.1.27/include/linux/platform_data/
H A Dst1232_pdata.h10 int reset_gpio; member in struct:st1232_pdata
H A Dbt-nokia-h4p.h31 unsigned int reset_gpio; member in struct:hci_h4p_platform_data
/linux-4.1.27/arch/arm/mach-pxa/
H A Dreset.c23 static int reset_gpio = -1; variable
31 printk(KERN_ERR "Can't request reset_gpio\n"); init_gpio_reset()
40 printk(KERN_ERR "Can't configure reset_gpio\n"); init_gpio_reset()
47 reset_gpio = gpio; init_gpio_reset()
59 BUG_ON(reset_gpio == -1); do_gpio_reset()
62 gpio_direction_output(reset_gpio, 0); do_gpio_reset()
65 gpio_set_value(reset_gpio, 1); do_gpio_reset()
68 gpio_set_value(reset_gpio, 0); do_gpio_reset()
H A Dpxa27x.c56 void pxa27x_configure_ac97reset(int reset_gpio, bool to_gpio) pxa27x_configure_ac97reset() argument
61 * reset_gpio is changed as follows: pxa27x_configure_ac97reset()
66 if (reset_gpio == 113) pxa27x_configure_ac97reset()
70 if (reset_gpio == 95) pxa27x_configure_ac97reset()
H A Dcolibri-pxa270.c249 .reset_gpio = 95, colibri_pxa270_eth_init()
H A Dpalm27x.c253 palm27x_ac97_pdata.reset_gpio = reset; palm27x_ac97_init()
H A Dvpac270.c433 .reset_gpio = 95, vpac270_eth_init()
H A Dz2.c574 .reset_gpio = GPIO19_ZIPITZ2_LCD_RESET,
H A Dmioa701.c653 .reset_gpio = 95,
H A Dzeus.c515 .reset_gpio = 95,
H A Dem-x270.c832 .reset_gpio = 113, em_x270_init_spi()
/linux-4.1.27/drivers/power/reset/
H A Dgpio-poweroff.c26 static struct gpio_desc *reset_gpio; variable in typeref:struct:gpio_desc
30 BUG_ON(!reset_gpio); gpio_poweroff_do_poweroff()
33 gpiod_direction_output(reset_gpio, 1); gpio_poweroff_do_poweroff()
36 gpiod_set_value(reset_gpio, 0); gpio_poweroff_do_poweroff()
40 gpiod_set_value(reset_gpio, 1); gpio_poweroff_do_poweroff()
60 reset_gpio = devm_gpiod_get(&pdev->dev, NULL); gpio_poweroff_probe()
61 if (IS_ERR(reset_gpio)) gpio_poweroff_probe()
62 return PTR_ERR(reset_gpio); gpio_poweroff_probe()
67 if (gpiod_direction_input(reset_gpio)) { gpio_poweroff_probe()
73 if (gpiod_direction_output(reset_gpio, 0)) { gpio_poweroff_probe()
H A Dgpio-restart.c27 struct gpio_desc *reset_gpio; member in struct:gpio_restart
41 gpiod_direction_output(gpio_restart->reset_gpio, 1); gpio_restart_notify()
45 gpiod_set_value(gpio_restart->reset_gpio, 0); gpio_restart_notify()
49 gpiod_set_value(gpio_restart->reset_gpio, 1); gpio_restart_notify()
73 gpio_restart->reset_gpio = devm_gpiod_get(&pdev->dev, NULL, gpio_restart_probe()
75 if (IS_ERR(gpio_restart->reset_gpio)) { gpio_restart_probe()
77 return PTR_ERR(gpio_restart->reset_gpio); gpio_restart_probe()
/linux-4.1.27/drivers/mmc/core/
H A Dpwrseq_emmc.c25 struct gpio_desc *reset_gpio; member in struct:mmc_pwrseq_emmc
30 gpiod_set_value(pwrseq->reset_gpio, 1); __mmc_pwrseq_emmc_reset()
32 gpiod_set_value(pwrseq->reset_gpio, 0); __mmc_pwrseq_emmc_reset()
50 gpiod_put(pwrseq->reset_gpio); mmc_pwrseq_emmc_free()
79 pwrseq->reset_gpio = gpiod_get_index(dev, "reset", 0, GPIOD_OUT_LOW); mmc_pwrseq_emmc_alloc()
80 if (IS_ERR(pwrseq->reset_gpio)) { mmc_pwrseq_emmc_alloc()
81 ret = PTR_ERR(pwrseq->reset_gpio); mmc_pwrseq_emmc_alloc()
/linux-4.1.27/arch/arm/mach-pxa/include/mach/
H A Daudio.h9 * @reset_gpio: AC97 reset gpio (normally gpio113 or gpio95)
13 * reset_gpio should only be specified for pxa27x CPUs where a silicon
24 int reset_gpio; member in struct:__anon243
/linux-4.1.27/include/sound/
H A Dcs42l73.h16 unsigned int reset_gpio; member in struct:cs42l73_platform_data
H A Dcs42l52.h29 unsigned int reset_gpio; member in struct:cs42l52_platform_data
/linux-4.1.27/sound/soc/codecs/
H A Dak5386.c27 int reset_gpio; member in struct:ak5386_priv
115 if (gpio_is_valid(priv->reset_gpio)) ak5386_hw_params()
116 gpio_set_value(priv->reset_gpio, 1); ak5386_hw_params()
127 if (gpio_is_valid(priv->reset_gpio)) ak5386_hw_free()
128 gpio_set_value(priv->reset_gpio, 0); ak5386_hw_free()
172 priv->reset_gpio = -EINVAL; ak5386_probe()
184 priv->reset_gpio = of_get_named_gpio(dev->of_node, ak5386_probe()
187 if (gpio_is_valid(priv->reset_gpio)) ak5386_probe()
188 if (devm_gpio_request_one(dev, priv->reset_gpio, ak5386_probe()
191 priv->reset_gpio = -EINVAL; ak5386_probe()
H A Dcs35l32.c50 struct gpio_desc *reset_gpio; member in struct:cs35l32_private
440 cs35l32->reset_gpio = devm_gpiod_get_optional(&i2c_client->dev, cs35l32_i2c_probe()
442 if (IS_ERR(cs35l32->reset_gpio)) cs35l32_i2c_probe()
443 return PTR_ERR(cs35l32->reset_gpio); cs35l32_i2c_probe()
445 if (cs35l32->reset_gpio) cs35l32_i2c_probe()
446 gpiod_set_value_cansleep(cs35l32->reset_gpio, 1); cs35l32_i2c_probe()
540 if (cs35l32->reset_gpio) cs35l32_i2c_remove()
541 gpiod_set_value_cansleep(cs35l32->reset_gpio, 0); cs35l32_i2c_remove()
555 if (cs35l32->reset_gpio) cs35l32_runtime_suspend()
556 gpiod_set_value_cansleep(cs35l32->reset_gpio, 0); cs35l32_runtime_suspend()
579 if (cs35l32->reset_gpio) cs35l32_runtime_resume()
580 gpiod_set_value_cansleep(cs35l32->reset_gpio, 1); cs35l32_runtime_resume()
H A Dcs4265.c36 struct gpio_desc *reset_gpio; member in struct:cs4265_private
608 cs4265->reset_gpio = devm_gpiod_get_optional(&i2c_client->dev, cs4265_i2c_probe()
610 if (IS_ERR(cs4265->reset_gpio)) cs4265_i2c_probe()
611 return PTR_ERR(cs4265->reset_gpio); cs4265_i2c_probe()
613 if (cs4265->reset_gpio) { cs4265_i2c_probe()
615 gpiod_set_value_cansleep(cs4265->reset_gpio, 1); cs4265_i2c_probe()
H A Dadau1977.c116 struct gpio_desc *reset_gpio; member in struct:adau1977
391 if (adau1977->reset_gpio) adau1977_power_disable()
392 gpiod_set_value_cansleep(adau1977->reset_gpio, 0); adau1977_power_disable()
423 if (adau1977->reset_gpio) adau1977_power_enable()
424 gpiod_set_value_cansleep(adau1977->reset_gpio, 1); adau1977_power_enable()
941 adau1977->reset_gpio = devm_gpiod_get_optional(dev, "reset", adau1977_probe()
943 if (IS_ERR(adau1977->reset_gpio)) adau1977_probe()
944 return PTR_ERR(adau1977->reset_gpio); adau1977_probe()
948 if (adau1977->reset_gpio) adau1977_probe()
H A Dcs42l52.c1194 pdata->reset_gpio = cs42l52_i2c_probe()
1201 if (cs42l52->pdata.reset_gpio) { cs42l52_i2c_probe()
1203 cs42l52->pdata.reset_gpio, cs42l52_i2c_probe()
1208 cs42l52->pdata.reset_gpio, ret); cs42l52_i2c_probe()
1211 gpio_set_value_cansleep(cs42l52->pdata.reset_gpio, 0); cs42l52_i2c_probe()
1212 gpio_set_value_cansleep(cs42l52->pdata.reset_gpio, 1); cs42l52_i2c_probe()
H A Dcs42l73.c1413 pdata->reset_gpio = of_get_named_gpio(i2c_client->dev.of_node, cs42l73_i2c_probe()
1420 if (cs42l73->pdata.reset_gpio) { cs42l73_i2c_probe()
1422 cs42l73->pdata.reset_gpio, cs42l73_i2c_probe()
1427 cs42l73->pdata.reset_gpio, ret); cs42l73_i2c_probe()
1430 gpio_set_value_cansleep(cs42l73->pdata.reset_gpio, 0); cs42l73_i2c_probe()
1431 gpio_set_value_cansleep(cs42l73->pdata.reset_gpio, 1); cs42l73_i2c_probe()
/linux-4.1.27/sound/arm/
H A Dpxa2xx-ac97-lib.c35 static int reset_gpio; variable
37 extern void pxa27x_configure_ac97reset(int reset_gpio, bool to_gpio);
140 pxa27x_configure_ac97reset(reset_gpio, true); pxa_ac97_warm_pxa27x()
143 pxa27x_configure_ac97reset(reset_gpio, false); pxa_ac97_warm_pxa27x()
321 switch (pdata->reset_gpio) { pxa2xx_ac97_hw_probe()
324 reset_gpio = pdata->reset_gpio; pxa2xx_ac97_hw_probe()
327 reset_gpio = 113; pxa2xx_ac97_hw_probe()
333 pdata->reset_gpio); pxa2xx_ac97_hw_probe()
337 reset_gpio = 113; pxa2xx_ac97_hw_probe()
347 ret = gpio_request_one(reset_gpio, GPIOF_OUT_INIT_HIGH, pxa2xx_ac97_hw_probe()
354 pxa27x_configure_ac97reset(reset_gpio, false); pxa2xx_ac97_hw_probe()
399 gpio_free(reset_gpio); pxa2xx_ac97_hw_remove()
/linux-4.1.27/include/linux/
H A Dleds-bd2802.h18 int reset_gpio; member in struct:bd2802_led_platform_data
H A Dstmmac.h84 int reset_gpio, active_low; member in struct:stmmac_mdio_bus_data
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_mdio.c141 int reset_gpio, active_low; stmmac_mdio_reset() local
143 if (data->reset_gpio < 0) { stmmac_mdio_reset()
148 data->reset_gpio = of_get_named_gpio(np, stmmac_mdio_reset()
150 if (data->reset_gpio < 0) stmmac_mdio_reset()
159 reset_gpio = data->reset_gpio; stmmac_mdio_reset()
162 if (!gpio_request(reset_gpio, "mdio-reset")) { stmmac_mdio_reset()
163 gpio_direction_output(reset_gpio, active_low ? 1 : 0); stmmac_mdio_reset()
165 gpio_set_value(reset_gpio, active_low ? 0 : 1); stmmac_mdio_reset()
167 gpio_set_value(reset_gpio, active_low ? 1 : 0); stmmac_mdio_reset()
218 mdio_bus_data->reset_gpio = -1; stmmac_mdio_register()
/linux-4.1.27/drivers/input/touchscreen/
H A Dst1232.c55 int reset_gpio; member in struct:st1232_ts_data
150 if (gpio_is_valid(ts->reset_gpio)) st1232_ts_power()
151 gpio_direction_output(ts->reset_gpio, poweron); st1232_ts_power()
184 ts->reset_gpio = pdata->reset_gpio; st1232_ts_probe()
186 ts->reset_gpio = of_get_gpio(client->dev.of_node, 0); st1232_ts_probe()
188 ts->reset_gpio = -ENODEV; st1232_ts_probe()
190 if (gpio_is_valid(ts->reset_gpio)) { st1232_ts_probe()
191 error = devm_gpio_request(&client->dev, ts->reset_gpio, NULL); st1232_ts_probe()
195 ts->reset_gpio); st1232_ts_probe()
H A Dtsc2005.c157 int reset_gpio; member in struct:tsc2005
354 if (ts->reset_gpio >= 0) tsc2005_set_reset()
355 gpio_set_value(ts->reset_gpio, enable); tsc2005_set_reset()
378 if (ts->esd_timeout && (ts->set_reset || ts->reset_gpio)) { __tsc2005_enable()
482 if (!ts->set_reset && !ts->reset_gpio) tsc2005_attr_is_visible()
660 ts->reset_gpio = of_get_named_gpio(np, "reset-gpios", 0); tsc2005_probe()
661 if (ts->reset_gpio == -EPROBE_DEFER) tsc2005_probe()
662 return ts->reset_gpio; tsc2005_probe()
663 if (ts->reset_gpio < 0) { tsc2005_probe()
665 ts->reset_gpio); tsc2005_probe()
666 return ts->reset_gpio; tsc2005_probe()
669 error = devm_gpio_request_one(&spi->dev, ts->reset_gpio, 0, tsc2005_probe()
684 ts->reset_gpio = -1; tsc2005_probe()
/linux-4.1.27/drivers/video/backlight/
H A Dlms283gf05.c135 lms283gf05_reset(pdata->reset_gpio, lms283gf05_power_set()
141 gpio_set_value(pdata->reset_gpio, lms283gf05_power_set()
161 ret = devm_gpio_request_one(&spi->dev, pdata->reset_gpio, lms283gf05_probe()
186 lms283gf05_reset(pdata->reset_gpio, pdata->reset_inverted); lms283gf05_probe()
H A Dl4f00242t03.c82 l4f00242t03_reset(pdata->reset_gpio); l4f00242t03_lcd_init()
193 ret = devm_gpio_request_one(&spi->dev, pdata->reset_gpio, l4f00242t03_probe()
/linux-4.1.27/include/linux/spi/
H A Dl4f00242t03.h21 unsigned int reset_gpio; member in struct:l4f00242t03_pdata
H A Dlms283gf05.h20 unsigned long reset_gpio; member in struct:lms283gf05_pdata
/linux-4.1.27/arch/mips/pci/
H A Dpci-lantiq.c70 static int reset_gpio; variable
131 reset_gpio = of_get_named_gpio(node, "gpio-reset", 0); ltq_pci_startup()
132 if (gpio_is_valid(reset_gpio)) { ltq_pci_startup()
134 reset_gpio, "pci-reset"); ltq_pci_startup()
137 "failed to request gpio %d\n", reset_gpio); ltq_pci_startup()
140 gpio_direction_output(reset_gpio, 1); ltq_pci_startup()
203 if (gpio_is_valid(reset_gpio)) { ltq_pci_startup()
204 __gpio_set_value(reset_gpio, 0); ltq_pci_startup()
207 __gpio_set_value(reset_gpio, 1); ltq_pci_startup()
/linux-4.1.27/net/rfkill/
H A Drfkill-gpio.c35 struct gpio_desc *reset_gpio; member in struct:rfkill_gpio_data
52 gpiod_set_value_cansleep(rfkill->reset_gpio, !blocked); rfkill_gpio_set_power()
120 rfkill->reset_gpio = gpio; rfkill_gpio_probe()
134 if ((!rfkill->reset_gpio && !rfkill->shutdown_gpio) || !rfkill->name) { rfkill_gpio_probe()
/linux-4.1.27/drivers/video/fbdev/omap2/displays-new/
H A Dpanel-sony-acx565akm.c71 int reset_gpio; member in struct:panel_drv_data
565 if (gpio_is_valid(ddata->reset_gpio)) acx565akm_panel_power_on()
566 gpio_set_value(ddata->reset_gpio, 1); acx565akm_panel_power_on()
615 if (gpio_is_valid(ddata->reset_gpio)) acx565akm_panel_power_off()
616 gpio_set_value(ddata->reset_gpio, 0); acx565akm_panel_power_off()
715 ddata->reset_gpio = pdata->reset_gpio; acx565akm_probe_pdata()
738 ddata->reset_gpio = of_get_named_gpio(np, "reset-gpios", 0); acx565akm_probe_of()
785 if (gpio_is_valid(ddata->reset_gpio)) { acx565akm_probe()
786 r = devm_gpio_request_one(&spi->dev, ddata->reset_gpio, acx565akm_probe()
792 if (gpio_is_valid(ddata->reset_gpio)) acx565akm_probe()
793 gpio_set_value(ddata->reset_gpio, 1); acx565akm_probe()
805 if (!ddata->enabled && gpio_is_valid(ddata->reset_gpio)) acx565akm_probe()
806 gpio_set_value(ddata->reset_gpio, 0); acx565akm_probe()
H A Dpanel-dsi-cm.c60 int reset_gpio; member in struct:panel_drv_data
571 if (!gpio_is_valid(ddata->reset_gpio)) dsicm_hw_reset()
574 gpio_set_value(ddata->reset_gpio, 1); dsicm_hw_reset()
577 gpio_set_value(ddata->reset_gpio, 0); dsicm_hw_reset()
580 gpio_set_value(ddata->reset_gpio, 1); dsicm_hw_reset()
1145 ddata->reset_gpio = pdata->reset_gpio; dsicm_probe_pdata()
1176 ddata->reset_gpio = gpio; dsicm_probe_of()
1254 if (gpio_is_valid(ddata->reset_gpio)) { dsicm_probe()
1255 r = devm_gpio_request_one(dev, ddata->reset_gpio, dsicm_probe()
/linux-4.1.27/drivers/usb/phy/
H A Dphy-tegra-usb.c614 ret = gpio_direction_output(phy->reset_gpio, 0); ulpi_phy_power_on()
617 phy->reset_gpio); ulpi_phy_power_on()
621 ret = gpio_direction_output(phy->reset_gpio, 1); ulpi_phy_power_on()
624 phy->reset_gpio); ulpi_phy_power_on()
685 return gpio_direction_output(phy->reset_gpio, 0); ulpi_phy_power_off()
731 err = devm_gpio_request(phy->u_phy.dev, phy->reset_gpio, ulpi_open()
735 phy->reset_gpio); ulpi_open()
739 err = gpio_direction_output(phy->reset_gpio, 0); ulpi_open()
742 phy->reset_gpio); ulpi_open()
1016 tegra_phy->reset_gpio = tegra_usb_phy_probe()
1018 if (!gpio_is_valid(tegra_phy->reset_gpio)) { tegra_usb_phy_probe()
1020 tegra_phy->reset_gpio); tegra_usb_phy_probe()
1021 return tegra_phy->reset_gpio; tegra_usb_phy_probe()
/linux-4.1.27/sound/soc/tegra/
H A Dtegra20_ac97.c52 gpio_set_value(workdata->reset_gpio, 0); tegra20_ac97_codec_reset()
55 gpio_set_value(workdata->reset_gpio, 1); tegra20_ac97_codec_reset()
349 ac97->reset_gpio = of_get_named_gpio(pdev->dev.of_node, tegra20_ac97_platform_probe()
351 if (gpio_is_valid(ac97->reset_gpio)) { tegra20_ac97_platform_probe()
352 ret = devm_gpio_request_one(&pdev->dev, ac97->reset_gpio, tegra20_ac97_platform_probe()
H A Dtegra20_ac97.h91 int reset_gpio; member in struct:tegra20_ac97
/linux-4.1.27/include/video/
H A Domap-panel-data.h126 * @reset_gpio: gpio to reset the panel (or -1)
137 int reset_gpio; member in struct:panel_dsicm_platform_data
153 * @reset_gpio: gpio to reset the panel (or -1)
160 int reset_gpio; member in struct:panel_acx565akm_platform_data
/linux-4.1.27/arch/arm/mach-omap2/
H A Dusb.h58 int reset_gpio; member in struct:usbhs_phy_data
H A Dusb-host.c449 if (!gpio_is_valid(phy->reset_gpio) && usbhs_init_phys()
463 nop_pdata.gpio_reset = phy->reset_gpio; usbhs_init_phys()
H A Dboard-cm-t35.c418 .reset_gpio = OMAP_MAX_GPIO_LINES + 6,
423 .reset_gpio = OMAP_MAX_GPIO_LINES + 7,
H A Dboard-omap3beagle.c295 .reset_gpio = 147,
H A Dboard-omap3pandora.c572 .reset_gpio = 16,
H A Dboard-overo.c471 .reset_gpio = OVERO_GPIO_USBH_NRESET,
H A Dboard-rx51-peripherals.c227 .reset_gpio = RX51_LCD_RESET_GPIO,
/linux-4.1.27/drivers/pci/host/
H A Dpci-imx6.c35 int reset_gpio; member in struct:imx6_pcie
295 if (gpio_is_valid(imx6_pcie->reset_gpio)) { imx6_pcie_deassert_core_reset()
296 gpio_set_value(imx6_pcie->reset_gpio, 0); imx6_pcie_deassert_core_reset()
298 gpio_set_value(imx6_pcie->reset_gpio, 1); imx6_pcie_deassert_core_reset()
582 imx6_pcie->reset_gpio = of_get_named_gpio(np, "reset-gpio", 0); imx6_pcie_probe()
583 if (gpio_is_valid(imx6_pcie->reset_gpio)) { imx6_pcie_probe()
584 ret = devm_gpio_request_one(&pdev->dev, imx6_pcie->reset_gpio, imx6_pcie_probe()
H A Dpci-exynos.c35 int reset_gpio; member in struct:exynos_pcie
312 if (exynos_pcie->reset_gpio >= 0) exynos_pcie_assert_reset()
313 devm_gpio_request_one(pp->dev, exynos_pcie->reset_gpio, exynos_pcie_assert_reset()
569 exynos_pcie->reset_gpio = of_get_named_gpio(np, "reset-gpio", 0); exynos_pcie_probe()
H A Dpci-mvebu.c122 int reset_gpio; member in struct:mvebu_pcie_port
1030 port->reset_gpio = of_get_named_gpio_flags(child, mvebu_pcie_probe()
1032 if (gpio_is_valid(port->reset_gpio)) { mvebu_pcie_probe()
1042 port->reset_gpio, GPIOF_DIR_OUT, port->reset_name); mvebu_pcie_probe()
1049 gpio_set_value(port->reset_gpio, mvebu_pcie_probe()
/linux-4.1.27/drivers/gpu/drm/panel/
H A Dpanel-ld9040.c95 struct gpio_desc *reset_gpio; member in struct:ld9040
207 gpiod_set_value(ctx->reset_gpio, 0); ld9040_power_on()
209 gpiod_set_value(ctx->reset_gpio, 1); ld9040_power_on()
339 ctx->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); ld9040_probe()
340 if (IS_ERR(ctx->reset_gpio)) { ld9040_probe()
342 PTR_ERR(ctx->reset_gpio)); ld9040_probe()
343 return PTR_ERR(ctx->reset_gpio); ld9040_probe()
H A Dpanel-s6e8aa0.c99 struct gpio_desc *reset_gpio; member in struct:s6e8aa0
867 gpiod_set_value(ctx->reset_gpio, 0); s6e8aa0_power_on()
869 gpiod_set_value(ctx->reset_gpio, 1); s6e8aa0_power_on()
1010 ctx->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); s6e8aa0_probe()
1011 if (IS_ERR(ctx->reset_gpio)) { s6e8aa0_probe()
1013 PTR_ERR(ctx->reset_gpio)); s6e8aa0_probe()
1014 return PTR_ERR(ctx->reset_gpio); s6e8aa0_probe()
/linux-4.1.27/include/linux/usb/
H A Dtegra_usb_phy.h77 int reset_gpio; member in struct:tegra_usb_phy
/linux-4.1.27/drivers/leds/
H A Dleds-bd2802.c208 gpio_set_value(led->pdata->reset_gpio, 0); bd2802_update_state()
234 gpio_set_value(led->pdata->reset_gpio, 1); bd2802_reset_cancel()
428 gpio_set_value(led->pdata->reset_gpio, 0); bd2802_disable_adv_conf()
689 gpio_request_one(pdata->reset_gpio, GPIOF_OUT_INIT_HIGH, "RGB_RESETB"); bd2802_probe()
703 gpio_set_value(led->pdata->reset_gpio, 0); bd2802_probe()
738 gpio_set_value(led->pdata->reset_gpio, 0); bd2802_remove()
768 gpio_set_value(led->pdata->reset_gpio, 0); bd2802_suspend()
/linux-4.1.27/arch/arm/mach-imx/
H A Dmach-pcm043.c250 iomux_v3_cfg_t reset_gpio = MX35_PAD_SD2_CMD__GPIO2_0; pcm043_ac97_cold_reset() local
267 mxc_iomux_v3_setup_pad(reset_gpio); pcm043_ac97_cold_reset()
H A Dmach-mx27_3ds.c452 .reset_gpio = LCD_RESET,
H A Dmach-mx31_3ds.c286 .reset_gpio = IOMUX_TO_GPIO(MX31_PIN_LCS1),
/linux-4.1.27/drivers/media/platform/
H A Dvia-camera.c72 int reset_gpio; member in struct:via_camera
183 cam->reset_gpio = viafb_gpio_lookup("VGPIO2"); via_sensor_power_setup()
184 if (cam->power_gpio < 0 || cam->reset_gpio < 0) { via_sensor_power_setup()
193 ret = gpio_request(cam->reset_gpio, "viafb-camera"); via_sensor_power_setup()
200 gpio_direction_output(cam->reset_gpio, 0); via_sensor_power_setup()
210 gpio_set_value(cam->reset_gpio, 0); via_sensor_power_up()
212 gpio_set_value(cam->reset_gpio, 1); via_sensor_power_up()
219 gpio_set_value(cam->reset_gpio, 0); via_sensor_power_down()
227 gpio_free(cam->reset_gpio); via_sensor_power_release()
/linux-4.1.27/drivers/net/ethernet/smsc/
H A Dsmc91x.c2282 ret = try_toggle_control_gpio(&pdev->dev, &lp->reset_gpio, smc_drv_probe()
2291 if (lp->reset_gpio) smc_drv_probe()
H A Dsmc91x.h215 struct gpio_desc *reset_gpio; member in struct:smc_local
/linux-4.1.27/arch/arm/mach-shmobile/
H A Dboard-armadillo800eva.c1078 .reset_gpio = 166,
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c13123 s8 port, reset_gpio; bnx2x_8727_common_init_phy() local
13131 reset_gpio = MISC_REGISTERS_GPIO_1; bnx2x_8727_common_init_phy()
13138 (u8 *)&reset_gpio, (u8 *)&port); bnx2x_8727_common_init_phy()
13144 bnx2x_set_gpio(bp, reset_gpio, MISC_REGISTERS_GPIO_OUTPUT_LOW, bnx2x_8727_common_init_phy()
13147 bnx2x_set_gpio(bp, reset_gpio, MISC_REGISTERS_GPIO_OUTPUT_HIGH, bnx2x_8727_common_init_phy()

Completed in 3080 milliseconds