Home
last modified time | relevance | path

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

/linux/drivers/usb/phy/
H A Dphy-generic.c66 if (!nop->gpiod_reset) in nop_reset()
69 gpiod_set_value_cansleep(nop->gpiod_reset, 1); in nop_reset()
71 gpiod_set_value_cansleep(nop->gpiod_reset, 0); in nop_reset()
152 gpiod_set_value_cansleep(nop->gpiod_reset, 1); in usb_gen_phy_shutdown()
203 nop->gpiod_reset = devm_gpiod_get_optional(dev, "reset", in usb_phy_gen_create_phy()
205 err = PTR_ERR_OR_ZERO(nop->gpiod_reset); in usb_phy_gen_create_phy()
216 if (nop->gpiod_reset) in usb_phy_gen_create_phy()
217 gpiod_direction_output(nop->gpiod_reset, 1); in usb_phy_gen_create_phy()
H A Dphy-generic.h14 struct gpio_desc *gpiod_reset; member
/linux/drivers/nfc/st-nci/
H A 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()
236 phy->gpiod_reset = devm_gpiod_get(&dev->dev, "reset", GPIOD_OUT_HIGH); in st_nci_spi_probe()
237 if (IS_ERR(phy->gpiod_reset)) { in st_nci_spi_probe()
239 return PTR_ERR(phy->gpiod_reset); in st_nci_spi_probe()
H A 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()
222 phy->gpiod_reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in st_nci_i2c_probe()
223 if (IS_ERR(phy->gpiod_reset)) { in st_nci_i2c_probe()
/linux/drivers/iio/pressure/
H A Dmprls0025pa.c180 if (data->gpiod_reset) { in mpr_reset()
181 gpiod_set_value(data->gpiod_reset, 0); in mpr_reset()
183 gpiod_set_value(data->gpiod_reset, 1); in mpr_reset()
419 data->gpiod_reset = devm_gpiod_get_optional(dev, "reset", in mpr_common_probe()
421 if (IS_ERR(data->gpiod_reset)) in mpr_common_probe()
422 return dev_err_probe(dev, PTR_ERR(data->gpiod_reset), in mpr_common_probe()
H A Dmprls0025pa.h72 struct gpio_desc *gpiod_reset; member
/linux/sound/soc/codecs/
H A Dcs42xx8.c48 struct gpio_desc *gpiod_reset; member
534 cs42xx8->gpiod_reset = devm_gpiod_get_optional(dev, "reset", in cs42xx8_probe()
536 if (IS_ERR(cs42xx8->gpiod_reset)) in cs42xx8_probe()
537 return PTR_ERR(cs42xx8->gpiod_reset); in cs42xx8_probe()
539 gpiod_set_value_cansleep(cs42xx8->gpiod_reset, 0); in cs42xx8_probe()
620 gpiod_set_value_cansleep(cs42xx8->gpiod_reset, 0); in cs42xx8_runtime_resume()
661 gpiod_set_value_cansleep(cs42xx8->gpiod_reset, 1); in cs42xx8_runtime_suspend()
H A Drt5659.h1797 struct gpio_desc *gpiod_reset; member
H A Drt5659.c4118 rt5659->gpiod_reset = devm_gpiod_get_optional(&i2c->dev, "reset", in rt5659_i2c_probe()
H A Drt5665.c45 struct gpio_desc *gpiod_reset; member
/linux/drivers/gpu/drm/bridge/analogix/
H A Danalogix-anx6345.c55 struct gpio_desc *gpiod_reset; member
280 gpiod_set_value_cansleep(anx6345->gpiod_reset, 1); in anx6345_poweron()
305 gpiod_set_value_cansleep(anx6345->gpiod_reset, 0); in anx6345_poweron()
323 gpiod_set_value_cansleep(anx6345->gpiod_reset, 1); in anx6345_poweroff()
708 anx6345->gpiod_reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW); in anx6345_i2c_probe()
709 if (IS_ERR(anx6345->gpiod_reset)) { in anx6345_i2c_probe()
711 return PTR_ERR(anx6345->gpiod_reset); in anx6345_i2c_probe()
H A Danalogix-anx78xx.c60 struct gpio_desc *gpiod_reset; member
486 gpiod_set_value_cansleep(pdata->gpiod_reset, 1); in anx78xx_poweron()
492 gpiod_set_value_cansleep(pdata->gpiod_reset, 0); in anx78xx_poweron()
511 gpiod_set_value_cansleep(pdata->gpiod_reset, 1); in anx78xx_poweroff()
599 pdata->gpiod_reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW); in anx78xx_init_pdata()
601 return PTR_ERR_OR_ZERO(pdata->gpiod_reset); in anx78xx_init_pdata()
/linux/drivers/gpu/drm/bridge/
H A Dite-it6505.c374 struct gpio_desc *gpiod_reset; member
2773 if (pdata->gpiod_reset) { in it6505_poweron()
2775 gpiod_set_value_cansleep(pdata->gpiod_reset, 1); in it6505_poweron()
2777 gpiod_set_value_cansleep(pdata->gpiod_reset, 0); in it6505_poweron()
2807 if (pdata->gpiod_reset) in it6505_poweroff()
2808 gpiod_set_value_cansleep(pdata->gpiod_reset, 1); in it6505_poweroff()
3293 pdata->gpiod_reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in it6505_init_pdata()
3294 if (IS_ERR(pdata->gpiod_reset)) { in it6505_init_pdata()
3296 return PTR_ERR(pdata->gpiod_reset); in it6505_init_pdata()