Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/iio/potentiometer/
Dad5272.c142 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/
Dpcie-histb.c63 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()
Dpci-imx6.c44 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()
Dpci-exynos.c69 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/
Dclk-max9485.c82 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/
Dmn88443x.c191 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()
Dmn88443x.h21 struct gpio_desc *reset_gpio; member
/linux-4.19.296/drivers/gpio/
Dgpio-xra1403.c166 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()
Dgpio-pca953x.c805 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/
Dpci-mvebu.c154 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 …]
Dpci-aardvark.c279 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/
Dlms283gf05.h20 unsigned long reset_gpio; member
Dl4f00242t03.h21 unsigned int reset_gpio; member
/linux-4.19.296/include/sound/
Dcs42l73.h16 unsigned int reset_gpio; member
Dcs42l52.h29 unsigned int reset_gpio; member
/linux-4.19.296/include/linux/
Dleds-bd2802.h18 int reset_gpio; member
Dstmmac.h100 int reset_gpio, active_low; member
/linux-4.19.296/include/video/
Domap-panel-data.h77 int reset_gpio; member
/linux-4.19.296/include/linux/dsa/
Dlan9303.h24 struct gpio_desc *reset_gpio; member
/linux-4.19.296/drivers/iio/adc/
Dhi8435.c467 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/
Dtegra_usb_phy.h79 int reset_gpio; member
/linux-4.19.296/drivers/iio/frequency/
Dad9523.c273 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()