Home
last modified time | relevance | path

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

/linux/drivers/clk/qcom/
A Dgdsc.c135 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()
A Dgdsc.h61 struct regulator *rsupply; member

Completed in 4 milliseconds