Searched refs:rsupply (Results 1 – 2 of 2) sorted by relevance
123 if (status == GDSC_ON && sc->rsupply) { in gdsc_toggle_logic()124 ret = regulator_enable(sc->rsupply); in gdsc_toggle_logic()161 if (!ret && status == GDSC_OFF && sc->rsupply) { in gdsc_toggle_logic()162 ret = regulator_disable(sc->rsupply); in gdsc_toggle_logic()378 if (sc->rsupply) { in gdsc_init()379 ret = regulator_enable(sc->rsupply); in gdsc_init()453 scs[i]->rsupply = devm_regulator_get(dev, scs[i]->supply); in gdsc_register()454 if (IS_ERR(scs[i]->rsupply)) in gdsc_register()455 return PTR_ERR(scs[i]->rsupply); in gdsc_register()
66 struct regulator *rsupply; member