Home
last modified time | relevance | path

Searched refs:rsupply (Results 1 – 2 of 2) sorted by relevance

/drivers/clk/qcom/
Dgdsc.c123 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()
Dgdsc.h66 struct regulator *rsupply; member