Lines Matching refs:udc
61 #include <asm/arch/udc.h>
140 MODULE_PARM_DESC (fifo_mode, "pxa2xx udc fifo mode");
1231 static int pullup(struct pxa2xx_udc *udc, int is_active)
1233 is_active = is_active && udc->vbus && udc->pullup;
1236 udc_enable(udc);
1238 if (udc->gadget.speed != USB_SPEED_UNKNOWN) {
1239 DMSG("disconnect %s\n", udc->driver
1240 ? udc->driver->driver.name
1242 stop_activity(udc, udc->driver);
1244 udc_disable(udc);
1252 struct pxa2xx_udc *udc;
1254 udc = container_of(_gadget, struct pxa2xx_udc, gadget);
1255 udc->vbus = is_active = (is_active != 0);
1257 pullup(udc, is_active);
1264 struct pxa2xx_udc *udc;
1266 udc = container_of(_gadget, struct pxa2xx_udc, gadget);
1269 if (!udc->mach->udc_command)
1273 udc->pullup = is_active;
1274 pullup(udc, is_active);
1293 static const char proc_node_name [] = "driver/udc";
1523 /* try to clear these bits before we enable the udc */
1853 /* udc hardware is broken by design:
1898 * where udc seems to clear FST wrongly, and
2656 struct pxa2xx_udc *udc = platform_get_drvdata(dev);
2658 if (!udc->mach->udc_command)
2660 pullup(udc, 0);
2667 struct pxa2xx_udc *udc = platform_get_drvdata(dev);
2669 pullup(udc, 1);
2688 .name = "pxa2xx-udc",