Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mmc/core/
H A Dregulator.c120 if (result == 0 && !mmc->regulator_enabled) { in mmc_regulator_set_ocr()
123 mmc->regulator_enabled = true; in mmc_regulator_set_ocr()
125 } else if (mmc->regulator_enabled) { in mmc_regulator_set_ocr()
128 mmc->regulator_enabled = false; in mmc_regulator_set_ocr()
/openbmc/linux/drivers/phy/
H A Dphy-lgm-usb.c46 bool regulator_enabled; member
123 if (!!on == ta->regulator_enabled) in phy_set_vbus()
132 ta->regulator_enabled = on; in phy_set_vbus()
/openbmc/linux/drivers/hwmon/
H A Dpwm-fan.c46 bool regulator_enabled; member
127 if (!ctx->regulator_enabled && on) { in pwm_fan_switch_power()
130 ctx->regulator_enabled = true; in pwm_fan_switch_power()
131 } else if (ctx->regulator_enabled && !on) { in pwm_fan_switch_power()
134 ctx->regulator_enabled = false; in pwm_fan_switch_power()
/openbmc/linux/include/linux/mmc/
H A Dhost.h495 bool regulator_enabled; /* regulator state */ member