Home
last modified time | relevance | path

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

/linux/drivers/clk/qcom/
H A Dgdsc.c152 if (status == GDSC_ON && sc->rsupply) { in gdsc_toggle_logic()
153 ret = regulator_enable(sc->rsupply); in gdsc_toggle_logic()
200 if (!ret && status == GDSC_OFF && sc->rsupply) { in gdsc_toggle_logic()
201 ret = regulator_disable(sc->rsupply); in gdsc_toggle_logic()
209 if (status == GDSC_ON && sc->rsupply) in gdsc_toggle_logic()
210 regulator_disable(sc->rsupply); in gdsc_toggle_logic()
470 if (sc->rsupply) { in gdsc_init()
471 ret = regulator_enable(sc->rsupply); in gdsc_init()
532 if (on && sc->rsupply) in gdsc_init()
533 regulator_disable(sc->rsupply); in gdsc_init()
[all …]
H A Dgdsc.h77 struct regulator *rsupply; member