/src/sys/arch/arm/amlogic/ |
mesongxl_usb2phy.c | 63 struct fdtbus_regulator *sc_supply; member in struct:mesongxl_usb2phy_softc 117 if (sc->sc_supply != NULL) { 118 if (fdtbus_regulator_enable(sc->sc_supply) != 0) 185 sc->sc_supply = fdtbus_regulator_acquire(phandle, "phy-supply");
|
mesong12_usb3pciephy.c | 84 struct fdtbus_regulator *sc_supply; member in struct:mesong12_usb3pciephy_softc 338 sc->sc_supply = fdtbus_regulator_acquire(phandle, "phy-supply"); 339 if (sc->sc_supply != NULL) 340 fdtbus_regulator_enable(sc->sc_supply);
|
meson_usbctrl.c | 123 struct fdtbus_regulator *sc_supply; member in struct:meson_usbctrl_softc 284 sc->sc_supply = fdtbus_regulator_acquire(phandle, "vbus-supply"); 285 if (sc->sc_supply != NULL) 286 fdtbus_regulator_enable(sc->sc_supply); /* USB HOST MODE */
|
mesong12_usb2phy.c | 164 struct fdtbus_regulator *sc_supply; member in struct:mesong12_usb2phy_softc 195 if (sc->sc_supply != NULL) 196 fdtbus_regulator_enable(sc->sc_supply); 326 sc->sc_supply = fdtbus_regulator_acquire(phandle, "phy-supply");
|
/src/sys/arch/arm/sunxi/ |
sun9i_a80_usbphy.c | 71 struct fdtbus_regulator *sc_supply; member in struct:sun9i_usbphy_softc 207 sc->sc_supply = fdtbus_regulator_acquire(phandle, "phy-supply"); 208 if (sc->sc_supply != NULL) { 209 if (fdtbus_regulator_enable(sc->sc_supply) != 0)
|
sunxi_lradc.c | 55 struct fdtbus_regulator *sc_supply; member in struct:sunxi_lradc_softc 146 sc->sc_supply = 148 if (sc->sc_supply == NULL) { 156 error = fdtbus_regulator_get_voltage(sc->sc_supply, &sc->sc_vref);
|
/src/sys/arch/arm/rockchip/ |
rk_usb.c | 276 struct fdtbus_regulator *sc_supply; member in struct:rk_usbphy_softc 323 if (sc->sc_supply) { 324 error = enable ? fdtbus_regulator_enable(sc->sc_supply) : 325 fdtbus_regulator_disable(sc->sc_supply); 362 if (sc->sc_supply) { 363 error = enable ? fdtbus_regulator_enable(sc->sc_supply) : 364 fdtbus_regulator_disable(sc->sc_supply); 412 sc->sc_supply = fdtbus_regulator_acquire(phandle, "phy-supply"); 413 if (sc->sc_supply == NULL) {
|
/src/sys/dev/fdt/ |
cpufreq_dt.c | 66 struct fdtbus_regulator *sc_supply; member in struct:cpufreq_dt_softc 117 if (sc->sc_supply != NULL) { 118 error = fdtbus_regulator_get_voltage(sc->sc_supply, &old_uv); 123 error = fdtbus_regulator_set_voltage(sc->sc_supply, 138 if (sc->sc_supply != NULL) { 140 error = fdtbus_regulator_set_voltage(sc->sc_supply, 467 sc->sc_supply = fdtbus_regulator_acquire(phandle, "cpu-supply"); 468 if (sc->sc_supply == NULL) {
|