Home
last modified time | relevance | path

Searched refs:reset_gpio (Results 1 – 67 of 67) sorted by relevance

/linux-4.4.14/drivers/power/reset/
Dgpio-poweroff.c26 static struct gpio_desc *reset_gpio; variable
30 BUG_ON(!reset_gpio); in gpio_poweroff_do_poweroff()
33 gpiod_direction_output(reset_gpio, 1); in gpio_poweroff_do_poweroff()
36 gpiod_set_value(reset_gpio, 0); in gpio_poweroff_do_poweroff()
40 gpiod_set_value(reset_gpio, 1); in gpio_poweroff_do_poweroff()
67 reset_gpio = devm_gpiod_get(&pdev->dev, NULL, flags); in gpio_poweroff_probe()
68 if (IS_ERR(reset_gpio)) in gpio_poweroff_probe()
69 return PTR_ERR(reset_gpio); in gpio_poweroff_probe()
Dgpio-restart.c27 struct gpio_desc *reset_gpio; member
41 gpiod_direction_output(gpio_restart->reset_gpio, 1); in gpio_restart_notify()
45 gpiod_set_value(gpio_restart->reset_gpio, 0); in gpio_restart_notify()
49 gpiod_set_value(gpio_restart->reset_gpio, 1); in gpio_restart_notify()
73 gpio_restart->reset_gpio = devm_gpiod_get(&pdev->dev, NULL, in gpio_restart_probe()
75 if (IS_ERR(gpio_restart->reset_gpio)) { in gpio_restart_probe()
77 return PTR_ERR(gpio_restart->reset_gpio); in gpio_restart_probe()
/linux-4.4.14/drivers/mmc/core/
Dpwrseq_emmc.c25 struct gpio_desc *reset_gpio; member
30 gpiod_set_value(pwrseq->reset_gpio, 1); in __mmc_pwrseq_emmc_reset()
32 gpiod_set_value(pwrseq->reset_gpio, 0); in __mmc_pwrseq_emmc_reset()
50 gpiod_put(pwrseq->reset_gpio); in mmc_pwrseq_emmc_free()
79 pwrseq->reset_gpio = gpiod_get(dev, "reset", GPIOD_OUT_LOW); in mmc_pwrseq_emmc_alloc()
80 if (IS_ERR(pwrseq->reset_gpio)) { in mmc_pwrseq_emmc_alloc()
81 ret = PTR_ERR(pwrseq->reset_gpio); in mmc_pwrseq_emmc_alloc()
/linux-4.4.14/arch/arm/mach-pxa/
Dreset.c23 static int reset_gpio = -1; variable
47 reset_gpio = gpio; in init_gpio_reset()
59 BUG_ON(reset_gpio == -1); in do_gpio_reset()
62 gpio_direction_output(reset_gpio, 0); in do_gpio_reset()
65 gpio_set_value(reset_gpio, 1); in do_gpio_reset()
68 gpio_set_value(reset_gpio, 0); in do_gpio_reset()
Dpxa27x.c57 void pxa27x_configure_ac97reset(int reset_gpio, bool to_gpio) in pxa27x_configure_ac97reset() argument
67 if (reset_gpio == 113) in pxa27x_configure_ac97reset()
71 if (reset_gpio == 95) in pxa27x_configure_ac97reset()
Dcolibri-pxa270.c249 .reset_gpio = 95,
Dpalm27x.c254 palm27x_ac97_pdata.reset_gpio = reset; in palm27x_ac97_init()
Dvpac270.c433 .reset_gpio = 95,
Dz2.c579 .reset_gpio = GPIO19_ZIPITZ2_LCD_RESET,
Dmioa701.c657 .reset_gpio = 95,
Dzeus.c516 .reset_gpio = 95,
Dem-x270.c832 .reset_gpio = 113,
/linux-4.4.14/sound/soc/codecs/
Dak5386.c27 int reset_gpio; member
115 if (gpio_is_valid(priv->reset_gpio)) in ak5386_hw_params()
116 gpio_set_value(priv->reset_gpio, 1); in ak5386_hw_params()
127 if (gpio_is_valid(priv->reset_gpio)) in ak5386_hw_free()
128 gpio_set_value(priv->reset_gpio, 0); in ak5386_hw_free()
172 priv->reset_gpio = -EINVAL; in ak5386_probe()
184 priv->reset_gpio = of_get_named_gpio(dev->of_node, in ak5386_probe()
187 if (gpio_is_valid(priv->reset_gpio)) in ak5386_probe()
188 if (devm_gpio_request_one(dev, priv->reset_gpio, in ak5386_probe()
191 priv->reset_gpio = -EINVAL; in ak5386_probe()
Dcs4349.c49 struct gpio_desc *reset_gpio; member
298 cs4349->reset_gpio = devm_gpiod_get_optional(&client->dev, in cs4349_i2c_probe()
300 if (IS_ERR(cs4349->reset_gpio)) in cs4349_i2c_probe()
301 return PTR_ERR(cs4349->reset_gpio); in cs4349_i2c_probe()
303 gpiod_set_value_cansleep(cs4349->reset_gpio, 1); in cs4349_i2c_probe()
318 gpiod_set_value_cansleep(cs4349->reset_gpio, 0); in cs4349_i2c_remove()
336 gpiod_set_value_cansleep(cs4349->reset_gpio, 0); in cs4349_runtime_suspend()
350 gpiod_set_value_cansleep(cs4349->reset_gpio, 1); in cs4349_runtime_resume()
Dcs35l32.c49 struct gpio_desc *reset_gpio; member
404 cs35l32->reset_gpio = devm_gpiod_get_optional(&i2c_client->dev, in cs35l32_i2c_probe()
406 if (IS_ERR(cs35l32->reset_gpio)) in cs35l32_i2c_probe()
407 return PTR_ERR(cs35l32->reset_gpio); in cs35l32_i2c_probe()
409 gpiod_set_value_cansleep(cs35l32->reset_gpio, 1); in cs35l32_i2c_probe()
503 gpiod_set_value_cansleep(cs35l32->reset_gpio, 0); in cs35l32_i2c_remove()
517 gpiod_set_value_cansleep(cs35l32->reset_gpio, 0); in cs35l32_runtime_suspend()
540 gpiod_set_value_cansleep(cs35l32->reset_gpio, 1); in cs35l32_runtime_resume()
Dtas571x.c48 struct gpio_desc *reset_gpio; member
431 priv->reset_gpio = devm_gpiod_get_optional(dev, "reset", in tas571x_i2c_probe()
433 if (IS_ERR(priv->reset_gpio)) { in tas571x_i2c_probe()
435 PTR_ERR(priv->reset_gpio)); in tas571x_i2c_probe()
436 return PTR_ERR(priv->reset_gpio); in tas571x_i2c_probe()
437 } else if (priv->reset_gpio) { in tas571x_i2c_probe()
440 gpiod_set_value(priv->reset_gpio, 0); in tas571x_i2c_probe()
Dadau1977.c116 struct gpio_desc *reset_gpio; member
391 if (adau1977->reset_gpio) in adau1977_power_disable()
392 gpiod_set_value_cansleep(adau1977->reset_gpio, 0); in adau1977_power_disable()
423 if (adau1977->reset_gpio) in adau1977_power_enable()
424 gpiod_set_value_cansleep(adau1977->reset_gpio, 1); in adau1977_power_enable()
937 adau1977->reset_gpio = devm_gpiod_get_optional(dev, "reset", in adau1977_probe()
939 if (IS_ERR(adau1977->reset_gpio)) in adau1977_probe()
940 return PTR_ERR(adau1977->reset_gpio); in adau1977_probe()
944 if (adau1977->reset_gpio) in adau1977_probe()
Dcs4265.c36 struct gpio_desc *reset_gpio; member
591 cs4265->reset_gpio = devm_gpiod_get_optional(&i2c_client->dev, in cs4265_i2c_probe()
593 if (IS_ERR(cs4265->reset_gpio)) in cs4265_i2c_probe()
594 return PTR_ERR(cs4265->reset_gpio); in cs4265_i2c_probe()
596 if (cs4265->reset_gpio) { in cs4265_i2c_probe()
598 gpiod_set_value_cansleep(cs4265->reset_gpio, 1); in cs4265_i2c_probe()
Dcs42l73.c1318 pdata->reset_gpio = of_get_named_gpio(i2c_client->dev.of_node, in cs42l73_i2c_probe()
1325 if (cs42l73->pdata.reset_gpio) { in cs42l73_i2c_probe()
1327 cs42l73->pdata.reset_gpio, in cs42l73_i2c_probe()
1332 cs42l73->pdata.reset_gpio, ret); in cs42l73_i2c_probe()
1335 gpio_set_value_cansleep(cs42l73->pdata.reset_gpio, 0); in cs42l73_i2c_probe()
1336 gpio_set_value_cansleep(cs42l73->pdata.reset_gpio, 1); in cs42l73_i2c_probe()
Dcs42l52.c1141 pdata->reset_gpio = in cs42l52_i2c_probe()
1148 if (cs42l52->pdata.reset_gpio) { in cs42l52_i2c_probe()
1150 cs42l52->pdata.reset_gpio, in cs42l52_i2c_probe()
1155 cs42l52->pdata.reset_gpio, ret); in cs42l52_i2c_probe()
1158 gpio_set_value_cansleep(cs42l52->pdata.reset_gpio, 0); in cs42l52_i2c_probe()
1159 gpio_set_value_cansleep(cs42l52->pdata.reset_gpio, 1); in cs42l52_i2c_probe()
/linux-4.4.14/sound/arm/
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); in pxa_ac97_warm_pxa27x()
143 pxa27x_configure_ac97reset(reset_gpio, false); in pxa_ac97_warm_pxa27x()
321 switch (pdata->reset_gpio) { in pxa2xx_ac97_hw_probe()
324 reset_gpio = pdata->reset_gpio; in pxa2xx_ac97_hw_probe()
327 reset_gpio = 113; in pxa2xx_ac97_hw_probe()
333 pdata->reset_gpio); in pxa2xx_ac97_hw_probe()
337 reset_gpio = 113; in pxa2xx_ac97_hw_probe()
347 ret = gpio_request_one(reset_gpio, GPIOF_OUT_INIT_HIGH, in pxa2xx_ac97_hw_probe()
[all …]
/linux-4.4.14/arch/mips/pci/
Dpci-lantiq.c68 static int reset_gpio; variable
129 reset_gpio = of_get_named_gpio(node, "gpio-reset", 0); in ltq_pci_startup()
130 if (gpio_is_valid(reset_gpio)) { in ltq_pci_startup()
132 reset_gpio, "pci-reset"); in ltq_pci_startup()
135 "failed to request gpio %d\n", reset_gpio); in ltq_pci_startup()
138 gpio_direction_output(reset_gpio, 1); in ltq_pci_startup()
201 if (gpio_is_valid(reset_gpio)) { in ltq_pci_startup()
202 __gpio_set_value(reset_gpio, 0); in ltq_pci_startup()
205 __gpio_set_value(reset_gpio, 1); in ltq_pci_startup()
/linux-4.4.14/drivers/input/touchscreen/
Dst1232.c55 int reset_gpio; member
150 if (gpio_is_valid(ts->reset_gpio)) in st1232_ts_power()
151 gpio_direction_output(ts->reset_gpio, poweron); in st1232_ts_power()
184 ts->reset_gpio = pdata->reset_gpio; in st1232_ts_probe()
186 ts->reset_gpio = of_get_gpio(client->dev.of_node, 0); in st1232_ts_probe()
188 ts->reset_gpio = -ENODEV; in st1232_ts_probe()
190 if (gpio_is_valid(ts->reset_gpio)) { in st1232_ts_probe()
191 error = devm_gpio_request(&client->dev, ts->reset_gpio, NULL); in st1232_ts_probe()
195 ts->reset_gpio); in st1232_ts_probe()
Dft6236.c44 struct gpio_desc *reset_gpio; member
188 if (!ft6236->reset_gpio) in ft6236_reset()
191 gpiod_set_value_cansleep(ft6236->reset_gpio, 1); in ft6236_reset()
193 gpiod_set_value_cansleep(ft6236->reset_gpio, 0); in ft6236_reset()
220 ft6236->reset_gpio = devm_gpiod_get_optional(dev, "reset", in ft6236_probe()
222 if (IS_ERR(ft6236->reset_gpio)) { in ft6236_probe()
223 error = PTR_ERR(ft6236->reset_gpio); in ft6236_probe()
Dtsc200x-core.c116 struct gpio_desc *reset_gpio; member
232 if (ts->reset_gpio) in tsc200x_set_reset()
233 gpiod_set_value_cansleep(ts->reset_gpio, enable); in tsc200x_set_reset()
256 if (ts->esd_timeout && (ts->set_reset || ts->reset_gpio)) { in __tsc200x_enable()
357 if (!ts->set_reset && !ts->reset_gpio) in tsc200x_attr_is_visible()
523 ts->reset_gpio = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); in tsc200x_probe()
524 if (IS_ERR(ts->reset_gpio)) { in tsc200x_probe()
525 error = PTR_ERR(ts->reset_gpio); in tsc200x_probe()
537 if (!ts->reset_gpio && pdata) in tsc200x_probe()
Dedt-ft5x06.c92 struct gpio_desc *reset_gpio; member
906 tsdata->reset_gpio = devm_gpiod_get_optional(&client->dev, in edt_ft5x06_ts_probe()
908 if (IS_ERR(tsdata->reset_gpio)) { in edt_ft5x06_ts_probe()
909 error = PTR_ERR(tsdata->reset_gpio); in edt_ft5x06_ts_probe()
929 if (tsdata->reset_gpio) { in edt_ft5x06_ts_probe()
931 gpiod_set_value_cansleep(tsdata->reset_gpio, 0); in edt_ft5x06_ts_probe()
1009 tsdata->reset_gpio ? desc_to_gpio(tsdata->reset_gpio) : -1); in edt_ft5x06_ts_probe()
Delants_i2c.c128 struct gpio_desc *reset_gpio; member
1079 if (IS_ERR_OR_NULL(ts->reset_gpio)) in elants_i2c_power_on()
1082 gpiod_set_value_cansleep(ts->reset_gpio, 1); in elants_i2c_power_on()
1108 gpiod_set_value_cansleep(ts->reset_gpio, 0); in elants_i2c_power_on()
1121 if (!IS_ERR_OR_NULL(ts->reset_gpio)) { in elants_i2c_power_off()
1126 gpiod_set_value_cansleep(ts->reset_gpio, 1); in elants_i2c_power_off()
1176 ts->reset_gpio = devm_gpiod_get(&client->dev, "reset", GPIOD_OUT_LOW); in elants_i2c_probe()
1177 if (IS_ERR(ts->reset_gpio)) { in elants_i2c_probe()
1178 error = PTR_ERR(ts->reset_gpio); in elants_i2c_probe()
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_mdio.c142 if (data->reset_gpio < 0) { in stmmac_mdio_reset()
147 data->reset_gpio = of_get_named_gpio(np, in stmmac_mdio_reset()
149 if (data->reset_gpio < 0) in stmmac_mdio_reset()
157 if (gpio_request(data->reset_gpio, "mdio-reset")) in stmmac_mdio_reset()
161 gpio_direction_output(data->reset_gpio, in stmmac_mdio_reset()
166 gpio_set_value(data->reset_gpio, data->active_low ? 0 : 1); in stmmac_mdio_reset()
170 gpio_set_value(data->reset_gpio, data->active_low ? 1 : 0); in stmmac_mdio_reset()
221 mdio_bus_data->reset_gpio = -1; in stmmac_mdio_register()
/linux-4.4.14/drivers/gpu/drm/panel/
Dpanel-samsung-ld9040.c95 struct gpio_desc *reset_gpio; member
207 gpiod_set_value(ctx->reset_gpio, 0); in ld9040_power_on()
209 gpiod_set_value(ctx->reset_gpio, 1); in ld9040_power_on()
339 ctx->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in ld9040_probe()
340 if (IS_ERR(ctx->reset_gpio)) { in ld9040_probe()
342 PTR_ERR(ctx->reset_gpio)); in ld9040_probe()
343 return PTR_ERR(ctx->reset_gpio); in ld9040_probe()
Dpanel-samsung-s6e8aa0.c99 struct gpio_desc *reset_gpio; member
867 gpiod_set_value(ctx->reset_gpio, 0); in s6e8aa0_power_on()
869 gpiod_set_value(ctx->reset_gpio, 1); in s6e8aa0_power_on()
1010 ctx->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in s6e8aa0_probe()
1011 if (IS_ERR(ctx->reset_gpio)) { in s6e8aa0_probe()
1013 PTR_ERR(ctx->reset_gpio)); in s6e8aa0_probe()
1014 return PTR_ERR(ctx->reset_gpio); in s6e8aa0_probe()
/linux-4.4.14/drivers/video/backlight/
Dlms283gf05.c135 lms283gf05_reset(pdata->reset_gpio, in lms283gf05_power_set()
141 gpio_set_value(pdata->reset_gpio, in lms283gf05_power_set()
161 ret = devm_gpio_request_one(&spi->dev, pdata->reset_gpio, in lms283gf05_probe()
186 lms283gf05_reset(pdata->reset_gpio, pdata->reset_inverted); in lms283gf05_probe()
Dl4f00242t03.c82 l4f00242t03_reset(pdata->reset_gpio); in l4f00242t03_lcd_init()
193 ret = devm_gpio_request_one(&spi->dev, pdata->reset_gpio, in l4f00242t03_probe()
/linux-4.4.14/drivers/video/fbdev/omap2/displays-new/
Dpanel-sony-acx565akm.c71 int reset_gpio; member
565 if (gpio_is_valid(ddata->reset_gpio)) in acx565akm_panel_power_on()
566 gpio_set_value(ddata->reset_gpio, 1); in acx565akm_panel_power_on()
615 if (gpio_is_valid(ddata->reset_gpio)) in acx565akm_panel_power_off()
616 gpio_set_value(ddata->reset_gpio, 0); in acx565akm_panel_power_off()
715 ddata->reset_gpio = pdata->reset_gpio; in acx565akm_probe_pdata()
738 ddata->reset_gpio = of_get_named_gpio(np, "reset-gpios", 0); in acx565akm_probe_of()
785 if (gpio_is_valid(ddata->reset_gpio)) { in acx565akm_probe()
786 r = devm_gpio_request_one(&spi->dev, ddata->reset_gpio, in acx565akm_probe()
792 if (gpio_is_valid(ddata->reset_gpio)) in acx565akm_probe()
[all …]
Dpanel-dsi-cm.c60 int reset_gpio; member
571 if (!gpio_is_valid(ddata->reset_gpio)) in dsicm_hw_reset()
574 gpio_set_value(ddata->reset_gpio, 1); in dsicm_hw_reset()
577 gpio_set_value(ddata->reset_gpio, 0); in dsicm_hw_reset()
580 gpio_set_value(ddata->reset_gpio, 1); in dsicm_hw_reset()
1145 ddata->reset_gpio = pdata->reset_gpio; in dsicm_probe_pdata()
1176 ddata->reset_gpio = gpio; in dsicm_probe_of()
1254 if (gpio_is_valid(ddata->reset_gpio)) { in dsicm_probe()
1255 r = devm_gpio_request_one(dev, ddata->reset_gpio, in dsicm_probe()
/linux-4.4.14/net/rfkill/
Drfkill-gpio.c35 struct gpio_desc *reset_gpio; member
52 gpiod_set_value_cansleep(rfkill->reset_gpio, !blocked); in rfkill_gpio_set_power()
119 rfkill->reset_gpio = gpio; in rfkill_gpio_probe()
130 if ((!rfkill->reset_gpio && !rfkill->shutdown_gpio) || !rfkill->name) { in rfkill_gpio_probe()
/linux-4.4.14/Documentation/devicetree/bindings/sound/
Dcs42l73.txt11 - reset_gpio : a GPIO spec for the reset pin.
20 reset_gpio = <&gpio 10 0>;
/linux-4.4.14/include/video/
Domap-panel-data.h137 int reset_gpio; member
160 int reset_gpio; member
/linux-4.4.14/drivers/pci/host/
Dpci-imx6.c35 int reset_gpio; member
290 if (gpio_is_valid(imx6_pcie->reset_gpio)) { in imx6_pcie_deassert_core_reset()
291 gpio_set_value(imx6_pcie->reset_gpio, 0); in imx6_pcie_deassert_core_reset()
293 gpio_set_value(imx6_pcie->reset_gpio, 1); in imx6_pcie_deassert_core_reset()
585 imx6_pcie->reset_gpio = of_get_named_gpio(np, "reset-gpio", 0); in imx6_pcie_probe()
586 if (gpio_is_valid(imx6_pcie->reset_gpio)) { in imx6_pcie_probe()
587 ret = devm_gpio_request_one(&pdev->dev, imx6_pcie->reset_gpio, in imx6_pcie_probe()
Dpci-mvebu.c146 struct gpio_desc *reset_gpio; member
1047 int reset_gpio, ret; in mvebu_pcie_parse_port() local
1087 reset_gpio = of_get_named_gpio_flags(child, "reset-gpios", 0, &flags); in mvebu_pcie_parse_port()
1088 if (reset_gpio == -EPROBE_DEFER) { in mvebu_pcie_parse_port()
1089 ret = reset_gpio; in mvebu_pcie_parse_port()
1093 if (gpio_is_valid(reset_gpio)) { in mvebu_pcie_parse_port()
1112 ret = devm_gpio_request_one(dev, reset_gpio, gpio_flags, in mvebu_pcie_parse_port()
1120 port->reset_gpio = gpio_to_desc(reset_gpio); in mvebu_pcie_parse_port()
1163 if (port->reset_gpio) { in mvebu_pcie_powerup()
1171 gpiod_set_value_cansleep(port->reset_gpio, 0); in mvebu_pcie_powerup()
[all …]
Dpci-exynos.c35 int reset_gpio; member
312 if (exynos_pcie->reset_gpio >= 0) in exynos_pcie_assert_reset()
313 devm_gpio_request_one(pp->dev, exynos_pcie->reset_gpio, in exynos_pcie_assert_reset()
564 exynos_pcie->reset_gpio = of_get_named_gpio(np, "reset-gpio", 0); in exynos_pcie_probe()
/linux-4.4.14/drivers/usb/phy/
Dphy-tegra-usb.c614 ret = gpio_direction_output(phy->reset_gpio, 0); in ulpi_phy_power_on()
617 phy->reset_gpio); in ulpi_phy_power_on()
621 ret = gpio_direction_output(phy->reset_gpio, 1); in ulpi_phy_power_on()
624 phy->reset_gpio); in ulpi_phy_power_on()
685 return gpio_direction_output(phy->reset_gpio, 0); in ulpi_phy_power_off()
731 err = devm_gpio_request(phy->u_phy.dev, phy->reset_gpio, in ulpi_open()
735 phy->reset_gpio); in ulpi_open()
739 err = gpio_direction_output(phy->reset_gpio, 0); in ulpi_open()
742 phy->reset_gpio); in ulpi_open()
1016 tegra_phy->reset_gpio = in tegra_usb_phy_probe()
[all …]
/linux-4.4.14/sound/soc/tegra/
Dtegra20_ac97.c52 gpio_set_value(workdata->reset_gpio, 0); in tegra20_ac97_codec_reset()
55 gpio_set_value(workdata->reset_gpio, 1); in tegra20_ac97_codec_reset()
349 ac97->reset_gpio = of_get_named_gpio(pdev->dev.of_node, in tegra20_ac97_platform_probe()
351 if (gpio_is_valid(ac97->reset_gpio)) { in tegra20_ac97_platform_probe()
352 ret = devm_gpio_request_one(&pdev->dev, ac97->reset_gpio, in tegra20_ac97_platform_probe()
Dtegra20_ac97.h91 int reset_gpio; member
/linux-4.4.14/include/linux/platform_data/
Dst1232_pdata.h10 int reset_gpio; member
Dbt-nokia-h4p.h31 unsigned int reset_gpio; member
/linux-4.4.14/include/linux/spi/
Dlms283gf05.h20 unsigned long reset_gpio; member
Dl4f00242t03.h21 unsigned int reset_gpio; member
/linux-4.4.14/include/sound/
Dcs42l73.h16 unsigned int reset_gpio; member
Dcs42l52.h29 unsigned int reset_gpio; member
/linux-4.4.14/include/linux/
Dleds-bd2802.h18 int reset_gpio; member
Dstmmac.h84 int reset_gpio, active_low; member
/linux-4.4.14/arch/arm/mach-pxa/include/mach/
Daudio.h24 int reset_gpio; member
/linux-4.4.14/drivers/leds/
Dleds-bd2802.c208 gpio_set_value(led->pdata->reset_gpio, 0); in bd2802_update_state()
234 gpio_set_value(led->pdata->reset_gpio, 1); in bd2802_reset_cancel()
428 gpio_set_value(led->pdata->reset_gpio, 0); in bd2802_disable_adv_conf()
689 gpio_request_one(pdata->reset_gpio, GPIOF_OUT_INIT_HIGH, "RGB_RESETB"); in bd2802_probe()
703 gpio_set_value(led->pdata->reset_gpio, 0); in bd2802_probe()
738 gpio_set_value(led->pdata->reset_gpio, 0); in bd2802_remove()
768 gpio_set_value(led->pdata->reset_gpio, 0); in bd2802_suspend()
/linux-4.4.14/drivers/iio/adc/
Dhi8435.c434 struct gpio_desc *reset_gpio; in hi8435_probe() local
444 reset_gpio = devm_gpiod_get(&spi->dev, NULL, GPIOD_OUT_LOW); in hi8435_probe()
445 if (IS_ERR(reset_gpio)) { in hi8435_probe()
451 gpiod_set_value(reset_gpio, 1); in hi8435_probe()
/linux-4.4.14/drivers/media/platform/
Dvia-camera.c72 int reset_gpio; member
183 cam->reset_gpio = viafb_gpio_lookup("VGPIO2"); in via_sensor_power_setup()
184 if (cam->power_gpio < 0 || cam->reset_gpio < 0) { in via_sensor_power_setup()
193 ret = gpio_request(cam->reset_gpio, "viafb-camera"); in via_sensor_power_setup()
200 gpio_direction_output(cam->reset_gpio, 0); in via_sensor_power_setup()
210 gpio_set_value(cam->reset_gpio, 0); in via_sensor_power_up()
212 gpio_set_value(cam->reset_gpio, 1); in via_sensor_power_up()
219 gpio_set_value(cam->reset_gpio, 0); in via_sensor_power_down()
227 gpio_free(cam->reset_gpio); in via_sensor_power_release()
/linux-4.4.14/arch/arm/mach-omap2/
Dusb.h58 int reset_gpio; member
Dusb-host.c449 if (!gpio_is_valid(phy->reset_gpio) && in usbhs_init_phys()
463 nop_pdata.gpio_reset = phy->reset_gpio; in usbhs_init_phys()
Dboard-rx51-peripherals.c227 .reset_gpio = RX51_LCD_RESET_GPIO,
/linux-4.4.14/include/linux/usb/
Dtegra_usb_phy.h77 int reset_gpio; member
/linux-4.4.14/arch/arm/mach-imx/
Dmach-pcm043.c250 iomux_v3_cfg_t reset_gpio = MX35_PAD_SD2_CMD__GPIO2_0; in pcm043_ac97_cold_reset() local
267 mxc_iomux_v3_setup_pad(reset_gpio); in pcm043_ac97_cold_reset()
Dmach-mx27_3ds.c452 .reset_gpio = LCD_RESET,
Dmach-mx31_3ds.c286 .reset_gpio = IOMUX_TO_GPIO(MX31_PIN_LCS1),
/linux-4.4.14/Documentation/acpi/
Dgpio-properties.txt82 static const struct acpi_gpio_params reset_gpio = { 1, 1, false };
86 { "reset-gpio", &reset_gpio, 1 },
/linux-4.4.14/drivers/media/i2c/
Dtc358743.c106 struct gpio_desc *reset_gpio; member
1686 gpiod_set_value(state->reset_gpio, 1); in tc358743_gpio_reset()
1688 gpiod_set_value(state->reset_gpio, 0); in tc358743_gpio_reset()
1786 state->reset_gpio = devm_gpiod_get_optional(dev, "reset", in tc358743_probe_of()
1788 if (IS_ERR(state->reset_gpio)) { in tc358743_probe_of()
1790 ret = PTR_ERR(state->reset_gpio); in tc358743_probe_of()
1794 if (state->reset_gpio) in tc358743_probe_of()
/linux-4.4.14/drivers/net/ethernet/smsc/
Dsmc91x.c2290 ret = try_toggle_control_gpio(&pdev->dev, &lp->reset_gpio, in smc_drv_probe()
2299 if (lp->reset_gpio) in smc_drv_probe()
Dsmc91x.h216 struct gpio_desc *reset_gpio; member
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c13291 s8 port, reset_gpio; in bnx2x_8727_common_init_phy() local
13299 reset_gpio = MISC_REGISTERS_GPIO_1; in bnx2x_8727_common_init_phy()
13306 (u8 *)&reset_gpio, (u8 *)&port); in bnx2x_8727_common_init_phy()
13312 bnx2x_set_gpio(bp, reset_gpio, MISC_REGISTERS_GPIO_OUTPUT_LOW, in bnx2x_8727_common_init_phy()
13315 bnx2x_set_gpio(bp, reset_gpio, MISC_REGISTERS_GPIO_OUTPUT_HIGH, in bnx2x_8727_common_init_phy()