/openbmc/linux/drivers/usb/phy/ |
H A D | phy-generic.c | 73 struct regulator *vbus_draw = nop->vbus_draw; in nop_set_vbus_draw() local 77 if (!vbus_draw) in nop_set_vbus_draw() 82 regulator_set_current_limit(vbus_draw, 0, 1000 * mA); in nop_set_vbus_draw() 84 ret = regulator_enable(vbus_draw); in nop_set_vbus_draw() 91 ret = regulator_disable(vbus_draw); in nop_set_vbus_draw() 264 nop->vbus_draw = devm_regulator_get_exclusive(dev, "vbus"); in usb_phy_gen_create_phy() 265 if (PTR_ERR(nop->vbus_draw) == -ENODEV) in usb_phy_gen_create_phy() 266 nop->vbus_draw = NULL; in usb_phy_gen_create_phy() 267 if (IS_ERR(nop->vbus_draw)) in usb_phy_gen_create_phy() 268 return dev_err_probe(dev, PTR_ERR(nop->vbus_draw), in usb_phy_gen_create_phy()
|
H A D | phy-gpio-vbus-usb.c | 35 struct regulator *vbus_draw; member 60 struct regulator *vbus_draw = gpio_vbus->vbus_draw; in set_vbus_draw() local 64 if (!vbus_draw) in set_vbus_draw() 69 regulator_set_current_limit(vbus_draw, 0, 1000 * mA); in set_vbus_draw() 71 ret = regulator_enable(vbus_draw); in set_vbus_draw() 78 ret = regulator_disable(vbus_draw); in set_vbus_draw() 308 gpio_vbus->vbus_draw = devm_regulator_get(&pdev->dev, "vbus_draw"); in gpio_vbus_probe() 309 if (IS_ERR(gpio_vbus->vbus_draw)) { in gpio_vbus_probe() 311 PTR_ERR(gpio_vbus->vbus_draw)); in gpio_vbus_probe() 312 gpio_vbus->vbus_draw = NULL; in gpio_vbus_probe()
|
H A D | phy-ab8500-usb.c | 130 unsigned vbus_draw; member 342 ab->vbus_draw = 0; in ab8505_usb_link_status_update() 386 event, &ab->vbus_draw); in ab8505_usb_link_status_update() 393 event, &ab->vbus_draw); in ab8505_usb_link_status_update() 452 ab->vbus_draw = 0; in ab8500_usb_link_status_update() 496 event, &ab->vbus_draw); in ab8500_usb_link_status_update() 503 event, &ab->vbus_draw); in ab8500_usb_link_status_update() 570 ab->vbus_draw = 0; in ab8500_usb_disconnect_irq() 572 event, &ab->vbus_draw); in ab8500_usb_disconnect_irq() 579 event, &ab->vbus_draw); in ab8500_usb_disconnect_irq() [all …]
|
H A D | phy-generic.h | 16 struct regulator *vbus_draw; member
|
H A D | phy-fsl-usb.c | 615 otg->gadget->ops->vbus_draw(otg->gadget, 0); in fsl_otg_set_peripheral()
|
/openbmc/u-boot/include/linux/usb/ |
H A D | gadget.h | 443 int (*vbus_draw) (struct usb_gadget *, unsigned mA); member 667 if (!gadget->ops->vbus_draw) in usb_gadget_vbus_draw() 669 return gadget->ops->vbus_draw(gadget, mA); in usb_gadget_vbus_draw()
|
/openbmc/linux/include/linux/usb/ |
H A D | gadget.h | 317 int (*vbus_draw) (struct usb_gadget *, unsigned mA); member
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | core.c | 657 if (!gadget->ops->vbus_draw) { in usb_gadget_vbus_draw() 662 ret = gadget->ops->vbus_draw(gadget, mA); in usb_gadget_vbus_draw()
|
H A D | pxa27x_udc.c | 1620 .vbus_draw = pxa_udc_vbus_draw,
|
H A D | pxa25x_udc.c | 1226 .vbus_draw = pxa25x_udc_vbus_draw,
|
H A D | mv_u3d_core.c | 1294 .vbus_draw = mv_u3d_vbus_draw,
|
H A D | fsl_udc_core.c | 1241 .vbus_draw = fsl_vbus_draw,
|
H A D | pch_udc.c | 1242 .vbus_draw = pch_udc_pcd_vbus_draw,
|
H A D | omap_udc.c | 1323 .vbus_draw = omap_vbus_draw,
|
H A D | tegra-xudc.c | 2190 .vbus_draw = tegra_xudc_gadget_vbus_draw,
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | pxa25x_udc.c | 1099 .vbus_draw = pxa25x_udc_vbus_draw,
|
/openbmc/linux/drivers/usb/musb/ |
H A D | musb_gadget.c | 1679 .vbus_draw = musb_gadget_vbus_draw,
|
/openbmc/u-boot/drivers/usb/musb-new/ |
H A D | musb_gadget.c | 1793 .vbus_draw = musb_gadget_vbus_draw,
|
/openbmc/linux/drivers/usb/chipidea/ |
H A D | udc.c | 1844 .vbus_draw = ci_udc_vbus_draw,
|
/openbmc/linux/drivers/staging/emxx_udc/ |
H A D | emxx_udc.c | 2960 .vbus_draw = nbu2ss_gad_vbus_draw,
|
/openbmc/linux/drivers/usb/dwc3/ |
H A D | gadget.c | 3143 .vbus_draw = dwc3_gadget_vbus_draw,
|
/openbmc/linux/drivers/usb/dwc2/ |
H A D | gadget.c | 4783 .vbus_draw = dwc2_hsotg_vbus_draw,
|