Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/host/
H A Dohci-da8xx.c42 struct regulator *vbus_reg; member
94 if (!da8xx_ohci->vbus_reg) in ohci_da8xx_set_power()
98 ret = regulator_enable(da8xx_ohci->vbus_reg); in ohci_da8xx_set_power()
104 ret = regulator_disable(da8xx_ohci->vbus_reg); in ohci_da8xx_set_power()
118 if (da8xx_ohci->vbus_reg) in ohci_da8xx_get_power()
119 return regulator_is_enabled(da8xx_ohci->vbus_reg); in ohci_da8xx_get_power()
133 if (!da8xx_ohci->vbus_reg) in ohci_da8xx_get_oci()
136 ret = regulator_get_error_flags(da8xx_ohci->vbus_reg, &flags); in ohci_da8xx_get_oci()
150 if (da8xx_ohci->vbus_reg) in ohci_da8xx_has_set_power()
163 if (da8xx_ohci->vbus_reg) in ohci_da8xx_has_oci()
[all …]
/openbmc/linux/drivers/usb/dwc3/
H A 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 && regulator_is_enabled(omap->vbus_reg)) in dwc3_omap_set_mailbox()
246 regulator_disable(omap->vbus_reg); in dwc3_omap_set_mailbox()
460 struct regulator *vbus_reg = NULL; in dwc3_omap_probe() local
487 vbus_reg = devm_regulator_get(dev, "vbus"); in dwc3_omap_probe()
488 if (IS_ERR(vbus_reg)) { in dwc3_omap_probe()
490 return PTR_ERR(vbus_reg); in dwc3_omap_probe()
497 omap->vbus_reg = vbus_reg; in dwc3_omap_probe()
/openbmc/linux/arch/arm/boot/dts/nspire/
H A Dnspire.dtsi68 vbus_reg: vbus_reg { label
93 vbus-supply = <&vbus_reg>;
H A Dnspire-classic.dtsi53 &vbus_reg {
H A Dnspire-cx.dts117 &vbus_reg {
/openbmc/linux/arch/arm/boot/dts/broadcom/
H A Dbcm59056.dtsi88 vbus_reg: vbus { label
/openbmc/u-boot/arch/arm/dts/
H A Dtegra20-trimslice.dts100 vbus_reg: regulator@2 { label
H A Dtegra20-seaboard.dts782 vbus-supply = <&vbus_reg>;
914 vbus_reg: regulator@3 { label
/openbmc/linux/arch/arm/boot/dts/nvidia/
H A Dtegra20-trimslice.dts350 vbus-supply = <&vbus_reg>;
432 vbus_reg: regulator-vbus { label
H A Dtegra20-seaboard.dts710 vbus-supply = <&vbus_reg>;
857 vbus_reg: regulator-vbus { label