Home
last modified time | relevance | path

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

/drivers/usb/phy/
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()
223 nop->gpiod_reset = devm_gpiod_get_optional(dev, "reset", in usb_phy_gen_create_phy()
225 err = PTR_ERR_OR_ZERO(nop->gpiod_reset); in usb_phy_gen_create_phy()
239 if (nop->gpiod_reset) in usb_phy_gen_create_phy()
240 gpiod_direction_output(nop->gpiod_reset, 1); in usb_phy_gen_create_phy()
Dphy-generic.h14 struct gpio_desc *gpiod_reset; member
/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()
/drivers/gpu/drm/bridge/analogix/
Danalogix-anx6345.c56 struct gpio_desc *gpiod_reset; member
309 gpiod_set_value_cansleep(anx6345->gpiod_reset, 1); in anx6345_poweron()
334 gpiod_set_value_cansleep(anx6345->gpiod_reset, 0); in anx6345_poweron()
352 gpiod_set_value_cansleep(anx6345->gpiod_reset, 1); in anx6345_poweroff()
730 anx6345->gpiod_reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW); in anx6345_i2c_probe()
731 if (IS_ERR(anx6345->gpiod_reset)) { in anx6345_i2c_probe()
733 return PTR_ERR(anx6345->gpiod_reset); in anx6345_i2c_probe()
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()