Home
last modified time | relevance | path

Searched refs:vcc_supply (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/drivers/media/spi/
Dcxd2880-spi.c55 struct regulator *vcc_supply; member
523 dvb_spi->vcc_supply = devm_regulator_get_optional(&spi->dev, "vcc"); in cxd2880_spi_probe()
524 if (IS_ERR(dvb_spi->vcc_supply)) { in cxd2880_spi_probe()
525 if (PTR_ERR(dvb_spi->vcc_supply) == -EPROBE_DEFER) { in cxd2880_spi_probe()
529 dvb_spi->vcc_supply = NULL; in cxd2880_spi_probe()
531 ret = regulator_enable(dvb_spi->vcc_supply); in cxd2880_spi_probe()
621 if (dvb_spi->vcc_supply) in cxd2880_spi_probe()
622 regulator_disable(dvb_spi->vcc_supply); in cxd2880_spi_probe()
641 if (dvb_spi->vcc_supply) in cxd2880_spi_remove()
642 regulator_disable(dvb_spi->vcc_supply); in cxd2880_spi_remove()
/Linux-v6.1/drivers/phy/ingenic/
Dphy-ingenic-usb.c95 struct regulator *vcc_supply; member
126 regulator_disable(priv->vcc_supply); in ingenic_usb_phy_exit()
136 err = regulator_enable(priv->vcc_supply); in ingenic_usb_phy_power_on()
149 regulator_disable(priv->vcc_supply); in ingenic_usb_phy_power_off()
346 priv->vcc_supply = devm_regulator_get(dev, "vcc"); in ingenic_usb_phy_probe()
347 if (IS_ERR(priv->vcc_supply)) { in ingenic_usb_phy_probe()
348 err = PTR_ERR(priv->vcc_supply); in ingenic_usb_phy_probe()
/Linux-v6.1/drivers/usb/phy/
Dphy-jz4770.c111 struct regulator *vcc_supply; member
163 err = regulator_enable(priv->vcc_supply); in ingenic_usb_phy_init()
191 regulator_disable(priv->vcc_supply); in ingenic_usb_phy_shutdown()
328 priv->vcc_supply = devm_regulator_get(dev, "vcc"); in jz4770_phy_probe()
329 if (IS_ERR(priv->vcc_supply)) in jz4770_phy_probe()
330 return dev_err_probe(dev, PTR_ERR(priv->vcc_supply), in jz4770_phy_probe()