/linux-4.19.296/drivers/iio/potentiometer/ |
D | ad5272.c | 142 struct gpio_desc *reset_gpio; in ad5272_reset() local 144 reset_gpio = devm_gpiod_get_optional(&data->client->dev, "reset", in ad5272_reset() 146 if (IS_ERR(reset_gpio)) in ad5272_reset() 147 return PTR_ERR(reset_gpio); in ad5272_reset() 149 if (reset_gpio) { in ad5272_reset() 151 gpiod_set_value(reset_gpio, 1); in ad5272_reset()
|
/linux-4.19.296/drivers/pci/controller/dwc/ |
D | pcie-histb.c | 63 int reset_gpio; member 222 if (gpio_is_valid(hipcie->reset_gpio)) in histb_pcie_host_disable() 223 gpio_set_value_cansleep(hipcie->reset_gpio, 0); in histb_pcie_host_disable() 245 if (gpio_is_valid(hipcie->reset_gpio)) in histb_pcie_host_enable() 246 gpio_set_value_cansleep(hipcie->reset_gpio, 1); in histb_pcie_host_enable() 348 hipcie->reset_gpio = of_get_named_gpio_flags(np, in histb_pcie_probe() 352 if (gpio_is_valid(hipcie->reset_gpio)) { in histb_pcie_probe() 353 ret = devm_gpio_request_one(dev, hipcie->reset_gpio, in histb_pcie_probe()
|
D | pci-imx6.c | 44 int reset_gpio; member 424 if (gpio_is_valid(imx6_pcie->reset_gpio)) { in imx6_pcie_deassert_core_reset() 425 gpio_set_value_cansleep(imx6_pcie->reset_gpio, in imx6_pcie_deassert_core_reset() 428 gpio_set_value_cansleep(imx6_pcie->reset_gpio, in imx6_pcie_deassert_core_reset() 709 imx6_pcie->reset_gpio = of_get_named_gpio(node, "reset-gpio", 0); in imx6_pcie_probe() 712 if (gpio_is_valid(imx6_pcie->reset_gpio)) { in imx6_pcie_probe() 713 ret = devm_gpio_request_one(dev, imx6_pcie->reset_gpio, in imx6_pcie_probe() 722 } else if (imx6_pcie->reset_gpio == -EPROBE_DEFER) { in imx6_pcie_probe() 723 return imx6_pcie->reset_gpio; in imx6_pcie_probe()
|
D | pci-exynos.c | 69 int reset_gpio; member 229 if (ep->reset_gpio >= 0) in exynos_pcie_assert_reset() 230 devm_gpio_request_one(dev, ep->reset_gpio, in exynos_pcie_assert_reset() 464 ep->reset_gpio = of_get_named_gpio(np, "reset-gpio", 0); in exynos_pcie_probe()
|
/linux-4.19.296/drivers/clk/ |
D | clk-max9485.c | 82 struct gpio_desc *reset_gpio; member 283 drvdata->reset_gpio = in max9485_i2c_probe() 285 if (IS_ERR(drvdata->reset_gpio)) in max9485_i2c_probe() 286 return PTR_ERR(drvdata->reset_gpio); in max9485_i2c_probe() 339 gpiod_set_value_cansleep(drvdata->reset_gpio, 0); in max9485_suspend() 350 gpiod_set_value_cansleep(drvdata->reset_gpio, 1); in max9485_resume()
|
/linux-4.19.296/drivers/media/dvb-frontends/ |
D | mn88443x.c | 191 struct gpio_desc *reset_gpio; member 220 gpiod_set_value_cansleep(chip->reset_gpio, 1); in mn88443x_cmn_power_on() 222 gpiod_set_value_cansleep(chip->reset_gpio, 0); in mn88443x_cmn_power_on() 238 gpiod_set_value_cansleep(chip->reset_gpio, 1); in mn88443x_cmn_power_off() 709 chip->reset_gpio = devm_gpiod_get_optional(dev, "reset", in mn88443x_probe() 711 if (IS_ERR(chip->reset_gpio)) { in mn88443x_probe() 713 PTR_ERR(chip->reset_gpio)); in mn88443x_probe() 714 return PTR_ERR(chip->reset_gpio); in mn88443x_probe() 720 chip->reset_gpio = conf->reset_gpio; in mn88443x_probe()
|
D | mn88443x.h | 21 struct gpio_desc *reset_gpio; member
|
/linux-4.19.296/drivers/gpio/ |
D | gpio-xra1403.c | 166 struct gpio_desc *reset_gpio; in xra1403_probe() local 174 reset_gpio = devm_gpiod_get_optional(&spi->dev, "reset", GPIOD_OUT_LOW); in xra1403_probe() 175 if (IS_ERR(reset_gpio)) in xra1403_probe()
|
D | gpio-pca953x.c | 805 struct gpio_desc *reset_gpio; in pca953x_probe() local 817 reset_gpio = devm_gpiod_get_optional(&client->dev, "reset", in pca953x_probe() 819 if (IS_ERR(reset_gpio)) in pca953x_probe() 820 return PTR_ERR(reset_gpio); in pca953x_probe()
|
/linux-4.19.296/drivers/pci/controller/ |
D | pci-mvebu.c | 154 struct gpio_desc *reset_gpio; member 997 int reset_gpio, ret; in mvebu_pcie_parse_port() local 1037 reset_gpio = of_get_named_gpio_flags(child, "reset-gpios", 0, &flags); in mvebu_pcie_parse_port() 1038 if (reset_gpio == -EPROBE_DEFER) { in mvebu_pcie_parse_port() 1039 ret = reset_gpio; in mvebu_pcie_parse_port() 1043 if (gpio_is_valid(reset_gpio)) { in mvebu_pcie_parse_port() 1062 ret = devm_gpio_request_one(dev, reset_gpio, gpio_flags, in mvebu_pcie_parse_port() 1070 port->reset_gpio = gpio_to_desc(reset_gpio); in mvebu_pcie_parse_port() 1113 if (port->reset_gpio) { in mvebu_pcie_powerup() 1121 gpiod_set_value_cansleep(port->reset_gpio, 0); in mvebu_pcie_powerup() [all …]
|
D | pci-aardvark.c | 279 struct gpio_desc *reset_gpio; member 340 if (!pcie->reset_gpio) in advk_pcie_issue_perst() 345 gpiod_set_value_cansleep(pcie->reset_gpio, 1); in advk_pcie_issue_perst() 347 gpiod_set_value_cansleep(pcie->reset_gpio, 0); in advk_pcie_issue_perst() 1267 pcie->reset_gpio = devm_gpiod_get_from_of_node(dev, dev->of_node, in advk_pcie_probe() 1271 ret = PTR_ERR_OR_ZERO(pcie->reset_gpio); in advk_pcie_probe() 1274 pcie->reset_gpio = NULL; in advk_pcie_probe()
|
/linux-4.19.296/include/linux/spi/ |
D | lms283gf05.h | 20 unsigned long reset_gpio; member
|
D | l4f00242t03.h | 21 unsigned int reset_gpio; member
|
/linux-4.19.296/include/sound/ |
D | cs42l73.h | 16 unsigned int reset_gpio; member
|
D | cs42l52.h | 29 unsigned int reset_gpio; member
|
/linux-4.19.296/include/linux/ |
D | leds-bd2802.h | 18 int reset_gpio; member
|
D | stmmac.h | 100 int reset_gpio, active_low; member
|
/linux-4.19.296/include/video/ |
D | omap-panel-data.h | 77 int reset_gpio; member
|
/linux-4.19.296/include/linux/dsa/ |
D | lan9303.h | 24 struct gpio_desc *reset_gpio; member
|
/linux-4.19.296/drivers/iio/adc/ |
D | hi8435.c | 467 struct gpio_desc *reset_gpio; in hi8435_probe() local 477 reset_gpio = devm_gpiod_get(&spi->dev, NULL, GPIOD_OUT_LOW); in hi8435_probe() 478 if (IS_ERR(reset_gpio)) { in hi8435_probe() 484 gpiod_set_value(reset_gpio, 1); in hi8435_probe()
|
/linux-4.19.296/include/linux/usb/ |
D | tegra_usb_phy.h | 79 int reset_gpio; member
|
/linux-4.19.296/drivers/iio/frequency/ |
D | ad9523.c | 273 struct gpio_desc *reset_gpio; member 1002 st->reset_gpio = devm_gpiod_get_optional(&spi->dev, "reset", in ad9523_probe() 1004 if (IS_ERR(st->reset_gpio)) { in ad9523_probe() 1005 ret = PTR_ERR(st->reset_gpio); in ad9523_probe() 1009 if (st->reset_gpio) { in ad9523_probe() 1011 gpiod_direction_output(st->reset_gpio, 1); in ad9523_probe()
|