Searched refs:rsupply (Results 1 – 2 of 2) sorted by relevance
118 if (status == GDSC_ON && sc->rsupply) { in gdsc_toggle_logic()119 ret = regulator_enable(sc->rsupply); in gdsc_toggle_logic()156 if (!ret && status == GDSC_OFF && sc->rsupply) { in gdsc_toggle_logic()157 ret = regulator_disable(sc->rsupply); in gdsc_toggle_logic()362 if (sc->rsupply) { in gdsc_init()363 ret = regulator_enable(sc->rsupply); in gdsc_init()437 scs[i]->rsupply = devm_regulator_get(dev, scs[i]->supply); in gdsc_register()438 if (IS_ERR(scs[i]->rsupply)) in gdsc_register()439 return PTR_ERR(scs[i]->rsupply); in gdsc_register()
60 struct regulator *rsupply; member