Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
652 if (dvb_spi->vcc_supply) in cxd2880_spi_remove()
653 regulator_disable(dvb_spi->vcc_supply); in cxd2880_spi_remove()
/kernel/linux/linux-5.10/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()
331 priv->vcc_supply = devm_regulator_get(dev, "vcc"); in jz4770_phy_probe()
332 if (IS_ERR(priv->vcc_supply)) { in jz4770_phy_probe()
333 err = PTR_ERR(priv->vcc_supply); in jz4770_phy_probe()