Searched refs:rsupply (Results 1 – 2 of 2) sorted by relevance
142 if (status == GDSC_ON && sc->rsupply) { in gdsc_toggle_logic()143 ret = regulator_enable(sc->rsupply); in gdsc_toggle_logic()178 if (!ret && status == GDSC_OFF && sc->rsupply) { in gdsc_toggle_logic()179 ret = regulator_disable(sc->rsupply); in gdsc_toggle_logic()405 if (sc->rsupply) { in gdsc_init()406 ret = regulator_enable(sc->rsupply); in gdsc_init()460 if (on && sc->rsupply) in gdsc_init()461 regulator_disable(sc->rsupply); in gdsc_init()488 scs[i]->rsupply = devm_regulator_get(dev, scs[i]->supply); in gdsc_register()489 if (IS_ERR(scs[i]->rsupply)) in gdsc_register()[all …]
75 struct regulator *rsupply; member