Searched refs:rsupply (Results 1 – 2 of 2) sorted by relevance
135 if (status == GDSC_ON && sc->rsupply) { in gdsc_toggle_logic()136 ret = regulator_enable(sc->rsupply); in gdsc_toggle_logic()173 if (!ret && status == GDSC_OFF && sc->rsupply) { in gdsc_toggle_logic()174 ret = regulator_disable(sc->rsupply); in gdsc_toggle_logic()401 if (sc->rsupply) { in gdsc_init()402 ret = regulator_enable(sc->rsupply); in gdsc_init()476 scs[i]->rsupply = devm_regulator_get(dev, scs[i]->supply); in gdsc_register()477 if (IS_ERR(scs[i]->rsupply)) in gdsc_register()478 return PTR_ERR(scs[i]->rsupply); in gdsc_register()
61 struct regulator *rsupply; member
Completed in 4 milliseconds