Home
last modified time | relevance | path

Searched refs:gpiod_reset (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/drivers/usb/phy/
Dphy-generic.c63 if (!nop->gpiod_reset) in nop_reset()
66 gpiod_set_value_cansleep(nop->gpiod_reset, 1); in nop_reset()
68 gpiod_set_value_cansleep(nop->gpiod_reset, 0); in nop_reset()
162 gpiod_set_value_cansleep(nop->gpiod_reset, 1); in usb_gen_phy_shutdown()
224 nop->gpiod_reset = devm_gpiod_get_optional(dev, "reset", in usb_phy_gen_create_phy()
226 err = PTR_ERR_OR_ZERO(nop->gpiod_reset); in usb_phy_gen_create_phy()
242 nop->gpiod_reset = in usb_phy_gen_create_phy()
254 if (nop->gpiod_reset) in usb_phy_gen_create_phy()
255 gpiod_direction_output(nop->gpiod_reset, 1); in usb_phy_gen_create_phy()
Dphy-generic.h14 struct gpio_desc *gpiod_reset; member
/Linux-v5.4/drivers/nfc/st-nci/
Dspi.c39 struct gpio_desc *gpiod_reset; member
48 gpiod_set_value(phy->gpiod_reset, 0); in st_nci_spi_enable()
50 gpiod_set_value(phy->gpiod_reset, 1); in st_nci_spi_enable()
246 phy->gpiod_reset = devm_gpiod_get(&dev->dev, "reset", GPIOD_OUT_HIGH); in st_nci_spi_probe()
247 if (IS_ERR(phy->gpiod_reset)) { in st_nci_spi_probe()
249 return PTR_ERR(phy->gpiod_reset); in st_nci_spi_probe()
Di2c.c38 struct gpio_desc *gpiod_reset; member
47 gpiod_set_value(phy->gpiod_reset, 0); in st_nci_i2c_enable()
49 gpiod_set_value(phy->gpiod_reset, 1); in st_nci_i2c_enable()
230 phy->gpiod_reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in st_nci_i2c_probe()
231 if (IS_ERR(phy->gpiod_reset)) { in st_nci_i2c_probe()
/Linux-v5.4/sound/soc/codecs/
Dcs42xx8.c49 struct gpio_desc *gpiod_reset; member
550 cs42xx8->gpiod_reset = devm_gpiod_get_optional(dev, "reset", in cs42xx8_probe()
552 if (IS_ERR(cs42xx8->gpiod_reset)) in cs42xx8_probe()
553 return PTR_ERR(cs42xx8->gpiod_reset); in cs42xx8_probe()
555 gpiod_set_value_cansleep(cs42xx8->gpiod_reset, 0); in cs42xx8_probe()
637 gpiod_set_value_cansleep(cs42xx8->gpiod_reset, 0); in cs42xx8_runtime_resume()
678 gpiod_set_value_cansleep(cs42xx8->gpiod_reset, 1); in cs42xx8_runtime_suspend()
Drt5659.h1797 struct gpio_desc *gpiod_reset; member
Drt5665.c48 struct gpio_desc *gpiod_reset; member
Drt5659.c4138 rt5659->gpiod_reset = devm_gpiod_get_optional(&i2c->dev, "reset", in rt5659_i2c_probe()
/Linux-v5.4/drivers/gpu/drm/bridge/
Danalogix-anx78xx.c53 struct gpio_desc *gpiod_reset; member
622 gpiod_set_value_cansleep(pdata->gpiod_reset, 1); in anx78xx_poweron()
628 gpiod_set_value_cansleep(pdata->gpiod_reset, 0); in anx78xx_poweron()
647 gpiod_set_value_cansleep(pdata->gpiod_reset, 1); in anx78xx_poweroff()
733 pdata->gpiod_reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW); in anx78xx_init_pdata()
735 return PTR_ERR_OR_ZERO(pdata->gpiod_reset); in anx78xx_init_pdata()