/linux-4.4.14/drivers/power/reset/ |
D | gpio-poweroff.c | 26 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()
|
D | gpio-restart.c | 27 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/ |
D | pwrseq_emmc.c | 25 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/ |
D | reset.c | 23 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()
|
D | pxa27x.c | 57 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()
|
D | colibri-pxa270.c | 249 .reset_gpio = 95,
|
D | palm27x.c | 254 palm27x_ac97_pdata.reset_gpio = reset; in palm27x_ac97_init()
|
D | vpac270.c | 433 .reset_gpio = 95,
|
D | z2.c | 579 .reset_gpio = GPIO19_ZIPITZ2_LCD_RESET,
|
D | mioa701.c | 657 .reset_gpio = 95,
|
D | zeus.c | 516 .reset_gpio = 95,
|
D | em-x270.c | 832 .reset_gpio = 113,
|
/linux-4.4.14/sound/soc/codecs/ |
D | ak5386.c | 27 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()
|
D | cs4349.c | 49 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()
|
D | cs35l32.c | 49 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()
|
D | tas571x.c | 48 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()
|
D | adau1977.c | 116 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()
|
D | cs4265.c | 36 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()
|
D | cs42l73.c | 1318 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()
|
D | cs42l52.c | 1141 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/ |
D | pxa2xx-ac97-lib.c | 35 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/ |
D | pci-lantiq.c | 68 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/ |
D | st1232.c | 55 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()
|
D | ft6236.c | 44 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()
|
D | tsc200x-core.c | 116 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()
|
D | edt-ft5x06.c | 92 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()
|
D | elants_i2c.c | 128 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/ |
D | stmmac_mdio.c | 142 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/ |
D | panel-samsung-ld9040.c | 95 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()
|
D | panel-samsung-s6e8aa0.c | 99 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/ |
D | lms283gf05.c | 135 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()
|
D | l4f00242t03.c | 82 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/ |
D | panel-sony-acx565akm.c | 71 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 …]
|
D | panel-dsi-cm.c | 60 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/ |
D | rfkill-gpio.c | 35 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/ |
D | cs42l73.txt | 11 - reset_gpio : a GPIO spec for the reset pin. 20 reset_gpio = <&gpio 10 0>;
|
/linux-4.4.14/include/video/ |
D | omap-panel-data.h | 137 int reset_gpio; member 160 int reset_gpio; member
|
/linux-4.4.14/drivers/pci/host/ |
D | pci-imx6.c | 35 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()
|
D | pci-mvebu.c | 146 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 …]
|
D | pci-exynos.c | 35 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/ |
D | phy-tegra-usb.c | 614 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/ |
D | tegra20_ac97.c | 52 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()
|
D | tegra20_ac97.h | 91 int reset_gpio; member
|
/linux-4.4.14/include/linux/platform_data/ |
D | st1232_pdata.h | 10 int reset_gpio; member
|
D | bt-nokia-h4p.h | 31 unsigned int reset_gpio; member
|
/linux-4.4.14/include/linux/spi/ |
D | lms283gf05.h | 20 unsigned long reset_gpio; member
|
D | l4f00242t03.h | 21 unsigned int reset_gpio; member
|
/linux-4.4.14/include/sound/ |
D | cs42l73.h | 16 unsigned int reset_gpio; member
|
D | cs42l52.h | 29 unsigned int reset_gpio; member
|
/linux-4.4.14/include/linux/ |
D | leds-bd2802.h | 18 int reset_gpio; member
|
D | stmmac.h | 84 int reset_gpio, active_low; member
|
/linux-4.4.14/arch/arm/mach-pxa/include/mach/ |
D | audio.h | 24 int reset_gpio; member
|
/linux-4.4.14/drivers/leds/ |
D | leds-bd2802.c | 208 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/ |
D | hi8435.c | 434 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/ |
D | via-camera.c | 72 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/ |
D | usb.h | 58 int reset_gpio; member
|
D | usb-host.c | 449 if (!gpio_is_valid(phy->reset_gpio) && in usbhs_init_phys() 463 nop_pdata.gpio_reset = phy->reset_gpio; in usbhs_init_phys()
|
D | board-rx51-peripherals.c | 227 .reset_gpio = RX51_LCD_RESET_GPIO,
|
/linux-4.4.14/include/linux/usb/ |
D | tegra_usb_phy.h | 77 int reset_gpio; member
|
/linux-4.4.14/arch/arm/mach-imx/ |
D | mach-pcm043.c | 250 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()
|
D | mach-mx27_3ds.c | 452 .reset_gpio = LCD_RESET,
|
D | mach-mx31_3ds.c | 286 .reset_gpio = IOMUX_TO_GPIO(MX31_PIN_LCS1),
|
/linux-4.4.14/Documentation/acpi/ |
D | gpio-properties.txt | 82 static const struct acpi_gpio_params reset_gpio = { 1, 1, false }; 86 { "reset-gpio", &reset_gpio, 1 },
|
/linux-4.4.14/drivers/media/i2c/ |
D | tc358743.c | 106 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/ |
D | smc91x.c | 2290 ret = try_toggle_control_gpio(&pdev->dev, &lp->reset_gpio, in smc_drv_probe() 2299 if (lp->reset_gpio) in smc_drv_probe()
|
D | smc91x.h | 216 struct gpio_desc *reset_gpio; member
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.c | 13291 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()
|