Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/phy/
H A Dphy-generic.c62 if (!nop->gpiod_reset) in nop_reset()
65 gpiod_set_value_cansleep(nop->gpiod_reset, 1); in nop_reset()
67 gpiod_set_value_cansleep(nop->gpiod_reset, 0); in nop_reset()
161 gpiod_set_value_cansleep(nop->gpiod_reset, 1); in usb_gen_phy_shutdown()
222 nop->gpiod_reset = devm_gpiod_get_optional(dev, "reset", in usb_phy_gen_create_phy()
224 err = PTR_ERR_OR_ZERO(nop->gpiod_reset); in usb_phy_gen_create_phy()
235 if (nop->gpiod_reset) in usb_phy_gen_create_phy()
236 gpiod_direction_output(nop->gpiod_reset, 1); in usb_phy_gen_create_phy()
H A Dphy-generic.h14 struct gpio_desc *gpiod_reset; member
/openbmc/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()
/openbmc/linux/drivers/iio/pressure/
H A Dmprls0025pa.c115 struct gpio_desc *gpiod_reset; /* reset */ member
148 if (data->gpiod_reset) { in mpr_reset()
149 gpiod_set_value(data->gpiod_reset, 0); in mpr_reset()
151 gpiod_set_value(data->gpiod_reset, 1); in mpr_reset()
406 data->gpiod_reset = devm_gpiod_get_optional(dev, "reset", in mpr_probe()
408 if (IS_ERR(data->gpiod_reset)) in mpr_probe()
409 return dev_err_probe(dev, PTR_ERR(data->gpiod_reset), in mpr_probe()
/openbmc/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()
621 gpiod_set_value_cansleep(cs42xx8->gpiod_reset, 0); in cs42xx8_runtime_resume()
662 gpiod_set_value_cansleep(cs42xx8->gpiod_reset, 1); in cs42xx8_runtime_suspend()
H A Drt5659.h1797 struct gpio_desc *gpiod_reset; member
H A Drt5665.c47 struct gpio_desc *gpiod_reset; member
H A Drt5659.c4119 rt5659->gpiod_reset = devm_gpiod_get_optional(&i2c->dev, "reset", in rt5659_i2c_probe()
/openbmc/linux/drivers/gpu/drm/bridge/analogix/
H A Danalogix-anx6345.c55 struct gpio_desc *gpiod_reset; member
308 gpiod_set_value_cansleep(anx6345->gpiod_reset, 1); in anx6345_poweron()
333 gpiod_set_value_cansleep(anx6345->gpiod_reset, 0); in anx6345_poweron()
351 gpiod_set_value_cansleep(anx6345->gpiod_reset, 1); in anx6345_poweroff()
740 anx6345->gpiod_reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW); in anx6345_i2c_probe()
741 if (IS_ERR(anx6345->gpiod_reset)) { in anx6345_i2c_probe()
743 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()
/openbmc/linux/drivers/gpu/drm/bridge/
H A Dite-it6505.c349 struct gpio_desc *gpiod_reset; member
2585 if (pdata->gpiod_reset) { in it6505_poweron()
2587 gpiod_set_value_cansleep(pdata->gpiod_reset, 0); in it6505_poweron()
2589 gpiod_set_value_cansleep(pdata->gpiod_reset, 1); in it6505_poweron()
2615 if (pdata->gpiod_reset) in it6505_poweroff()
2616 gpiod_set_value_cansleep(pdata->gpiod_reset, 0); in it6505_poweroff()
3106 pdata->gpiod_reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW); in it6505_init_pdata()
3107 if (IS_ERR(pdata->gpiod_reset)) { in it6505_init_pdata()
3109 return PTR_ERR(pdata->gpiod_reset); in it6505_init_pdata()