Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/clk/qcom/
Dgdsc.c142 if (status == GDSC_ON && sc->rsupply) { in gdsc_toggle_logic()
143 ret = regulator_enable(sc->rsupply); in gdsc_toggle_logic()
178 if (!ret && status == GDSC_OFF && sc->rsupply) { in gdsc_toggle_logic()
179 ret = regulator_disable(sc->rsupply); in gdsc_toggle_logic()
405 if (sc->rsupply) { in gdsc_init()
406 ret = regulator_enable(sc->rsupply); in gdsc_init()
460 if (on && sc->rsupply) in gdsc_init()
461 regulator_disable(sc->rsupply); in gdsc_init()
488 scs[i]->rsupply = devm_regulator_get(dev, scs[i]->supply); in gdsc_register()
489 if (IS_ERR(scs[i]->rsupply)) in gdsc_register()
[all …]
Dgdsc.h75 struct regulator *rsupply; member