Home
last modified time | relevance | path

Searched refs:vbus_draw (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/phy/
Dphy-gpio-vbus-usb.c35 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()
Dphy-ab8500-usb.c130 unsigned vbus_draw; member
342 ab->vbus_draw = 0; in ab8505_usb_link_status_update()
364 UX500_MUSB_PREPARE, &ab->vbus_draw); in ab8505_usb_link_status_update()
380 UX500_MUSB_PREPARE, &ab->vbus_draw); 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()
475 UX500_MUSB_PREPARE, &ab->vbus_draw); in ab8500_usb_link_status_update()
490 UX500_MUSB_PREPARE, &ab->vbus_draw); in ab8500_usb_link_status_update()
496 event, &ab->vbus_draw); in ab8500_usb_link_status_update()
[all …]
Dphy-generic.c73 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()
Dphy-generic.h16 struct regulator *vbus_draw; member
Dphy-fsl-usb.c615 otg->gadget->ops->vbus_draw(otg->gadget, 0); in fsl_otg_set_peripheral()
/kernel/linux/linux-5.10/include/linux/platform_data/
Dusb-s3c2410_udc.h24 void (*vbus_draw)(unsigned int ma); member
/kernel/linux/linux-5.10/arch/arm/mach-s3c/
Dmach-gta02.c424 .vbus_draw = gta02_udc_vbus_draw,
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Ds3c2410_udc.c1483 if (udc_info && udc_info->vbus_draw) { in s3c2410_vbus_draw()
1484 udc_info->vbus_draw(ma); in s3c2410_vbus_draw()
1501 .vbus_draw = s3c2410_vbus_draw,
Dcore.c611 if (!gadget->ops->vbus_draw) { in usb_gadget_vbus_draw()
616 ret = gadget->ops->vbus_draw(gadget, mA); in usb_gadget_vbus_draw()
Ds3c-hsudc.c1213 .vbus_draw = s3c_hsudc_vbus_draw,
Dpxa27x_udc.c1620 .vbus_draw = pxa_udc_vbus_draw,
Dpxa25x_udc.c1227 .vbus_draw = pxa25x_udc_vbus_draw,
Dmv_u3d_core.c1293 .vbus_draw = mv_u3d_vbus_draw,
Dfsl_udc_core.c1242 .vbus_draw = fsl_vbus_draw,
Dpch_udc.c1246 .vbus_draw = pch_udc_pcd_vbus_draw,
Domap_udc.c1318 .vbus_draw = omap_vbus_draw,
Dtegra-xudc.c2177 .vbus_draw = tegra_xudc_gadget_vbus_draw,
/kernel/linux/linux-5.10/include/linux/usb/
Dgadget.h316 int (*vbus_draw) (struct usb_gadget *, unsigned mA); member
/kernel/linux/linux-5.10/drivers/usb/musb/
Dmusb_gadget.c1676 .vbus_draw = musb_gadget_vbus_draw,
/kernel/linux/linux-5.10/drivers/usb/chipidea/
Dudc.c1800 .vbus_draw = ci_udc_vbus_draw,
/kernel/linux/linux-5.10/drivers/staging/emxx_udc/
Demxx_udc.c2959 .vbus_draw = nbu2ss_gad_vbus_draw,
/kernel/linux/linux-5.10/drivers/usb/dwc2/
Dgadget.c4721 .vbus_draw = dwc2_hsotg_vbus_draw,