Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/spi/
H A 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()
/openbmc/linux/drivers/phy/ingenic/
H A Dphy-ingenic-usb.c96 struct regulator *vcc_supply; member
127 regulator_disable(priv->vcc_supply); in ingenic_usb_phy_exit()
137 err = regulator_enable(priv->vcc_supply); in ingenic_usb_phy_power_on()
150 regulator_disable(priv->vcc_supply); in ingenic_usb_phy_power_off()
347 priv->vcc_supply = devm_regulator_get(dev, "vcc"); in ingenic_usb_phy_probe()
348 if (IS_ERR(priv->vcc_supply)) { in ingenic_usb_phy_probe()
349 err = PTR_ERR(priv->vcc_supply); in ingenic_usb_phy_probe()
/openbmc/linux/drivers/usb/typec/mux/
H A Dnb7vpq904m.c65 struct regulator *vcc_supply; member
445 nb7->vcc_supply = devm_regulator_get_optional(dev, "vcc"); in nb7vpq904m_probe()
446 if (IS_ERR(nb7->vcc_supply)) in nb7vpq904m_probe()
447 return PTR_ERR(nb7->vcc_supply); in nb7vpq904m_probe()
458 ret = regulator_enable(nb7->vcc_supply); in nb7vpq904m_probe()
497 regulator_disable(nb7->vcc_supply); in nb7vpq904m_probe()
511 regulator_disable(nb7->vcc_supply); in nb7vpq904m_remove()
/openbmc/linux/Documentation/devicetree/bindings/display/panel/
H A Dpanel-dpi.yaml45 power-supply = <&vcc_supply>;