Home
last modified time | relevance | path

Searched refs:reg_vbus (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/usb/chipidea/
Dhost.c28 struct regulator *reg_vbus; member
46 if (priv->reg_vbus && enable != priv->enabled) { in ehci_ci_portpower()
53 ret = regulator_enable(priv->reg_vbus); in ehci_ci_portpower()
55 ret = regulator_disable(priv->reg_vbus); in ehci_ci_portpower()
156 priv->reg_vbus = NULL; in host_start()
158 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci)) { in host_start()
160 ret = regulator_enable(ci->platdata->reg_vbus); in host_start()
168 priv->reg_vbus = ci->platdata->reg_vbus; in host_start()
199 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci) && in host_start()
201 regulator_disable(ci->platdata->reg_vbus); in host_start()
[all …]
Dcore.c695 platdata->reg_vbus = devm_regulator_get_optional(dev, "vbus"); in ci_get_platdata()
696 if (PTR_ERR(platdata->reg_vbus) == -EPROBE_DEFER) { in ci_get_platdata()
698 } else if (PTR_ERR(platdata->reg_vbus) == -ENODEV) { in ci_get_platdata()
700 platdata->reg_vbus = NULL; in ci_get_platdata()
701 } else if (IS_ERR(platdata->reg_vbus)) { in ci_get_platdata()
703 PTR_ERR(platdata->reg_vbus)); in ci_get_platdata()
704 return PTR_ERR(platdata->reg_vbus); in ci_get_platdata()
Dotg_fsm.c467 if (ci->platdata->reg_vbus) { in ci_otg_drv_vbus()
468 ret = regulator_enable(ci->platdata->reg_vbus); in ci_otg_drv_vbus()
486 if (ci->platdata->reg_vbus) in ci_otg_drv_vbus()
487 regulator_disable(ci->platdata->reg_vbus); in ci_otg_drv_vbus()
/linux-6.6.21/include/linux/usb/
Dchipidea.h74 struct regulator *reg_vbus; member
/linux-6.6.21/arch/arm/boot/dts/nxp/imx/
Dimx6ull-jozacp.dts95 reg_vbus: regulator-vbus { label
224 vbus-supply = <&reg_vbus>;