Home
last modified time | relevance | path

Searched refs:regulator_set_enable_if_allowed (Results 1 – 12 of 12) sorted by relevance

/u-boot/common/
A Dusb_onboard_hub.c30 ret = regulator_set_enable_if_allowed(hub->vdd, true); in usb_onboard_hub_probe()
42 ret = regulator_set_enable_if_allowed(hub->vdd, false); in usb_onboard_hub_remove()
/u-boot/include/power/
A Dregulator.h368 int regulator_set_enable_if_allowed(struct udevice *dev, bool enable);
604 static inline int regulator_set_enable_if_allowed(struct udevice *dev, bool enable) in regulator_set_enable_if_allowed() function
/u-boot/drivers/video/
A Dendeavoru-panel.c70 ret = regulator_set_enable_if_allowed(priv->vddio, 1); in endeavoru_panel_enable_backlight()
77 ret = regulator_set_enable_if_allowed(priv->vdd, 1); in endeavoru_panel_enable_backlight()
A Drenesas-r61307.c125 ret = regulator_set_enable_if_allowed(priv->vcc, 1); in renesas_r61307_enable_backlight()
132 ret = regulator_set_enable_if_allowed(priv->iovcc, 1); in renesas_r61307_enable_backlight()
/u-boot/drivers/phy/
A Dphy-uclass.c313 ret = regulator_set_enable_if_allowed(counts->supply, true); in generic_phy_power_on()
326 regulator_set_enable_if_allowed(counts->supply, false); in generic_phy_power_on()
362 ret = regulator_set_enable_if_allowed(counts->supply, false); in generic_phy_power_off()
A Dphy-stm32-usbphyc.c378 ret = regulator_set_enable_if_allowed(usbphyc_phy->vbus, false); in stm32_usbphyc_phy_power_off()
383 ret = regulator_set_enable_if_allowed(usbphyc_phy->vdd, false); in stm32_usbphyc_phy_power_off()
/u-boot/drivers/mmc/
A Dsdhci.c560 if (regulator_set_enable_if_allowed(mmc->vqmmc_supply, false)) {
570 if (regulator_set_enable_if_allowed(mmc->vqmmc_supply, true)) {
596 if (regulator_set_enable_if_allowed(mmc->vqmmc_supply, false)) {
606 if (regulator_set_enable_if_allowed(mmc->vqmmc_supply, true)) {
A Domap_hsmmc.c482 ret = regulator_set_enable_if_allowed(priv->pbias_supply, false); in omap_hsmmc_set_io_regulator()
487 ret = regulator_set_enable_if_allowed(mmc->vqmmc_supply, false); in omap_hsmmc_set_io_regulator()
495 ret = regulator_set_enable_if_allowed(mmc->vqmmc_supply, true); in omap_hsmmc_set_io_regulator()
504 ret = regulator_set_enable_if_allowed(priv->pbias_supply, true); in omap_hsmmc_set_io_regulator()
A Ddw_mmc.c517 ret = regulator_set_enable_if_allowed(mmc->vqmmc_supply, true);
A Dstm32_sdmmc2.c582 if (regulator_set_enable_if_allowed(plat->mmc.vqmmc_supply, true)) in stm32_sdmmc2_pwron()
/u-boot/test/dm/
A Dregulator.c194 ut_assertok(regulator_set_enable_if_allowed(dev, val_set)); in dm_test_power_regulator_set_enable_if_allowed()
/u-boot/drivers/power/regulator/
A Dregulator-uclass.c193 int regulator_set_enable_if_allowed(struct udevice *dev, bool enable) in regulator_set_enable_if_allowed() function

Completed in 33 milliseconds