Searched refs:regulator_enabled (Results 1 – 6 of 6) sorted by relevance
117 if (result == 0 && !mmc->regulator_enabled) { in mmc_regulator_set_ocr()120 mmc->regulator_enabled = true; in mmc_regulator_set_ocr()122 } else if (mmc->regulator_enabled) { in mmc_regulator_set_ocr()125 mmc->regulator_enabled = false; in mmc_regulator_set_ocr()
108 static int regulator_enabled; in update_charger() local125 if (!regulator_enabled) { in update_charger()128 regulator_enabled = 1; in update_charger()131 if (regulator_enabled) { in update_charger()134 regulator_enabled = 0; in update_charger()
46 bool regulator_enabled; member127 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()
46 bool regulator_enabled; member123 if (!!on == ta->regulator_enabled) in phy_set_vbus()132 ta->regulator_enabled = on; in phy_set_vbus()
488 bool regulator_enabled; /* regulator state */ member
44 The supply may already be enabled before regulator_enabled() is called.