/openbmc/linux/drivers/usb/phy/ |
H A D | phy-generic.c | 62 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 D | phy-generic.h | 14 struct gpio_desc *gpiod_reset; member
|
/openbmc/linux/drivers/nfc/st-nci/ |
H A D | spi.c | 39 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 D | i2c.c | 38 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 D | mprls0025pa.c | 115 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 D | cs42xx8.c | 48 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 D | rt5659.h | 1797 struct gpio_desc *gpiod_reset; member
|
H A D | rt5659.c | 4119 rt5659->gpiod_reset = devm_gpiod_get_optional(&i2c->dev, "reset", in rt5659_i2c_probe()
|
H A D | rt5665.c | 47 struct gpio_desc *gpiod_reset; member
|
/openbmc/linux/drivers/gpu/drm/bridge/analogix/ |
H A D | analogix-anx6345.c | 55 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 D | analogix-anx78xx.c | 60 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 D | ite-it6505.c | 349 struct gpio_desc *gpiod_reset; member 2625 if (pdata->gpiod_reset) { in it6505_poweron() 2627 gpiod_set_value_cansleep(pdata->gpiod_reset, 1); in it6505_poweron() 2629 gpiod_set_value_cansleep(pdata->gpiod_reset, 0); in it6505_poweron() 2655 if (pdata->gpiod_reset) in it6505_poweroff() 2656 gpiod_set_value_cansleep(pdata->gpiod_reset, 1); in it6505_poweroff() 3148 pdata->gpiod_reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in it6505_init_pdata() 3149 if (IS_ERR(pdata->gpiod_reset)) { in it6505_init_pdata() 3151 return PTR_ERR(pdata->gpiod_reset); in it6505_init_pdata()
|