Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/chipidea/
Dhost.c28 struct regulator *reg_vbus; member
41 if (priv->reg_vbus && enable != priv->enabled) { in ehci_ci_portpower()
48 ret = regulator_enable(priv->reg_vbus); in ehci_ci_portpower()
50 ret = regulator_disable(priv->reg_vbus); in ehci_ci_portpower()
143 priv->reg_vbus = NULL; in host_start()
145 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci)) { in host_start()
147 ret = regulator_enable(ci->platdata->reg_vbus); in host_start()
155 priv->reg_vbus = ci->platdata->reg_vbus; in host_start()
185 if (ci->platdata->reg_vbus && !ci_otg_is_fsm_mode(ci) && in host_start()
187 regulator_disable(ci->platdata->reg_vbus); in host_start()
[all …]
Dcore.c674 platdata->reg_vbus = devm_regulator_get_optional(dev, "vbus"); in ci_get_platdata()
675 if (PTR_ERR(platdata->reg_vbus) == -EPROBE_DEFER) { in ci_get_platdata()
677 } else if (PTR_ERR(platdata->reg_vbus) == -ENODEV) { in ci_get_platdata()
679 platdata->reg_vbus = NULL; in ci_get_platdata()
680 } else if (IS_ERR(platdata->reg_vbus)) { in ci_get_platdata()
682 PTR_ERR(platdata->reg_vbus)); in ci_get_platdata()
683 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()
482 if (ci->platdata->reg_vbus) in ci_otg_drv_vbus()
483 regulator_disable(ci->platdata->reg_vbus); in ci_otg_drv_vbus()
/kernel/linux/linux-5.10/include/linux/usb/
Dchipidea.h72 struct regulator *reg_vbus; member
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0034_linux_drivers_usb_vfio_wdt_tty_uio.patch3547 struct regulator *reg_vbus;