Searched refs:regulator_enabled (Results 1 – 5 of 5) 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; member123 if (!!on == ta->regulator_enabled) in phy_set_vbus()132 ta->regulator_enabled = on; in phy_set_vbus()
444 bool regulator_enabled; /* regulator state */ member
44 The supply may already be enabled before regulator_enabled() is called.