vbus 168 arch/arm/mach-mmp/ttc_dkb.c .vbus = NULL, vbus 174 arch/arm/mach-pxa/palm27x.c void __init palm27x_udc_init(int vbus, int pullup, int vbus_inverted) vbus 176 arch/arm/mach-pxa/palm27x.c palm27x_udc_info.gpio_vbus = vbus; vbus 38 arch/arm/mach-pxa/palm27x.h extern void __init palm27x_udc_init(int vbus, int pullup, vbus 41 arch/arm/mach-pxa/palm27x.h static inline void palm27x_udc_init(int vbus, int pullup, int vbus_inverted) {} vbus 120 drivers/extcon/extcon-ptn5150.c unsigned int vbus; vbus 137 drivers/extcon/extcon-ptn5150.c vbus = ((reg_data & vbus 140 drivers/extcon/extcon-ptn5150.c if (vbus) vbus 63 drivers/extcon/extcon-usb-gpio.c int id, vbus; vbus 71 drivers/extcon/extcon-usb-gpio.c vbus = info->vbus_gpiod ? vbus 77 drivers/extcon/extcon-usb-gpio.c if (!vbus) vbus 83 drivers/extcon/extcon-usb-gpio.c if (vbus) vbus 54 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c int vbus = nv_rd16i2cr(i2c, addr, bus_reg); vbus 56 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c if (vshunt < 0 || vbus < 0) vbus 60 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c vbus >>= bus_shift; vbus 62 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c return vbus * vshunt * lsb / shunt; vbus 68 drivers/mfd/tps65010.c u16 vbus; vbus 413 drivers/mfd/tps65010.c if (tps->vbus == 500) vbus 415 drivers/mfd/tps65010.c else if (tps->vbus >= 100) vbus 600 drivers/mfd/tps65010.c tps->vbus = 100; vbus 700 drivers/mfd/tps65010.c the_tps->vbus = mA; vbus 132 drivers/phy/allwinner/phy-sun4i-usb.c struct regulator *vbus; vbus 428 drivers/phy/allwinner/phy-sun4i-usb.c if (!phy->vbus || phy->regulator_on) vbus 438 drivers/phy/allwinner/phy-sun4i-usb.c ret = regulator_enable(phy->vbus); vbus 456 drivers/phy/allwinner/phy-sun4i-usb.c if (!phy->vbus || !phy->regulator_on) vbus 459 drivers/phy/allwinner/phy-sun4i-usb.c regulator_disable(phy->vbus); vbus 754 drivers/phy/allwinner/phy-sun4i-usb.c phy->vbus = devm_regulator_get_optional(dev, name); vbus 755 drivers/phy/allwinner/phy-sun4i-usb.c if (IS_ERR(phy->vbus)) { vbus 756 drivers/phy/allwinner/phy-sun4i-usb.c if (PTR_ERR(phy->vbus) == -EPROBE_DEFER) { vbus 763 drivers/phy/allwinner/phy-sun4i-usb.c phy->vbus = NULL; vbus 246 drivers/phy/broadcom/phy-bcm-ns2-usbdrd.c int vbus; vbus 253 drivers/phy/broadcom/phy-bcm-ns2-usbdrd.c vbus = gpiod_get_value_cansleep(driver->vbus_gpiod); vbus 255 drivers/phy/broadcom/phy-bcm-ns2-usbdrd.c if (!id && vbus) { /* Host connected */ vbus 260 drivers/phy/broadcom/phy-bcm-ns2-usbdrd.c } else if (id && !vbus) { /* Disconnected */ vbus 264 drivers/phy/broadcom/phy-bcm-ns2-usbdrd.c } else if (id && vbus) { /* Device connected */ vbus 28 drivers/phy/freescale/phy-fsl-imx8mq-usb.c struct regulator *vbus; vbus 62 drivers/phy/freescale/phy-fsl-imx8mq-usb.c ret = regulator_enable(imx_phy->vbus); vbus 74 drivers/phy/freescale/phy-fsl-imx8mq-usb.c regulator_disable(imx_phy->vbus); vbus 112 drivers/phy/freescale/phy-fsl-imx8mq-usb.c imx_phy->vbus = devm_regulator_get(dev, "vbus"); vbus 113 drivers/phy/freescale/phy-fsl-imx8mq-usb.c if (IS_ERR(imx_phy->vbus)) vbus 114 drivers/phy/freescale/phy-fsl-imx8mq-usb.c return PTR_ERR(imx_phy->vbus); vbus 133 drivers/phy/motorola/phy-cpcap-usb.c struct iio_channel *vbus; vbus 143 drivers/phy/motorola/phy-cpcap-usb.c error = iio_read_channel_processed(ddata->vbus, &value); vbus 227 drivers/phy/motorola/phy-cpcap-usb.c bool vbus = false; vbus 260 drivers/phy/motorola/phy-cpcap-usb.c vbus = cpcap_usb_vbus_valid(ddata); vbus 262 drivers/phy/motorola/phy-cpcap-usb.c if (vbus) { vbus 538 drivers/phy/motorola/phy-cpcap-usb.c ddata->vbus = devm_iio_channel_get(ddata->dev, "vbus"); vbus 539 drivers/phy/motorola/phy-cpcap-usb.c if (IS_ERR(ddata->vbus)) { vbus 540 drivers/phy/motorola/phy-cpcap-usb.c error = PTR_ERR(ddata->vbus); vbus 544 drivers/phy/motorola/phy-cpcap-usb.c if (!ddata->vbus->indio_dev) { vbus 549 drivers/phy/motorola/phy-cpcap-usb.c error = iio_get_channel_type(ddata->vbus, &type); vbus 110 drivers/phy/renesas/phy-rcar-gen3-usb2.c struct regulator *vbus; vbus 171 drivers/phy/renesas/phy-rcar-gen3-usb2.c static void rcar_gen3_enable_vbus_ctrl(struct rcar_gen3_chan *ch, int vbus) vbus 176 drivers/phy/renesas/phy-rcar-gen3-usb2.c dev_vdbg(ch->dev, "%s: %08x, %d\n", __func__, val, vbus); vbus 177 drivers/phy/renesas/phy-rcar-gen3-usb2.c if (vbus) vbus 451 drivers/phy/renesas/phy-rcar-gen3-usb2.c if (channel->vbus) { vbus 452 drivers/phy/renesas/phy-rcar-gen3-usb2.c ret = regulator_enable(channel->vbus); vbus 483 drivers/phy/renesas/phy-rcar-gen3-usb2.c if (channel->vbus) vbus 484 drivers/phy/renesas/phy-rcar-gen3-usb2.c ret = regulator_disable(channel->vbus); vbus 669 drivers/phy/renesas/phy-rcar-gen3-usb2.c channel->vbus = devm_regulator_get_optional(dev, "vbus"); vbus 670 drivers/phy/renesas/phy-rcar-gen3-usb2.c if (IS_ERR(channel->vbus)) { vbus 671 drivers/phy/renesas/phy-rcar-gen3-usb2.c if (PTR_ERR(channel->vbus) == -EPROBE_DEFER) { vbus 672 drivers/phy/renesas/phy-rcar-gen3-usb2.c ret = PTR_ERR(channel->vbus); vbus 675 drivers/phy/renesas/phy-rcar-gen3-usb2.c channel->vbus = NULL; vbus 77 drivers/phy/rockchip/phy-rockchip-usb.c struct regulator *vbus; vbus 100 drivers/phy/rockchip/phy-rockchip-usb.c if (phy->vbus) vbus 101 drivers/phy/rockchip/phy-rockchip-usb.c regulator_disable(phy->vbus); vbus 158 drivers/phy/rockchip/phy-rockchip-usb.c if (phy->vbus) { vbus 161 drivers/phy/rockchip/phy-rockchip-usb.c ret = regulator_enable(phy->vbus); vbus 291 drivers/phy/rockchip/phy-rockchip-usb.c rk_phy->vbus = devm_regulator_get_optional(&rk_phy->phy->dev, "vbus"); vbus 292 drivers/phy/rockchip/phy-rockchip-usb.c if (IS_ERR(rk_phy->vbus)) { vbus 293 drivers/phy/rockchip/phy-rockchip-usb.c if (PTR_ERR(rk_phy->vbus) == -EPROBE_DEFER) vbus 294 drivers/phy/rockchip/phy-rockchip-usb.c return PTR_ERR(rk_phy->vbus); vbus 295 drivers/phy/rockchip/phy-rockchip-usb.c rk_phy->vbus = NULL; vbus 209 drivers/phy/samsung/phy-exynos5-usbdrd.c struct regulator *vbus; vbus 502 drivers/phy/samsung/phy-exynos5-usbdrd.c if (phy_drd->vbus) { vbus 503 drivers/phy/samsung/phy-exynos5-usbdrd.c ret = regulator_enable(phy_drd->vbus); vbus 541 drivers/phy/samsung/phy-exynos5-usbdrd.c if (phy_drd->vbus) vbus 542 drivers/phy/samsung/phy-exynos5-usbdrd.c regulator_disable(phy_drd->vbus); vbus 903 drivers/phy/samsung/phy-exynos5-usbdrd.c phy_drd->vbus = devm_regulator_get(dev, "vbus"); vbus 904 drivers/phy/samsung/phy-exynos5-usbdrd.c if (IS_ERR(phy_drd->vbus)) { vbus 905 drivers/phy/samsung/phy-exynos5-usbdrd.c ret = PTR_ERR(phy_drd->vbus); vbus 910 drivers/phy/samsung/phy-exynos5-usbdrd.c phy_drd->vbus = NULL; vbus 29 drivers/phy/samsung/phy-samsung-usb2.c if (drv->vbus) { vbus 30 drivers/phy/samsung/phy-samsung-usb2.c ret = regulator_enable(drv->vbus); vbus 56 drivers/phy/samsung/phy-samsung-usb2.c if (drv->vbus) vbus 57 drivers/phy/samsung/phy-samsung-usb2.c regulator_disable(drv->vbus); vbus 79 drivers/phy/samsung/phy-samsung-usb2.c if (drv->vbus) vbus 80 drivers/phy/samsung/phy-samsung-usb2.c ret = regulator_disable(drv->vbus); vbus 212 drivers/phy/samsung/phy-samsung-usb2.c drv->vbus = devm_regulator_get(dev, "vbus"); vbus 213 drivers/phy/samsung/phy-samsung-usb2.c if (IS_ERR(drv->vbus)) { vbus 214 drivers/phy/samsung/phy-samsung-usb2.c ret = PTR_ERR(drv->vbus); vbus 217 drivers/phy/samsung/phy-samsung-usb2.c drv->vbus = NULL; vbus 38 drivers/phy/samsung/phy-samsung-usb2.h struct regulator *vbus; vbus 42 drivers/phy/socionext/phy-uniphier-usb2.c struct regulator *vbus; vbus 52 drivers/phy/socionext/phy-uniphier-usb2.c if (priv->vbus) vbus 53 drivers/phy/socionext/phy-uniphier-usb2.c ret = regulator_enable(priv->vbus); vbus 62 drivers/phy/socionext/phy-uniphier-usb2.c if (priv->vbus) vbus 63 drivers/phy/socionext/phy-uniphier-usb2.c regulator_disable(priv->vbus); vbus 140 drivers/phy/socionext/phy-uniphier-usb2.c priv->vbus = devm_regulator_get_optional(dev, "vbus"); vbus 141 drivers/phy/socionext/phy-uniphier-usb2.c if (IS_ERR(priv->vbus)) { vbus 142 drivers/phy/socionext/phy-uniphier-usb2.c if (PTR_ERR(priv->vbus) == -EPROBE_DEFER) { vbus 143 drivers/phy/socionext/phy-uniphier-usb2.c ret = PTR_ERR(priv->vbus); vbus 146 drivers/phy/socionext/phy-uniphier-usb2.c priv->vbus = NULL; vbus 71 drivers/phy/socionext/phy-uniphier-usb3hs.c struct regulator *vbus; vbus 217 drivers/phy/socionext/phy-uniphier-usb3hs.c if (priv->vbus) { vbus 218 drivers/phy/socionext/phy-uniphier-usb3hs.c ret = regulator_enable(priv->vbus); vbus 239 drivers/phy/socionext/phy-uniphier-usb3hs.c if (priv->vbus) vbus 240 drivers/phy/socionext/phy-uniphier-usb3hs.c regulator_disable(priv->vbus); vbus 350 drivers/phy/socionext/phy-uniphier-usb3hs.c priv->vbus = devm_regulator_get_optional(dev, "vbus"); vbus 351 drivers/phy/socionext/phy-uniphier-usb3hs.c if (IS_ERR(priv->vbus)) { vbus 352 drivers/phy/socionext/phy-uniphier-usb3hs.c if (PTR_ERR(priv->vbus) == -EPROBE_DEFER) vbus 353 drivers/phy/socionext/phy-uniphier-usb3hs.c return PTR_ERR(priv->vbus); vbus 354 drivers/phy/socionext/phy-uniphier-usb3hs.c priv->vbus = NULL; vbus 57 drivers/phy/socionext/phy-uniphier-usb3ss.c struct regulator *vbus; vbus 122 drivers/phy/socionext/phy-uniphier-usb3ss.c if (priv->vbus) { vbus 123 drivers/phy/socionext/phy-uniphier-usb3ss.c ret = regulator_enable(priv->vbus); vbus 144 drivers/phy/socionext/phy-uniphier-usb3ss.c if (priv->vbus) vbus 145 drivers/phy/socionext/phy-uniphier-usb3ss.c regulator_disable(priv->vbus); vbus 267 drivers/phy/socionext/phy-uniphier-usb3ss.c priv->vbus = devm_regulator_get_optional(dev, "vbus"); vbus 268 drivers/phy/socionext/phy-uniphier-usb3ss.c if (IS_ERR(priv->vbus)) { vbus 269 drivers/phy/socionext/phy-uniphier-usb3ss.c if (PTR_ERR(priv->vbus) == -EPROBE_DEFER) vbus 270 drivers/phy/socionext/phy-uniphier-usb3ss.c return PTR_ERR(priv->vbus); vbus 271 drivers/phy/socionext/phy-uniphier-usb3ss.c priv->vbus = NULL; vbus 560 drivers/phy/ti/phy-twl4030-usb.c static DEVICE_ATTR(vbus, 0444, twl4030_usb_vbus_show, NULL); vbus 335 drivers/power/supply/cpcap-charger.c bool vbus = false; vbus 342 drivers/power/supply/cpcap-charger.c vbus = cpcap_charger_vbus_valid(ddata); vbus 343 drivers/power/supply/cpcap-charger.c if (vbus) { vbus 231 drivers/power/supply/da9052-battery.c bool vbus; vbus 245 drivers/power/supply/da9052-battery.c vbus = vbussel && vbusdet; vbus 248 drivers/power/supply/da9052-battery.c if (dc || vbus) { vbus 228 drivers/power/supply/lp8727_charger.c u8 vbus; vbus 236 drivers/power/supply/lp8727_charger.c vbus = intstat[0] & LP8727_VBUS; vbus 238 drivers/power/supply/lp8727_charger.c lp8727_id_detection(pchg, idno, vbus); vbus 191 drivers/regulator/bcm590xx-regulator.c BCM590XX_REG_TABLE(vbus, ldo_vbus), vbus 1663 drivers/scsi/aacraid/aachba.c u32 vbus; vbus 1692 drivers/scsi/aacraid/aachba.c vbus = (u32)le16_to_cpu( vbus 1698 drivers/scsi/aacraid/aachba.c srb->channel = cpu_to_le32(vbus); vbus 2301 drivers/scsi/aacraid/commsup.c u32 vbus, vid; vbus 2314 drivers/scsi/aacraid/commsup.c vbus = (u32)le16_to_cpu(dev->supplement_adapter_info.virt_device_bus); vbus 2320 drivers/scsi/aacraid/commsup.c srbcmd->channel = cpu_to_le32(vbus); vbus 204 drivers/usb/cdns3/core.c int id, vbus; vbus 210 drivers/usb/cdns3/core.c vbus = cdns3_get_vbus(cdns); vbus 228 drivers/usb/cdns3/core.c else if (vbus) vbus 236 drivers/usb/cdns3/core.c if (!vbus) vbus 79 drivers/usb/cdns3/drd.c int vbus; vbus 81 drivers/usb/cdns3/drd.c vbus = !!(readl(&cdns->otg_regs->sts) & OTGSTS_VBUS_VALID); vbus 82 drivers/usb/cdns3/drd.c dev_dbg(cdns->dev, "OTG VBUS: %d", vbus); vbus 84 drivers/usb/cdns3/drd.c return vbus; vbus 819 drivers/usb/chipidea/core.c struct ci_hdrc_cable *id, *vbus; vbus 833 drivers/usb/chipidea/core.c vbus = &ci->platdata->vbus_extcon; vbus 834 drivers/usb/chipidea/core.c vbus->ci = ci; vbus 835 drivers/usb/chipidea/core.c if (!IS_ERR_OR_NULL(vbus->edev)) { vbus 836 drivers/usb/chipidea/core.c ret = devm_extcon_register_notifier(ci->dev, vbus->edev, vbus 837 drivers/usb/chipidea/core.c EXTCON_USB, &vbus->nb); vbus 33 drivers/usb/common/usb-conn-gpio.c struct regulator *vbus; vbus 64 drivers/usb/common/usb-conn-gpio.c int id, vbus, ret; vbus 72 drivers/usb/common/usb-conn-gpio.c vbus = info->vbus_gpiod ? vbus 77 drivers/usb/common/usb-conn-gpio.c else if (vbus) vbus 83 drivers/usb/common/usb-conn-gpio.c info->last_role, role, id, vbus); vbus 91 drivers/usb/common/usb-conn-gpio.c regulator_disable(info->vbus); vbus 98 drivers/usb/common/usb-conn-gpio.c ret = regulator_enable(info->vbus); vbus 106 drivers/usb/common/usb-conn-gpio.c regulator_is_enabled(info->vbus) ? "enabled" : "disabled"); vbus 157 drivers/usb/common/usb-conn-gpio.c info->vbus = devm_regulator_get(dev, "vbus"); vbus 158 drivers/usb/common/usb-conn-gpio.c if (IS_ERR(info->vbus)) { vbus 159 drivers/usb/common/usb-conn-gpio.c if (PTR_ERR(info->vbus) != -EPROBE_DEFER) vbus 161 drivers/usb/common/usb-conn-gpio.c return PTR_ERR(info->vbus); vbus 225 drivers/usb/common/usb-conn-gpio.c regulator_disable(info->vbus); vbus 120 drivers/usb/dwc3/dwc3-meson-g12a.c struct regulator *vbus; vbus 306 drivers/usb/dwc3/dwc3-meson-g12a.c if (priv->vbus) { vbus 308 drivers/usb/dwc3/dwc3-meson-g12a.c ret = regulator_disable(priv->vbus); vbus 310 drivers/usb/dwc3/dwc3-meson-g12a.c ret = regulator_enable(priv->vbus); vbus 405 drivers/usb/dwc3/dwc3-meson-g12a.c priv->vbus = devm_regulator_get_optional(dev, "vbus"); vbus 406 drivers/usb/dwc3/dwc3-meson-g12a.c if (IS_ERR(priv->vbus)) { vbus 407 drivers/usb/dwc3/dwc3-meson-g12a.c if (PTR_ERR(priv->vbus) == -EPROBE_DEFER) vbus 408 drivers/usb/dwc3/dwc3-meson-g12a.c return PTR_ERR(priv->vbus); vbus 409 drivers/usb/dwc3/dwc3-meson-g12a.c priv->vbus = NULL; vbus 442 drivers/usb/dwc3/dwc3-meson-g12a.c if (priv->vbus) { vbus 443 drivers/usb/dwc3/dwc3-meson-g12a.c ret = regulator_enable(priv->vbus); vbus 567 drivers/usb/dwc3/dwc3-meson-g12a.c if (priv->vbus && priv->otg_phy_mode == PHY_MODE_USB_HOST) { vbus 568 drivers/usb/dwc3/dwc3-meson-g12a.c ret = regulator_disable(priv->vbus); vbus 606 drivers/usb/dwc3/dwc3-meson-g12a.c if (priv->vbus && priv->otg_phy_mode == PHY_MODE_USB_HOST) { vbus 607 drivers/usb/dwc3/dwc3-meson-g12a.c ret = regulator_enable(priv->vbus); vbus 191 drivers/usb/gadget/udc/at91_udc.c udc->vbus ? "present" : "off", vbus 193 drivers/usb/gadget/udc/at91_udc.c ? (udc->vbus ? "active" : "enabled") vbus 227 drivers/usb/gadget/udc/at91_udc.c if (udc->enabled && udc->vbus) { vbus 922 drivers/usb/gadget/udc/at91_udc.c if (!udc->enabled || !udc->vbus) vbus 949 drivers/usb/gadget/udc/at91_udc.c udc->vbus = (is_active != 0); vbus 1514 drivers/usb/gadget/udc/at91_udc.c if (value != udc->vbus) vbus 1903 drivers/usb/gadget/udc/at91_udc.c udc->vbus = gpio_get_value_cansleep(udc->board.vbus_pin) ^ vbus 1923 drivers/usb/gadget/udc/at91_udc.c udc->vbus = 1; vbus 128 drivers/usb/gadget/udc/at91_udc.h unsigned vbus:1; vbus 1940 drivers/usb/gadget/udc/atmel_usba_udc.c int vbus; vbus 1947 drivers/usb/gadget/udc/atmel_usba_udc.c vbus = vbus_is_present(udc); vbus 1948 drivers/usb/gadget/udc/atmel_usba_udc.c if (vbus != udc->vbus_prev) { vbus 1949 drivers/usb/gadget/udc/atmel_usba_udc.c if (vbus) { vbus 1958 drivers/usb/gadget/udc/atmel_usba_udc.c udc->vbus_prev = vbus; vbus 41 drivers/usb/gadget/udc/core.c bool vbus; vbus 1024 drivers/usb/gadget/udc/core.c if (udc->vbus) vbus 1044 drivers/usb/gadget/udc/core.c udc->vbus = status; vbus 1219 drivers/usb/gadget/udc/core.c udc->vbus = true; vbus 152 drivers/usb/gadget/udc/lpc32xx_udc.c u8 vbus; vbus 509 drivers/usb/gadget/udc/lpc32xx_udc.c udc->vbus ? "present" : "off", vbus 510 drivers/usb/gadget/udc/lpc32xx_udc.c udc->enabled ? (udc->vbus ? "active" : "enabled") : vbus 516 drivers/usb/gadget/udc/lpc32xx_udc.c if (udc->enabled && udc->vbus) { vbus 1568 drivers/usb/gadget/udc/lpc32xx_udc.c if (!udc->enabled || !udc->vbus) vbus 2127 drivers/usb/gadget/udc/lpc32xx_udc.c if (udc->vbus == 0) vbus 2137 drivers/usb/gadget/udc/lpc32xx_udc.c udc->driver && udc->vbus) { vbus 2871 drivers/usb/gadget/udc/lpc32xx_udc.c udc->vbus = 1; vbus 2873 drivers/usb/gadget/udc/lpc32xx_udc.c udc->vbus = 0; vbus 2876 drivers/usb/gadget/udc/lpc32xx_udc.c if (udc->last_vbus != udc->vbus) { vbus 2877 drivers/usb/gadget/udc/lpc32xx_udc.c udc->last_vbus = udc->vbus; vbus 2878 drivers/usb/gadget/udc/lpc32xx_udc.c lpc32xx_vbus_session(&udc->gadget, udc->vbus); vbus 2911 drivers/usb/gadget/udc/lpc32xx_udc.c udc->vbus = 0; vbus 2914 drivers/usb/gadget/udc/lpc32xx_udc.c udc->last_vbus = udc->vbus = 0; vbus 280 drivers/usb/gadget/udc/mv_u3d.h struct mv_usb_addon_irq *vbus; vbus 1458 drivers/usb/gadget/udc/mv_u3d_core.c if (!u3d->vbus) { vbus 1707 drivers/usb/gadget/udc/mv_u3d_core.c if (!u3d->vbus) { vbus 1807 drivers/usb/gadget/udc/mv_u3d_core.c u3d->vbus = pdata->vbus; vbus 1946 drivers/usb/gadget/udc/mv_u3d_core.c if (u3d->vbus) { vbus 2055 drivers/usb/gadget/udc/mv_udc_core.c unsigned int vbus; vbus 2058 drivers/usb/gadget/udc/mv_udc_core.c if (!udc->pdata->vbus) vbus 2061 drivers/usb/gadget/udc/mv_udc_core.c vbus = udc->pdata->vbus->poll(); vbus 2062 drivers/usb/gadget/udc/mv_udc_core.c dev_info(&udc->dev->dev, "vbus is %d\n", vbus); vbus 2064 drivers/usb/gadget/udc/mv_udc_core.c if (vbus == VBUS_HIGH) vbus 2066 drivers/usb/gadget/udc/mv_udc_core.c else if (vbus == VBUS_LOW) vbus 2272 drivers/usb/gadget/udc/mv_udc_core.c else if (pdata->vbus) { vbus 2275 drivers/usb/gadget/udc/mv_udc_core.c pdata->vbus->irq, NULL, vbus 2339 drivers/usb/gadget/udc/mv_udc_core.c if (udc->pdata->vbus && udc->pdata->vbus->poll) vbus 2340 drivers/usb/gadget/udc/mv_udc_core.c if (udc->pdata->vbus->poll() == VBUS_HIGH) { vbus 1253 drivers/usb/gadget/udc/pch_udc.c int vbus = 0; vbus 1256 drivers/usb/gadget/udc/pch_udc.c vbus = gpio_get_value(dev->vbus_gpio.port) ? 1 : 0; vbus 1258 drivers/usb/gadget/udc/pch_udc.c vbus = -1; vbus 1260 drivers/usb/gadget/udc/pch_udc.c return vbus; vbus 1276 drivers/usb/gadget/udc/pch_udc.c int vbus; vbus 1284 drivers/usb/gadget/udc/pch_udc.c vbus = pch_vbus_gpio_get_value(dev); vbus 1286 drivers/usb/gadget/udc/pch_udc.c if ((vbus_saved == vbus) && (vbus == 0)) { vbus 1299 drivers/usb/gadget/udc/pch_udc.c vbus_saved = vbus; vbus 1316 drivers/usb/gadget/udc/pch_udc.c int vbus; vbus 1322 drivers/usb/gadget/udc/pch_udc.c vbus = pch_vbus_gpio_get_value(dev); vbus 1324 drivers/usb/gadget/udc/pch_udc.c if (vbus == 1) { vbus 2696 drivers/usb/gadget/udc/pch_udc.c int vbus; vbus 2723 drivers/usb/gadget/udc/pch_udc.c vbus = pch_vbus_gpio_get_value(dev); vbus 2725 drivers/usb/gadget/udc/pch_udc.c && (vbus != 1)) { vbus 2733 drivers/usb/gadget/udc/pch_udc.c && (vbus == 1) vbus 1148 drivers/usb/gadget/udc/pxa25x_udc.c int is_active = udc->vbus && udc->pullup && !udc->suspended; vbus 1181 drivers/usb/gadget/udc/pxa25x_udc.c udc->vbus = is_active; vbus 1575 drivers/usb/gadget/udc/pxa25x_udc.c int vbus; vbus 1580 drivers/usb/gadget/udc/pxa25x_udc.c vbus = 1; vbus 1585 drivers/usb/gadget/udc/pxa25x_udc.c vbus = 0; vbus 1593 drivers/usb/gadget/udc/pxa25x_udc.c pxa25x_udc_vbus_session(&dev->gadget, vbus); vbus 2410 drivers/usb/gadget/udc/pxa25x_udc.c dev->vbus = 0; vbus 101 drivers/usb/gadget/udc/pxa25x_udc.h vbus : 1, vbus 1461 drivers/usb/gadget/udc/s3c2410_udc.c udc->vbus = (is_active != 0); vbus 1487 drivers/usb/gadget/udc/s3c2410_udc.c if (value != dev->vbus) vbus 1845 drivers/usb/gadget/udc/s3c2410_udc.c udc->vbus = 1; vbus 91 drivers/usb/gadget/udc/s3c2410_udc.h u8 vbus; vbus 41 drivers/usb/host/ehci-mv.c int (*set_vbus)(unsigned int vbus); vbus 125 drivers/usb/host/ohci-pxa27x.c struct regulator *vbus[3]; vbus 176 drivers/usb/host/ohci-pxa27x.c struct regulator *vbus = pxa_ohci->vbus[port]; vbus 179 drivers/usb/host/ohci-pxa27x.c if (IS_ERR_OR_NULL(vbus)) vbus 183 drivers/usb/host/ohci-pxa27x.c ret = regulator_enable(vbus); vbus 185 drivers/usb/host/ohci-pxa27x.c ret = regulator_disable(vbus); vbus 475 drivers/usb/host/ohci-pxa27x.c pxa_ohci->vbus[i] = devm_regulator_get(&pdev->dev, name); vbus 358 drivers/usb/host/xhci-mtk.c ret = regulator_enable(mtk->vbus); vbus 367 drivers/usb/host/xhci-mtk.c regulator_disable(mtk->vbus); vbus 375 drivers/usb/host/xhci-mtk.c regulator_disable(mtk->vbus); vbus 446 drivers/usb/host/xhci-mtk.c mtk->vbus = devm_regulator_get(dev, "vbus"); vbus 447 drivers/usb/host/xhci-mtk.c if (IS_ERR(mtk->vbus)) { vbus 449 drivers/usb/host/xhci-mtk.c return PTR_ERR(mtk->vbus); vbus 140 drivers/usb/host/xhci-mtk.h struct regulator *vbus; vbus 210 drivers/usb/mtu3/mtu3.h struct regulator *vbus; vbus 481 drivers/usb/mtu3/mtu3_debugfs.c regulator_is_enabled(otg_sx->vbus) ? "on" : "off"); vbus 128 drivers/usb/mtu3/mtu3_dr.c struct regulator *vbus = otg_sx->vbus; vbus 132 drivers/usb/mtu3/mtu3_dr.c if (!vbus) vbus 138 drivers/usb/mtu3/mtu3_dr.c ret = regulator_enable(vbus); vbus 144 drivers/usb/mtu3/mtu3_dr.c regulator_disable(vbus); vbus 289 drivers/usb/mtu3/mtu3_plat.c otg_sx->vbus = devm_regulator_get(dev, "vbus"); vbus 290 drivers/usb/mtu3/mtu3_plat.c if (IS_ERR(otg_sx->vbus)) { vbus 292 drivers/usb/mtu3/mtu3_plat.c return PTR_ERR(otg_sx->vbus); vbus 1786 drivers/usb/musb/musb_core.c int vbus; vbus 1792 drivers/usb/musb/musb_core.c vbus = musb_platform_get_vbus_status(musb); vbus 1793 drivers/usb/musb/musb_core.c if (vbus < 0) { vbus 1798 drivers/usb/musb/musb_core.c vbus = 1; vbus 1800 drivers/usb/musb/musb_core.c vbus = 0; vbus 1806 drivers/usb/musb/musb_core.c vbus ? "on" : "off", val); vbus 1808 drivers/usb/musb/musb_core.c static DEVICE_ATTR_RW(vbus); vbus 106 drivers/usb/phy/phy-generic.c int vbus, status; vbus 108 drivers/usb/phy/phy-generic.c vbus = gpiod_get_value(nop->gpiod_vbus); vbus 109 drivers/usb/phy/phy-generic.c if ((vbus ^ nop->vbus) == 0) vbus 111 drivers/usb/phy/phy-generic.c nop->vbus = vbus; vbus 113 drivers/usb/phy/phy-generic.c if (vbus) { vbus 19 drivers/usb/phy/phy-generic.h unsigned int vbus; vbus 38 drivers/usb/phy/phy-gpio-vbus-usb.c int vbus; vbus 88 drivers/usb/phy/phy-gpio-vbus-usb.c int vbus; vbus 90 drivers/usb/phy/phy-gpio-vbus-usb.c vbus = gpio_get_value(pdata->gpio_vbus); vbus 92 drivers/usb/phy/phy-gpio-vbus-usb.c vbus = !vbus; vbus 94 drivers/usb/phy/phy-gpio-vbus-usb.c return vbus; vbus 102 drivers/usb/phy/phy-gpio-vbus-usb.c int gpio, status, vbus; vbus 107 drivers/usb/phy/phy-gpio-vbus-usb.c vbus = is_vbus_powered(pdata); vbus 108 drivers/usb/phy/phy-gpio-vbus-usb.c if ((vbus ^ gpio_vbus->vbus) == 0) vbus 110 drivers/usb/phy/phy-gpio-vbus-usb.c gpio_vbus->vbus = vbus; vbus 119 drivers/usb/phy/phy-gpio-vbus-usb.c if (vbus) { vbus 208 drivers/usb/phy/phy-gpio-vbus-usb.c gpio_vbus->vbus = 0; /* start with disconnected */ vbus 176 drivers/usb/phy/phy-mv-usb.c if (mvotg->pdata->vbus == NULL) { vbus 297 drivers/usb/phy/phy-mv-usb.c if (mvotg->pdata->vbus) { vbus 298 drivers/usb/phy/phy-mv-usb.c if (mvotg->pdata->vbus->poll() == VBUS_HIGH) { vbus 491 drivers/usb/phy/phy-mv-usb.c if (mvotg->pdata->vbus) vbus 771 drivers/usb/phy/phy-mv-usb.c if (pdata->vbus) { vbus 773 drivers/usb/phy/phy-mv-usb.c retval = devm_request_threaded_irq(&pdev->dev, pdata->vbus->irq, vbus 781 drivers/usb/phy/phy-mv-usb.c pdata->vbus = NULL; vbus 24 drivers/usb/phy/phy-omap-otg.c bool vbus; vbus 52 drivers/usb/phy/phy-omap-otg.c if (!otg_dev->id && otg_dev->vbus) vbus 55 drivers/usb/phy/phy-omap-otg.c else if (otg_dev->vbus) vbus 80 drivers/usb/phy/phy-omap-otg.c otg_dev->vbus = event; vbus 125 drivers/usb/phy/phy-omap-otg.c otg_dev->vbus = extcon_get_state(extcon, EXTCON_USB); vbus 133 drivers/usb/phy/phy-omap-otg.c otg_dev->vbus); vbus 68 drivers/usb/phy/phy-tahvo.c static DEVICE_ATTR_RO(vbus); vbus 766 drivers/usb/phy/phy-tegra-usb.c if (!IS_ERR(phy->vbus)) vbus 767 drivers/usb/phy/phy-tegra-usb.c regulator_disable(phy->vbus); vbus 870 drivers/usb/phy/phy-tegra-usb.c if (!IS_ERR(phy->vbus)) { vbus 871 drivers/usb/phy/phy-tegra-usb.c err = regulator_enable(phy->vbus); vbus 1129 drivers/usb/phy/phy-tegra-usb.c tegra_phy->vbus = devm_regulator_get(&pdev->dev, "vbus"); vbus 1130 drivers/usb/phy/phy-tegra-usb.c if (IS_ERR(tegra_phy->vbus)) vbus 1131 drivers/usb/phy/phy-tegra-usb.c return PTR_ERR(tegra_phy->vbus); vbus 1134 drivers/usb/phy/phy-tegra-usb.c tegra_phy->vbus = ERR_PTR(-ENODEV); vbus 197 drivers/usb/phy/phy-twl6030-usb.c static DEVICE_ATTR_RO(vbus); vbus 80 drivers/usb/typec/tcpm/fusb302.c struct regulator *vbus; vbus 765 drivers/usb/typec/tcpm/fusb302.c ret = regulator_enable(chip->vbus); vbus 767 drivers/usb/typec/tcpm/fusb302.c ret = regulator_disable(chip->vbus); vbus 1719 drivers/usb/typec/tcpm/fusb302.c chip->vbus = devm_regulator_get(chip->dev, "vbus"); vbus 1720 drivers/usb/typec/tcpm/fusb302.c if (IS_ERR(chip->vbus)) vbus 1721 drivers/usb/typec/tcpm/fusb302.c return PTR_ERR(chip->vbus); vbus 3952 drivers/usb/typec/tcpm/tcpm.c bool vbus; vbus 3954 drivers/usb/typec/tcpm/tcpm.c vbus = port->tcpc->get_vbus(port->tcpc); vbus 3955 drivers/usb/typec/tcpm/tcpm.c if (vbus) vbus 152 drivers/usb/typec/tcpm/wcove.c bool vbus; vbus 227 drivers/usb/typec/tcpm/wcove.c wcove->vbus = !!(cc1ctrl & USBC_CC_CTRL_VBUSOK); vbus 229 drivers/usb/typec/tcpm/wcove.c return wcove->vbus; vbus 507 drivers/usb/typec/tcpm/wcove.c if (wcove->vbus != !!(cc1ctrl & USBC_CC_CTRL_VBUSOK)) vbus 34 include/linux/platform_data/mv_usb.h struct mv_usb_addon_irq *vbus; /* valid for OTG/UDC. VBUS change*/ vbus 46 include/linux/platform_data/mv_usb.h int (*set_vbus)(unsigned int vbus); vbus 71 include/linux/usb/tegra_usb_phy.h struct regulator *vbus;