Home
last modified time | relevance | path

Searched refs:vbus_reg (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/usb/host/
Dohci-da8xx.c41 struct regulator *vbus_reg; member
93 if (!da8xx_ohci->vbus_reg) in ohci_da8xx_set_power()
97 ret = regulator_enable(da8xx_ohci->vbus_reg); in ohci_da8xx_set_power()
103 ret = regulator_disable(da8xx_ohci->vbus_reg); in ohci_da8xx_set_power()
117 if (da8xx_ohci->vbus_reg) in ohci_da8xx_get_power()
118 return regulator_is_enabled(da8xx_ohci->vbus_reg); in ohci_da8xx_get_power()
132 if (!da8xx_ohci->vbus_reg) in ohci_da8xx_get_oci()
135 ret = regulator_get_error_flags(da8xx_ohci->vbus_reg, &flags); in ohci_da8xx_get_oci()
149 if (da8xx_ohci->vbus_reg) in ohci_da8xx_has_set_power()
162 if (da8xx_ohci->vbus_reg) in ohci_da8xx_has_oci()
[all …]
/Linux-v5.4/drivers/usb/dwc3/
Ddwc3-omap.c131 struct regulator *vbus_reg; member
223 if (omap->vbus_reg) { in dwc3_omap_set_mailbox()
224 ret = regulator_enable(omap->vbus_reg); in dwc3_omap_set_mailbox()
245 if (omap->vbus_reg) in dwc3_omap_set_mailbox()
246 regulator_disable(omap->vbus_reg); in dwc3_omap_set_mailbox()
455 struct regulator *vbus_reg = NULL; in dwc3_omap_probe() local
484 vbus_reg = devm_regulator_get(dev, "vbus"); in dwc3_omap_probe()
485 if (IS_ERR(vbus_reg)) { in dwc3_omap_probe()
487 return PTR_ERR(vbus_reg); in dwc3_omap_probe()
494 omap->vbus_reg = vbus_reg; in dwc3_omap_probe()
/Linux-v5.4/arch/arm/boot/dts/
Dnspire.dtsi58 vbus_reg: vbus_reg { label
84 vbus-supply = <&vbus_reg>;
Dbcm59056.dtsi88 vbus_reg: vbus { label
Dnspire-classic.dtsi55 &vbus_reg {
Dnspire-cx.dts72 &vbus_reg {
Dtegra20-trimslice.dts345 vbus-supply = <&vbus_reg>;
433 vbus_reg: regulator@2 { label
Dtegra20-seaboard.dts739 vbus-supply = <&vbus_reg>;
871 vbus_reg: regulator@3 { label