ep0 3016 drivers/staging/emxx_udc/emxx_udc.c udc->gadget.ep0 = &udc->ep[0].ep; ep0 3060 drivers/staging/emxx_udc/emxx_udc.c udc->gadget.ep0 = &udc->ep[0].ep; ep0 835 drivers/usb/cdns3/ep0.c priv_dev->gadget.ep0->maxpacket = max_packet_size; ep0 888 drivers/usb/cdns3/ep0.c priv_dev->gadget.ep0 = &priv_ep->endpoint; ep0 1964 drivers/usb/chipidea/udc.c ci->gadget.ep0 = &ci->ep0in->ep; ep0 987 drivers/usb/core/hcd.c usb_dev->ep0.desc.wMaxPacketSize = cpu_to_le16(64); ep0 2235 drivers/usb/core/hub.c usb_remove_ep_devs(&udev->ep0); ep0 2581 drivers/usb/core/hub.c (void) usb_create_ep_devs(&udev->dev, &udev->ep0, udev); ep0 4446 drivers/usb/core/hub.c usb_enable_endpoint(udev, &udev->ep0, true); ep0 4590 drivers/usb/core/hub.c udev->ep0.desc.wMaxPacketSize = cpu_to_le16(512); ep0 4593 drivers/usb/core/hub.c udev->ep0.desc.wMaxPacketSize = cpu_to_le16(64); ep0 4600 drivers/usb/core/hub.c udev->ep0.desc.wMaxPacketSize = cpu_to_le16(64); ep0 4603 drivers/usb/core/hub.c udev->ep0.desc.wMaxPacketSize = cpu_to_le16(8); ep0 4833 drivers/usb/core/hub.c if (usb_endpoint_maxp(&udev->ep0.desc) != i) { ep0 4844 drivers/usb/core/hub.c udev->ep0.desc.wMaxPacketSize = cpu_to_le16(i); ep0 620 drivers/usb/core/usb.c INIT_LIST_HEAD(&dev->ep0.urb_list); ep0 621 drivers/usb/core/usb.c dev->ep0.desc.bLength = USB_DT_ENDPOINT_SIZE; ep0 622 drivers/usb/core/usb.c dev->ep0.desc.bDescriptorType = USB_DT_ENDPOINT; ep0 624 drivers/usb/core/usb.c usb_enable_endpoint(dev, &dev->ep0, false); ep0 1634 drivers/usb/dwc2/gadget.c struct dwc2_hsotg_ep *ep0 = hsotg->eps_out[0]; ep0 1642 drivers/usb/dwc2/gadget.c if (!ep0->dir_in) { ep0 1675 drivers/usb/dwc2/gadget.c ret = dwc2_hsotg_send_reply(hsotg, ep0, &reply, 2); ep0 1742 drivers/usb/dwc2/gadget.c struct dwc2_hsotg_ep *ep0 = hsotg->eps_out[0]; ep0 1781 drivers/usb/dwc2/gadget.c ret = dwc2_hsotg_send_reply(hsotg, ep0, NULL, 0); ep0 1803 drivers/usb/dwc2/gadget.c ret = dwc2_hsotg_send_reply(hsotg, ep0, NULL, 0); ep0 1859 drivers/usb/dwc2/gadget.c struct dwc2_hsotg_ep *ep0 = hsotg->eps_out[0]; ep0 1863 drivers/usb/dwc2/gadget.c dev_dbg(hsotg->dev, "ep0 stall (dir=%d)\n", ep0->dir_in); ep0 1864 drivers/usb/dwc2/gadget.c reg = (ep0->dir_in) ? DIEPCTL0 : DOEPCTL0; ep0 1899 drivers/usb/dwc2/gadget.c struct dwc2_hsotg_ep *ep0 = hsotg->eps_out[0]; ep0 1909 drivers/usb/dwc2/gadget.c ep0->dir_in = 1; ep0 1912 drivers/usb/dwc2/gadget.c ep0->dir_in = 1; ep0 1915 drivers/usb/dwc2/gadget.c ep0->dir_in = 0; ep0 1931 drivers/usb/dwc2/gadget.c ret = dwc2_hsotg_send_reply(hsotg, ep0, NULL, 0); ep0 4868 drivers/usb/dwc2/gadget.c hsotg->gadget.ep0 = &hsotg->eps_out[0]->ep; ep0 825 drivers/usb/dwc3/ep0.c struct dwc3_ep *ep0; ep0 832 drivers/usb/dwc3/ep0.c ep0 = dwc->eps[0]; ep0 836 drivers/usb/dwc3/ep0.c trace_dwc3_complete_trb(ep0, trb); ep0 838 drivers/usb/dwc3/ep0.c r = next_request(&ep0->pending_list); ep0 846 drivers/usb/dwc3/ep0.c dwc3_gadget_giveback(ep0, r, -ECONNRESET); ep0 857 drivers/usb/dwc3/ep0.c if ((IS_ALIGNED(ur->length, ep0->endpoint.maxpacket) && ep0 861 drivers/usb/dwc3/ep0.c trace_dwc3_complete_trb(ep0, trb); ep0 874 drivers/usb/dwc3/ep0.c dwc3_gadget_giveback(ep0, r, 0); ep0 2212 drivers/usb/dwc3/gadget.c dwc->gadget.ep0 = &dep->endpoint; ep0 2888 drivers/usb/dwc3/gadget.c dwc->gadget.ep0->maxpacket = 512; ep0 2909 drivers/usb/dwc3/gadget.c dwc->gadget.ep0->maxpacket = 512; ep0 2914 drivers/usb/dwc3/gadget.c dwc->gadget.ep0->maxpacket = 64; ep0 2919 drivers/usb/dwc3/gadget.c dwc->gadget.ep0->maxpacket = 64; ep0 2924 drivers/usb/dwc3/gadget.c dwc->gadget.ep0->maxpacket = 8; ep0 2929 drivers/usb/dwc3/gadget.c dwc->eps[1]->endpoint.maxpacket = dwc->gadget.ep0->maxpacket; ep0 745 drivers/usb/gadget/composite.c qual->bMaxPacketSize0 = cdev->gadget->ep0->maxpacket; ep0 1413 drivers/usb/gadget/composite.c ret = usb_ep_queue(cdev->gadget->ep0, req, gfp_flags); ep0 1605 drivers/usb/gadget/composite.c gadget->ep0->driver_data = cdev; ep0 1626 drivers/usb/gadget/composite.c cdev->gadget->ep0->maxpacket; ep0 1982 drivers/usb/gadget/composite.c composite_setup_complete(gadget->ep0, req); ep0 2106 drivers/usb/gadget/composite.c cdev->req = usb_ep_alloc_request(gadget->ep0, GFP_KERNEL); ep0 2120 drivers/usb/gadget/composite.c gadget->ep0->driver_data = cdev; ep0 2141 drivers/usb/gadget/composite.c usb_ep_free_request(gadget->ep0, cdev->req); ep0 2147 drivers/usb/gadget/composite.c struct usb_ep *ep0) ep0 2151 drivers/usb/gadget/composite.c cdev->os_desc_req = usb_ep_alloc_request(ep0, GFP_KERNEL); ep0 2161 drivers/usb/gadget/composite.c usb_ep_free_request(ep0, cdev->os_desc_req); ep0 2181 drivers/usb/gadget/composite.c usb_ep_dequeue(cdev->gadget->ep0, cdev->os_desc_req); ep0 2185 drivers/usb/gadget/composite.c usb_ep_free_request(cdev->gadget->ep0, cdev->os_desc_req); ep0 2190 drivers/usb/gadget/composite.c usb_ep_dequeue(cdev->gadget->ep0, cdev->req); ep0 2194 drivers/usb/gadget/composite.c usb_ep_free_request(cdev->gadget->ep0, cdev->req); ep0 2246 drivers/usb/gadget/composite.c status = composite_os_desc_req_prepare(cdev, gadget->ep0); ep0 2423 drivers/usb/gadget/composite.c composite_setup_complete(cdev->gadget->ep0, req); ep0 1208 drivers/usb/gadget/configfs.c struct usb_ep *ep0); ep0 1366 drivers/usb/gadget/configfs.c ret = composite_os_desc_req_prepare(cdev, gadget->ep0); ep0 364 drivers/usb/gadget/function/f_acm.c cdev->gadget->ep0->driver_data = acm; ep0 410 drivers/usb/gadget/function/f_acm.c value = usb_ep_queue(cdev->gadget->ep0, req, GFP_ATOMIC); ep0 521 drivers/usb/gadget/function/f_ecm.c value = usb_ep_queue(cdev->gadget->ep0, req, GFP_ATOMIC); ep0 298 drivers/usb/gadget/function/f_fs.c ret = usb_ep_queue(ffs->gadget->ep0, req, GFP_ATOMIC); ep0 304 drivers/usb/gadget/function/f_fs.c usb_ep_dequeue(ffs->gadget->ep0, req); ep0 316 drivers/usb/gadget/function/f_fs.c usb_ep_set_halt(ffs->gadget->ep0); ep0 1853 drivers/usb/gadget/function/f_fs.c ffs->ep0req = usb_ep_alloc_request(cdev->gadget->ep0, GFP_KERNEL); ep0 1879 drivers/usb/gadget/function/f_fs.c usb_ep_free_request(ffs->gadget->ep0, ffs->ep0req); ep0 602 drivers/usb/gadget/function/f_hid.c status = usb_ep_queue(cdev->gadget->ep0, req, GFP_ATOMIC); ep0 274 drivers/usb/gadget/function/f_mass_storage.c struct usb_ep *ep0; /* Copy of gadget->ep0 */ ep0 428 drivers/usb/gadget/function/f_mass_storage.c rc = usb_ep_queue(common->ep0, common->ep0req, GFP_ATOMIC); ep0 429 drivers/usb/gadget/function/f_mass_storage.c common->ep0->driver_data = common; ep0 433 drivers/usb/gadget/function/f_mass_storage.c common->ep0->name, rc); ep0 2685 drivers/usb/gadget/function/f_mass_storage.c common->ep0 = cdev->gadget->ep0; ep0 852 drivers/usb/gadget/function/f_ncm.c value = usb_ep_queue(cdev->gadget->ep0, req, GFP_ATOMIC); ep0 1004 drivers/usb/gadget/function/f_printer.c value = usb_ep_queue(cdev->gadget->ep0, req, GFP_ATOMIC); ep0 527 drivers/usb/gadget/function/f_rndis.c value = usb_ep_queue(cdev->gadget->ep0, req, GFP_ATOMIC); ep0 823 drivers/usb/gadget/function/f_sourcesink.c value = usb_ep_queue(c->cdev->gadget->ep0, req, GFP_ATOMIC); ep0 456 drivers/usb/gadget/function/f_tcm.c return usb_ep_queue(cdev->gadget->ep0, cdev->req, GFP_ATOMIC); ep0 420 drivers/usb/gadget/function/f_uac1.c value = usb_ep_queue(cdev->gadget->ep0, req, GFP_ATOMIC); ep0 563 drivers/usb/gadget/function/f_uac1_legacy.c value = usb_ep_queue(cdev->gadget->ep0, req, GFP_ATOMIC); ep0 962 drivers/usb/gadget/function/f_uac2.c value = usb_ep_queue(cdev->gadget->ep0, req, GFP_ATOMIC); ep0 724 drivers/usb/gadget/function/f_uvc.c uvc->control_req = usb_ep_alloc_request(cdev->gadget->ep0, GFP_KERNEL); ep0 758 drivers/usb/gadget/function/f_uvc.c usb_ep_free_request(cdev->gadget->ep0, uvc->control_req); ep0 891 drivers/usb/gadget/function/f_uvc.c usb_ep_free_request(cdev->gadget->ep0, uvc->control_req); ep0 39 drivers/usb/gadget/function/uvc_v4l2.c return usb_ep_set_halt(cdev->gadget->ep0); ep0 46 drivers/usb/gadget/function/uvc_v4l2.c return usb_ep_queue(cdev->gadget->ep0, req, GFP_KERNEL); ep0 226 drivers/usb/gadget/legacy/dbgp.c usb_ep_free_request(gadget->ep0, dbgp.req); ep0 284 drivers/usb/gadget/legacy/dbgp.c dbgp.req = usb_ep_alloc_request(gadget->ep0, GFP_KERNEL); ep0 354 drivers/usb/gadget/legacy/dbgp.c device_desc.bMaxPacketSize0 = gadget->ep0->maxpacket; ep0 388 drivers/usb/gadget/legacy/dbgp.c return usb_ep_queue(gadget->ep0, req, GFP_ATOMIC); ep0 931 drivers/usb/gadget/legacy/inode.c (void) usb_ep_set_halt (dev->gadget->ep0); ep0 936 drivers/usb/gadget/legacy/inode.c struct usb_ep *ep = dev->gadget->ep0; ep0 994 drivers/usb/gadget/legacy/inode.c clean_req (dev->gadget->ep0, dev->req); ep0 1134 drivers/usb/gadget/legacy/inode.c retval = setup_req (dev->gadget->ep0, dev->req, len); ep0 1145 drivers/usb/gadget/legacy/inode.c dev->gadget->ep0, dev->req, ep0 1151 drivers/usb/gadget/legacy/inode.c clean_req (dev->gadget->ep0, dev->req); ep0 1161 drivers/usb/gadget/legacy/inode.c (void) usb_ep_set_halt (dev->gadget->ep0); ep0 1292 drivers/usb/gadget/legacy/inode.c qual.bMaxPacketSize0 = dev->gadget->ep0->maxpacket; ep0 1373 drivers/usb/gadget/legacy/inode.c dev->dev->bMaxPacketSize0 = dev->gadget->ep0->maxpacket; ep0 1476 drivers/usb/gadget/legacy/inode.c value = setup_req (gadget->ep0, dev->req, ep0 1483 drivers/usb/gadget/legacy/inode.c value = usb_ep_queue (gadget->ep0, dev->req, ep0 1488 drivers/usb/gadget/legacy/inode.c clean_req (gadget->ep0, dev->req); ep0 1512 drivers/usb/gadget/legacy/inode.c value = usb_ep_queue (gadget->ep0, req, GFP_KERNEL); ep0 1638 drivers/usb/gadget/legacy/inode.c gadget->ep0->driver_data = NULL; ep0 1643 drivers/usb/gadget/legacy/inode.c usb_ep_free_request (gadget->ep0, dev->req); ep0 1665 drivers/usb/gadget/legacy/inode.c gadget->ep0->driver_data = dev; ep0 1668 drivers/usb/gadget/legacy/inode.c dev->req = usb_ep_alloc_request (gadget->ep0, GFP_KERNEL); ep0 159 drivers/usb/gadget/udc/aspeed-vhub/core.c ast_vhub_ep0_handle_ack(&vhub->ep0, true); ep0 161 drivers/usb/gadget/udc/aspeed-vhub/core.c ast_vhub_ep0_handle_ack(&vhub->ep0, false); ep0 163 drivers/usb/gadget/udc/aspeed-vhub/core.c ast_vhub_ep0_handle_setup(&vhub->ep0); ep0 243 drivers/usb/gadget/udc/aspeed-vhub/core.c writel(vhub->ep0.buf_dma, vhub->regs + AST_VHUB_EP0_DATA); ep0 380 drivers/usb/gadget/udc/aspeed-vhub/core.c ast_vhub_init_ep0(vhub, &vhub->ep0, NULL); ep0 44 drivers/usb/gadget/udc/aspeed-vhub/dev.c ast_vhub_ep0_handle_ack(&d->ep0, true); ep0 46 drivers/usb/gadget/udc/aspeed-vhub/dev.c ast_vhub_ep0_handle_ack(&d->ep0, false); ep0 48 drivers/usb/gadget/udc/aspeed-vhub/dev.c ast_vhub_ep0_handle_setup(&d->ep0); ep0 77 drivers/usb/gadget/udc/aspeed-vhub/dev.c writel(d->ep0.buf_dma, d->regs + AST_VHUB_DEV_EP0_DATA); ep0 172 drivers/usb/gadget/udc/aspeed-vhub/dev.c return ast_vhub_simple_reply(&d->ep0, st0, 0); ep0 197 drivers/usb/gadget/udc/aspeed-vhub/dev.c return ast_vhub_simple_reply(&d->ep0, st0, 0); ep0 547 drivers/usb/gadget/udc/aspeed-vhub/dev.c ast_vhub_init_ep0(vhub, &d->ep0, d); ep0 568 drivers/usb/gadget/udc/aspeed-vhub/dev.c d->gadget.ep0 = &d->ep0.ep; ep0 37 drivers/usb/gadget/udc/aspeed-vhub/ep0.c struct usb_request *req = &ep->ep0.req.req; ep0 42 drivers/usb/gadget/udc/aspeed-vhub/ep0.c if (WARN_ON(!ep->ep0.dir_in)) ep0 98 drivers/usb/gadget/udc/aspeed-vhub/ep0.c memcpy_fromio(&crq, ep->ep0.setup, sizeof(crq)); ep0 106 drivers/usb/gadget/udc/aspeed-vhub/ep0.c ep->ep0.state); ep0 118 drivers/usb/gadget/udc/aspeed-vhub/ep0.c if (ep->ep0.state != ep0_state_token && ep0 119 drivers/usb/gadget/udc/aspeed-vhub/ep0.c ep->ep0.state != ep0_state_stall) { ep0 125 drivers/usb/gadget/udc/aspeed-vhub/ep0.c ep->ep0.state = ep0_state_data; ep0 126 drivers/usb/gadget/udc/aspeed-vhub/ep0.c ep->ep0.dir_in = !!(crq.bRequestType & USB_DIR_IN); ep0 169 drivers/usb/gadget/udc/aspeed-vhub/ep0.c writel(VHUB_EP0_CTRL_STALL, ep->ep0.ctlstat); ep0 170 drivers/usb/gadget/udc/aspeed-vhub/ep0.c ep->ep0.state = ep0_state_stall; ep0 171 drivers/usb/gadget/udc/aspeed-vhub/ep0.c ep->ep0.dir_in = false; ep0 176 drivers/usb/gadget/udc/aspeed-vhub/ep0.c writel(VHUB_EP0_TX_BUFF_RDY, ep->ep0.ctlstat); ep0 177 drivers/usb/gadget/udc/aspeed-vhub/ep0.c ep->ep0.state = ep0_state_status; ep0 178 drivers/usb/gadget/udc/aspeed-vhub/ep0.c ep->ep0.dir_in = false; ep0 198 drivers/usb/gadget/udc/aspeed-vhub/ep0.c ep->ep0.state = ep0_state_status; ep0 199 drivers/usb/gadget/udc/aspeed-vhub/ep0.c writel(VHUB_EP0_RX_BUFF_RDY, ep->ep0.ctlstat); ep0 228 drivers/usb/gadget/udc/aspeed-vhub/ep0.c writel(reg, ep->ep0.ctlstat); ep0 229 drivers/usb/gadget/udc/aspeed-vhub/ep0.c writel(reg | VHUB_EP0_TX_BUFF_RDY, ep->ep0.ctlstat); ep0 238 drivers/usb/gadget/udc/aspeed-vhub/ep0.c writel(VHUB_EP0_RX_BUFF_RDY, ep->ep0.ctlstat); ep0 265 drivers/usb/gadget/udc/aspeed-vhub/ep0.c ep->ep0.state = ep0_state_status; ep0 266 drivers/usb/gadget/udc/aspeed-vhub/ep0.c writel(VHUB_EP0_TX_BUFF_RDY, ep->ep0.ctlstat); ep0 281 drivers/usb/gadget/udc/aspeed-vhub/ep0.c stat = readl(ep->ep0.ctlstat); ep0 287 drivers/usb/gadget/udc/aspeed-vhub/ep0.c stat, ep->ep0.state, ep->ep0.dir_in, in_ack, req); ep0 289 drivers/usb/gadget/udc/aspeed-vhub/ep0.c switch(ep->ep0.state) { ep0 301 drivers/usb/gadget/udc/aspeed-vhub/ep0.c if ((ep->ep0.dir_in && (stat & VHUB_EP0_TX_BUFF_RDY)) || ep0 302 drivers/usb/gadget/udc/aspeed-vhub/ep0.c (!ep->ep0.dir_in && (stat & VHUB_EP0_RX_BUFF_RDY)) || ep0 303 drivers/usb/gadget/udc/aspeed-vhub/ep0.c (ep->ep0.dir_in != in_ack)) { ep0 319 drivers/usb/gadget/udc/aspeed-vhub/ep0.c if (ep->ep0.dir_in) ep0 336 drivers/usb/gadget/udc/aspeed-vhub/ep0.c if (ep->ep0.dir_in == in_ack) { ep0 352 drivers/usb/gadget/udc/aspeed-vhub/ep0.c writel(VHUB_EP0_CTRL_STALL, ep->ep0.ctlstat); ep0 353 drivers/usb/gadget/udc/aspeed-vhub/ep0.c ep->ep0.state = ep0_state_stall; ep0 355 drivers/usb/gadget/udc/aspeed-vhub/ep0.c ep->ep0.state = ep0_state_token; ep0 394 drivers/usb/gadget/udc/aspeed-vhub/ep0.c u_req->short_not_ok, ep->ep0.dir_in); ep0 406 drivers/usb/gadget/udc/aspeed-vhub/ep0.c ep->ep0.state == ep0_state_token || ep0 407 drivers/usb/gadget/udc/aspeed-vhub/ep0.c ep->ep0.state == ep0_state_stall) { ep0 410 drivers/usb/gadget/udc/aspeed-vhub/ep0.c list_empty(&ep->queue), ep->ep0.state); ep0 418 drivers/usb/gadget/udc/aspeed-vhub/ep0.c if (ep->ep0.dir_in) { ep0 424 drivers/usb/gadget/udc/aspeed-vhub/ep0.c ep->ep0.state = ep0_state_status; ep0 425 drivers/usb/gadget/udc/aspeed-vhub/ep0.c writel(VHUB_EP0_TX_BUFF_RDY, ep->ep0.ctlstat); ep0 461 drivers/usb/gadget/udc/aspeed-vhub/ep0.c writel(VHUB_EP0_CTRL_STALL, ep->ep0.ctlstat); ep0 462 drivers/usb/gadget/udc/aspeed-vhub/ep0.c ep->ep0.state = ep0_state_status; ep0 463 drivers/usb/gadget/udc/aspeed-vhub/ep0.c ep->ep0.dir_in = false; ep0 480 drivers/usb/gadget/udc/aspeed-vhub/ep0.c struct ast_vhub_ep *ep = &dev->ep0; ep0 483 drivers/usb/gadget/udc/aspeed-vhub/ep0.c ep->ep0.state = ep0_state_token; ep0 501 drivers/usb/gadget/udc/aspeed-vhub/ep0.c ep->ep0.state = ep0_state_token; ep0 502 drivers/usb/gadget/udc/aspeed-vhub/ep0.c INIT_LIST_HEAD(&ep->ep0.req.queue); ep0 503 drivers/usb/gadget/udc/aspeed-vhub/ep0.c ep->ep0.req.internal = true; ep0 507 drivers/usb/gadget/udc/aspeed-vhub/ep0.c ep->ep0.ctlstat = dev->regs + AST_VHUB_DEV_EP0_CTRL; ep0 508 drivers/usb/gadget/udc/aspeed-vhub/ep0.c ep->ep0.setup = vhub->regs + ep0 515 drivers/usb/gadget/udc/aspeed-vhub/ep0.c ep->ep0.ctlstat = vhub->regs + AST_VHUB_EP0_CTRL; ep0 516 drivers/usb/gadget/udc/aspeed-vhub/ep0.c ep->ep0.setup = vhub->regs + AST_VHUB_SETUP0; ep0 308 drivers/usb/gadget/udc/aspeed-vhub/vhub.h } ep0; ep0 360 drivers/usb/gadget/udc/aspeed-vhub/vhub.h struct ast_vhub_ep ep0; ep0 390 drivers/usb/gadget/udc/aspeed-vhub/vhub.h struct ast_vhub_ep ep0; ep0 829 drivers/usb/gadget/udc/at91_udc.c INIT_LIST_HEAD(&udc->gadget.ep0->ep_list); ep0 1273 drivers/usb/gadget/udc/at91_udc.c struct at91_ep *ep0 = &udc->ep[0]; ep0 1274 drivers/usb/gadget/udc/at91_udc.c u32 __iomem *creg = ep0->creg; ep0 1279 drivers/usb/gadget/udc/at91_udc.c nuke(ep0, -EPROTO); ep0 1288 drivers/usb/gadget/udc/at91_udc.c nuke(ep0, 0); ep0 1290 drivers/usb/gadget/udc/at91_udc.c handle_setup(udc, ep0, csr); ep0 1294 drivers/usb/gadget/udc/at91_udc.c if (list_empty(&ep0->queue)) ep0 1297 drivers/usb/gadget/udc/at91_udc.c req = list_entry(ep0->queue.next, struct at91_request, queue); ep0 1305 drivers/usb/gadget/udc/at91_udc.c if (req && ep0->is_in) { ep0 1306 drivers/usb/gadget/udc/at91_udc.c if (handle_ep(ep0)) ep0 1348 drivers/usb/gadget/udc/at91_udc.c if (!ep0->is_in) { ep0 1350 drivers/usb/gadget/udc/at91_udc.c if (handle_ep(ep0)) { ep0 1389 drivers/usb/gadget/udc/at91_udc.c done(ep0, req, 0); ep0 1827 drivers/usb/gadget/udc/at91_udc.c udc->gadget.ep0 = &udc->ep[0].ep; ep0 241 drivers/usb/gadget/udc/atmel_usba_udc.c usba_ep_init_debugfs(udc, to_usba_ep(udc->gadget.ep0)); ep0 246 drivers/usb/gadget/udc/atmel_usba_udc.c usba_ep_cleanup_debugfs(to_usba_ep(udc->gadget.ep0)); ep0 1140 drivers/usb/gadget/udc/atmel_usba_udc.c ep = to_usba_ep(udc->gadget.ep0); ep0 1152 drivers/usb/gadget/udc/atmel_usba_udc.c return to_usba_ep(udc->gadget.ep0); ep0 1791 drivers/usb/gadget/udc/atmel_usba_udc.c struct usba_ep *ep0, *ep; ep0 1814 drivers/usb/gadget/udc/atmel_usba_udc.c ep0 = &udc->usba_ep[0]; ep0 1815 drivers/usb/gadget/udc/atmel_usba_udc.c ep0->ep.desc = &usba_ep0_desc; ep0 1816 drivers/usb/gadget/udc/atmel_usba_udc.c ep0->state = WAIT_FOR_SETUP; ep0 1817 drivers/usb/gadget/udc/atmel_usba_udc.c usba_ep_writel(ep0, CFG, ep0 1821 drivers/usb/gadget/udc/atmel_usba_udc.c usba_ep_writel(ep0, CTL_ENB, ep0 1835 drivers/usb/gadget/udc/atmel_usba_udc.c if (!(usba_ep_readl(ep0, CFG) & USBA_EPT_MAPPED)) ep0 2096 drivers/usb/gadget/udc/atmel_usba_udc.c udc->gadget.ep0 = &eps[0].ep; ep0 969 drivers/usb/gadget/udc/bcm63xx_udc.c udc->gadget.ep0 = &udc->bep[0].ep; ep0 400 drivers/usb/gadget/udc/bdc/bdc_ep.c (req_len % bdc->gadget.ep0->maxpacket == 0)) { ep0 403 drivers/usb/gadget/udc/bdc/bdc_ep.c bdc->gadget.ep0->maxpacket); ep0 1960 drivers/usb/gadget/udc/bdc/bdc_ep.c bdc->gadget.ep0 = &ep->usb_ep; ep0 86 drivers/usb/gadget/udc/bdc/bdc_udc.c bdc->gadget.ep0->maxpacket = EP0_MAX_PKT_SIZE; ep0 98 drivers/usb/gadget/udc/bdc/bdc_udc.c bdc->gadget.ep0->maxpacket = 64; ep0 104 drivers/usb/gadget/udc/bdc/bdc_udc.c bdc->gadget.ep0->maxpacket = 64; ep0 110 drivers/usb/gadget/udc/bdc/bdc_udc.c bdc->gadget.ep0->maxpacket = 8; ep0 1046 drivers/usb/gadget/udc/dummy_hcd.c dum->gadget.ep0 = &dum->ep[0].ep; ep0 2176 drivers/usb/gadget/udc/dummy_hcd.c dum_hcd->dum->gadget.ep0-> ep0 740 drivers/usb/gadget/udc/fotg210-udc.c fotg210_ep_queue(fotg210->gadget.ep0, fotg210->ep0_req, GFP_ATOMIC); ep0 1155 drivers/usb/gadget/udc/fotg210-udc.c fotg210->gadget.ep0 = &fotg210->ep[0]->ep; ep0 1156 drivers/usb/gadget/udc/fotg210-udc.c INIT_LIST_HEAD(&fotg210->gadget.ep0->ep_list); ep0 2502 drivers/usb/gadget/udc/fsl_qe_udc.c udc->gadget.ep0 = &udc->eps[0].ep; ep0 1521 drivers/usb/gadget/udc/fsl_udc_core.c static void ep0_req_complete(struct fsl_udc *udc, struct fsl_ep *ep0, ep0 1531 drivers/usb/gadget/udc/fsl_udc_core.c done(ep0, req, 0); ep0 2479 drivers/usb/gadget/udc/fsl_udc_core.c udc_controller->gadget.ep0 = &udc_controller->eps[0].ep; ep0 719 drivers/usb/gadget/udc/fusb300_udc.c fusb300_queue(fusb300->gadget.ep0, fusb300->ep0_req, GFP_KERNEL); ep0 1467 drivers/usb/gadget/udc/fusb300_udc.c fusb300->gadget.ep0 = &fusb300->ep[0]->ep; ep0 1468 drivers/usb/gadget/udc/fusb300_udc.c INIT_LIST_HEAD(&fusb300->gadget.ep0->ep_list); ep0 1255 drivers/usb/gadget/udc/goku_udc.c dev->gadget.ep0 = &dev->ep [0].ep; ep0 2039 drivers/usb/gadget/udc/gr_udc.c dev->gadget.ep0 = &dev->epi[0].ep; ep0 1393 drivers/usb/gadget/udc/lpc32xx_udc.c INIT_LIST_HEAD(&udc->gadget.ep0->ep_list); ep0 1455 drivers/usb/gadget/udc/lpc32xx_udc.c struct lpc32xx_ep *ep0 = &udc->ep[0]; ep0 1458 drivers/usb/gadget/udc/lpc32xx_udc.c if (list_empty(&ep0->queue)) ep0 1462 drivers/usb/gadget/udc/lpc32xx_udc.c req = list_entry(ep0->queue.next, struct lpc32xx_request, ep0 1469 drivers/usb/gadget/udc/lpc32xx_udc.c done(ep0, req, 0); ep0 1471 drivers/usb/gadget/udc/lpc32xx_udc.c } else if (ts > ep0->ep.maxpacket) ep0 1472 drivers/usb/gadget/udc/lpc32xx_udc.c ts = ep0->ep.maxpacket; /* Just send what we can */ ep0 1480 drivers/usb/gadget/udc/lpc32xx_udc.c if (tsend >= ep0->ep.maxpacket) ep0 1485 drivers/usb/gadget/udc/lpc32xx_udc.c done(ep0, req, 0); ep0 1493 drivers/usb/gadget/udc/lpc32xx_udc.c struct lpc32xx_ep *ep0 = &udc->ep[0]; ep0 1496 drivers/usb/gadget/udc/lpc32xx_udc.c if (list_empty(&ep0->queue)) ep0 1499 drivers/usb/gadget/udc/lpc32xx_udc.c req = list_entry(ep0->queue.next, struct lpc32xx_request, ep0 1505 drivers/usb/gadget/udc/lpc32xx_udc.c done(ep0, req, 0); ep0 1512 drivers/usb/gadget/udc/lpc32xx_udc.c if (bufferspace > ep0->ep.maxpacket) ep0 1513 drivers/usb/gadget/udc/lpc32xx_udc.c bufferspace = ep0->ep.maxpacket; ep0 1521 drivers/usb/gadget/udc/lpc32xx_udc.c if (tr < ep0->ep.maxpacket) { ep0 1523 drivers/usb/gadget/udc/lpc32xx_udc.c done(ep0, req, 0); ep0 2195 drivers/usb/gadget/udc/lpc32xx_udc.c struct lpc32xx_ep *ep, *ep0 = &udc->ep[0]; ep0 2201 drivers/usb/gadget/udc/lpc32xx_udc.c nuke(ep0, -EPROTO); ep0 2206 drivers/usb/gadget/udc/lpc32xx_udc.c ep_warn(ep0, "Incorrectly sized setup packet (s/b 8, is %d)!\n", ep0 2218 drivers/usb/gadget/udc/lpc32xx_udc.c ep0->is_in = 1; ep0 2220 drivers/usb/gadget/udc/lpc32xx_udc.c ep0->is_in = 0; ep0 2317 drivers/usb/gadget/udc/lpc32xx_udc.c if (!ep0->is_in) ep0 2334 drivers/usb/gadget/udc/lpc32xx_udc.c struct lpc32xx_ep *ep0 = &udc->ep[0]; ep0 2341 drivers/usb/gadget/udc/lpc32xx_udc.c ep0->totalints++; ep0 2347 drivers/usb/gadget/udc/lpc32xx_udc.c nuke(ep0, -ECONNABORTED); ep0 2359 drivers/usb/gadget/udc/lpc32xx_udc.c nuke(ep0, -ECONNABORTED); ep0 2368 drivers/usb/gadget/udc/lpc32xx_udc.c struct lpc32xx_ep *ep0 = &udc->ep[0]; ep0 2376 drivers/usb/gadget/udc/lpc32xx_udc.c ep0->totalints++; ep0 2382 drivers/usb/gadget/udc/lpc32xx_udc.c nuke(ep0, -ECONNABORTED); ep0 2392 drivers/usb/gadget/udc/lpc32xx_udc.c nuke(ep0, 0); ep0 2410 drivers/usb/gadget/udc/lpc32xx_udc.c nuke(ep0, -ECONNABORTED); ep0 3013 drivers/usb/gadget/udc/lpc32xx_udc.c udc->gadget.ep0 = &udc->ep[0].ep; ep0 996 drivers/usb/gadget/udc/m66592-udc.c m66592_queue(m66592->gadget.ep0, m66592->ep0_req, GFP_KERNEL); ep0 1615 drivers/usb/gadget/udc/m66592-udc.c m66592->gadget.ep0 = &m66592->ep[0].ep; ep0 1616 drivers/usb/gadget/udc/m66592-udc.c INIT_LIST_HEAD(&m66592->gadget.ep0->ep_list); ep0 1936 drivers/usb/gadget/udc/mv_u3d_core.c u3d->gadget.ep0 = &u3d->eps[1].ep; /* gadget ep0 */ ep0 1722 drivers/usb/gadget/udc/mv_udc_core.c struct mv_ep *ep0, struct mv_req *req) ep0 1733 drivers/usb/gadget/udc/mv_udc_core.c done(ep0, req, 0); ep0 2259 drivers/usb/gadget/udc/mv_udc_core.c udc->gadget.ep0 = &udc->eps[0].ep; /* gadget ep0 */ ep0 1399 drivers/usb/gadget/udc/net2272.c dev->gadget.ep0 = &dev->ep[0].ep; ep0 1401 drivers/usb/gadget/udc/net2272.c INIT_LIST_HEAD(&dev->gadget.ep0->ep_list); ep0 1407 drivers/usb/gadget/udc/net2272.c struct net2272_ep *ep0 = &dev->ep[0]; ep0 1409 drivers/usb/gadget/udc/net2272.c net2272_ep_write(ep0, EP_RSPSET, ep0 1412 drivers/usb/gadget/udc/net2272.c net2272_ep_write(ep0, EP_RSPCLR, ep0 2181 drivers/usb/gadget/udc/net2280.c dev->gadget.ep0 = &dev->ep[0].ep; ep0 2183 drivers/usb/gadget/udc/net2280.c INIT_LIST_HEAD(&dev->gadget.ep0->ep_list); ep0 2236 drivers/usb/gadget/udc/net2280.c dev->gadget.ep0 = &dev->ep[0].ep; ep0 2294 drivers/usb/gadget/udc/net2280.c INIT_LIST_HEAD(&dev->gadget.ep0->ep_list); ep0 1391 drivers/usb/gadget/udc/omap_udc.c struct omap_ep *ep0 = &udc->ep[0]; ep0 1394 drivers/usb/gadget/udc/omap_udc.c ep0->irqs++; ep0 1402 drivers/usb/gadget/udc/omap_udc.c nuke(ep0, 0); ep0 1417 drivers/usb/gadget/udc/omap_udc.c if (!list_empty(&ep0->queue)) ep0 1418 drivers/usb/gadget/udc/omap_udc.c req = container_of(ep0->queue.next, struct omap_req, queue); ep0 1433 drivers/usb/gadget/udc/omap_udc.c stat = write_fifo(ep0, req); ep0 1446 drivers/usb/gadget/udc/omap_udc.c done(ep0, req, 0); ep0 1470 drivers/usb/gadget/udc/omap_udc.c stat = read_fifo(ep0, req); ep0 1481 drivers/usb/gadget/udc/omap_udc.c done(ep0, req, 0); ep0 1494 drivers/usb/gadget/udc/omap_udc.c done(ep0, req, 0); ep0 1535 drivers/usb/gadget/udc/omap_udc.c ep0->stopped = 0; ep0 1536 drivers/usb/gadget/udc/omap_udc.c ep0->ackwait = 0; ep0 1566 drivers/usb/gadget/udc/omap_udc.c if (ep != ep0) { ep0 1598 drivers/usb/gadget/udc/omap_udc.c || ep == ep0 || !ep->ep.desc) ep0 2638 drivers/usb/gadget/udc/omap_udc.c udc->gadget.ep0 = &udc->ep[0].ep; ep0 2387 drivers/usb/gadget/udc/pch_udc.c dev->gadget.ep0 = &dev->ep[UDC_EP0IN_IDX].ep; ep0 2389 drivers/usb/gadget/udc/pch_udc.c dev->gadget.ep0 = &ep->ep; ep0 2882 drivers/usb/gadget/udc/pch_udc.c dev->gadget.ep0 = &dev->ep[UDC_EP0IN_IDX].ep; ep0 2883 drivers/usb/gadget/udc/pch_udc.c INIT_LIST_HEAD(&dev->gadget.ep0->ep_list); ep0 1385 drivers/usb/gadget/udc/pxa25x_udc.c INIT_LIST_HEAD (&dev->gadget.ep0->ep_list); ep0 2023 drivers/usb/gadget/udc/pxa25x_udc.c .ep0 = &memory.ep[0].ep, ep0 1666 drivers/usb/gadget/udc/pxa27x_udc.c INIT_LIST_HEAD(&dev->gadget.ep0->ep_list); ep0 2298 drivers/usb/gadget/udc/pxa27x_udc.c .ep0 = &memory.udc_usb_ep[0].usb_ep, ep0 1193 drivers/usb/gadget/udc/r8a66597-udc.c r8a66597_queue(r8a66597->gadget.ep0, r8a66597->ep0_req, GFP_ATOMIC); ep0 1906 drivers/usb/gadget/udc/r8a66597-udc.c r8a66597->gadget.ep0 = &r8a66597->ep[0].ep; ep0 1907 drivers/usb/gadget/udc/r8a66597-udc.c INIT_LIST_HEAD(&r8a66597->gadget.ep0->ep_list); ep0 824 drivers/usb/gadget/udc/renesas_usb3.c usb3->gadget.ep0->maxpacket = USB3_EP0_SS_MAX_PACKET_SIZE; ep0 828 drivers/usb/gadget/udc/renesas_usb3.c usb3->gadget.ep0->maxpacket = USB3_EP0_HSFS_MAX_PACKET_SIZE; ep0 832 drivers/usb/gadget/udc/renesas_usb3.c usb3->gadget.ep0->maxpacket = USB3_EP0_HSFS_MAX_PACKET_SIZE; ep0 2599 drivers/usb/gadget/udc/renesas_usb3.c usb3->gadget.ep0 = &usb3_ep->ep; ep0 1306 drivers/usb/gadget/udc/s3c-hsudc.c hsudc->gadget.ep0 = &hsudc->ep[0].ep; ep0 1582 drivers/usb/gadget/udc/s3c2410_udc.c INIT_LIST_HEAD(&dev->gadget.ep0->ep_list); ep0 1664 drivers/usb/gadget/udc/s3c2410_udc.c .ep0 = &memory.ep[0].ep, ep0 1608 drivers/usb/gadget/udc/snps_udc_core.c dev->gadget.ep0 = &dev->ep[UDC_EP0IN_IX].ep; ep0 1610 drivers/usb/gadget/udc/snps_udc_core.c INIT_LIST_HEAD(&dev->gadget.ep0->ep_list); ep0 2515 drivers/usb/gadget/udc/snps_udc_core.c dev->gadget.ep0 = &dev->ep[UDC_EP0IN_IX].ep; ep0 2520 drivers/usb/gadget/udc/snps_udc_core.c dev->gadget.ep0 = &dev->ep[UDC_EP0OUT_IX].ep; ep0 260 drivers/usb/gadget/udc/udc-xilinx.c struct xusb_ep *ep0 = &udc->ep[XUSB_EP_NUMBER_ZERO]; ep0 263 drivers/usb/gadget/udc/udc-xilinx.c epcfgreg = udc->read_fn(udc->addr + ep0->offset)| ep0 265 drivers/usb/gadget/udc/udc-xilinx.c udc->write_fn(udc->addr, ep0->offset, epcfgreg); ep0 266 drivers/usb/gadget/udc/udc-xilinx.c udc->write_fn(udc->addr, ep0->offset + XUSB_EP_BUF0COUNT_OFFSET, 0); ep0 996 drivers/usb/gadget/udc/udc-xilinx.c static int __xudc_ep0_queue(struct xusb_ep *ep0, struct xusb_req *req) ep0 998 drivers/usb/gadget/udc/udc-xilinx.c struct xusb_udc *udc = ep0->udc; ep0 1006 drivers/usb/gadget/udc/udc-xilinx.c if (!list_empty(&ep0->queue)) { ep0 1014 drivers/usb/gadget/udc/udc-xilinx.c list_add_tail(&req->queue, &ep0->queue); ep0 1019 drivers/usb/gadget/udc/udc-xilinx.c corebuf = (void __force *) ((ep0->rambase << 2) + ep0 1051 drivers/usb/gadget/udc/udc-xilinx.c struct xusb_ep *ep0 = to_xusb_ep(_ep); ep0 1052 drivers/usb/gadget/udc/udc-xilinx.c struct xusb_udc *udc = ep0->udc; ep0 1057 drivers/usb/gadget/udc/udc-xilinx.c ret = __xudc_ep0_queue(ep0, req); ep0 1370 drivers/usb/gadget/udc/udc-xilinx.c struct xusb_ep *ep0 = &udc->ep[XUSB_EP_NUMBER_ZERO]; ep0 1389 drivers/usb/gadget/udc/udc-xilinx.c ret = __xudc_ep_enable(ep0, desc); ep0 1560 drivers/usb/gadget/udc/udc-xilinx.c struct xusb_ep *ep0 = &udc->ep[XUSB_EP_NUMBER_ZERO]; ep0 1562 drivers/usb/gadget/udc/udc-xilinx.c epcfgreg = udc->read_fn(udc->addr + ep0->offset); ep0 1564 drivers/usb/gadget/udc/udc-xilinx.c udc->write_fn(udc->addr, ep0->offset, epcfgreg); ep0 1575 drivers/usb/gadget/udc/udc-xilinx.c struct xusb_ep *ep0 = &udc->ep[0]; ep0 1580 drivers/usb/gadget/udc/udc-xilinx.c ret = __xudc_ep0_queue(ep0, req); ep0 1596 drivers/usb/gadget/udc/udc-xilinx.c struct xusb_ep *ep0 = &udc->ep[0]; ep0 1635 drivers/usb/gadget/udc/udc-xilinx.c ret = __xudc_ep0_queue(ep0, req); ep0 1651 drivers/usb/gadget/udc/udc-xilinx.c struct xusb_ep *ep0 = &udc->ep[0]; ep0 1721 drivers/usb/gadget/udc/udc-xilinx.c ret = __xudc_ep0_queue(ep0, req); ep0 1737 drivers/usb/gadget/udc/udc-xilinx.c struct xusb_ep *ep0 = &udc->ep[0]; ep0 1751 drivers/usb/gadget/udc/udc-xilinx.c xudc_nuke(ep0, -ECONNRESET); ep0 1803 drivers/usb/gadget/udc/udc-xilinx.c struct xusb_ep *ep0 = &udc->ep[0]; ep0 1809 drivers/usb/gadget/udc/udc-xilinx.c req = list_first_entry(&ep0->queue, struct xusb_req, queue); ep0 1820 drivers/usb/gadget/udc/udc-xilinx.c xudc_done(ep0, req, 0); ep0 1827 drivers/usb/gadget/udc/udc-xilinx.c (ep0->rambase << 2)); ep0 1852 drivers/usb/gadget/udc/udc-xilinx.c struct xusb_ep *ep0 = &udc->ep[0]; ep0 1862 drivers/usb/gadget/udc/udc-xilinx.c req = list_first_entry(&ep0->queue, struct xusb_req, queue); ep0 1885 drivers/usb/gadget/udc/udc-xilinx.c xudc_done(ep0, req, 0); ep0 1894 drivers/usb/gadget/udc/udc-xilinx.c epcfgreg = udc->read_fn(udc->addr + ep0->offset); ep0 1896 drivers/usb/gadget/udc/udc-xilinx.c udc->write_fn(udc->addr, ep0->offset, epcfgreg); ep0 1903 drivers/usb/gadget/udc/udc-xilinx.c (ep0->rambase << 2)); ep0 2092 drivers/usb/gadget/udc/udc-xilinx.c udc->gadget.ep0 = &udc->ep[XUSB_EP_NUMBER_ZERO].ep_usb; ep0 74 drivers/usb/host/fhci-hcd.c fhci_init_ep_registers(usb, usb->ep0, data_mem); ep0 36 drivers/usb/host/fhci-sched.c cq_put(&usb->ep0->empty_frame_Q, pkt); ep0 56 drivers/usb/host/fhci-sched.c cq_put(&usb->ep0->dummy_packets_Q, pkt->data); ep0 212 drivers/usb/host/fhci-sched.c pkt = cq_get(&usb->ep0->empty_frame_Q); ep0 221 drivers/usb/host/fhci-sched.c data = cq_get(&usb->ep0->dummy_packets_Q); ep0 245 drivers/usb/host/fhci-sched.c cq_put(&usb->ep0->dummy_packets_Q, pkt->data); ep0 319 drivers/usb/host/fhci-sched.c fhci_push_dummy_bd(usb->ep0); ep0 516 drivers/usb/host/fhci-sched.c fhci_push_dummy_bd(usb->ep0); ep0 100 drivers/usb/host/fhci-tds.c ep = usb->ep0; ep0 136 drivers/usb/host/fhci-tds.c usb->ep0 = NULL; ep0 224 drivers/usb/host/fhci-tds.c usb->ep0 = ep; ep0 279 drivers/usb/host/fhci-tds.c struct endpoint *ep = usb->ep0; ep0 385 drivers/usb/host/fhci-tds.c struct endpoint *ep = usb->ep0; ep0 474 drivers/usb/host/fhci-tds.c struct endpoint *ep = usb->ep0; ep0 531 drivers/usb/host/fhci-tds.c struct endpoint *ep = usb->ep0; ep0 595 drivers/usb/host/fhci-tds.c struct endpoint *ep = usb->ep0; ep0 427 drivers/usb/host/fhci.h struct endpoint *ep0; /* pointer for endpoint0 structure */ ep0 1398 drivers/usb/host/xhci.c max_packet_size = usb_endpoint_maxp(&urb->dev->ep0.desc); ep0 4844 drivers/usb/host/xhci.c if (xhci_update_timeout_for_endpoint(xhci, udev, &udev->ep0.desc, ep0 1387 drivers/usb/isp1760/isp1760-udc.c udc->gadget.ep0 = &ep->ep; ep0 60 drivers/usb/misc/lvstest.c udev->ep0.desc.wMaxPacketSize = cpu_to_le16(512); ep0 340 drivers/usb/mtu3/mtu3.h struct mtu3_ep *ep0; ep0 479 drivers/usb/mtu3/mtu3_core.c u32 maxpacket = mtu->g.ep0->maxpacket; ep0 521 drivers/usb/mtu3/mtu3_core.c mtu->ep0 = mtu->in_eps; ep0 522 drivers/usb/mtu3/mtu3_core.c mtu->ep0->mtu = mtu; ep0 523 drivers/usb/mtu3/mtu3_core.c mtu->ep0->epnum = 0; ep0 665 drivers/usb/mtu3/mtu3_core.c mtu->g.ep0->maxpacket = maxpkt; ep0 560 drivers/usb/mtu3/mtu3_gadget.c nuke(mtu->ep0, -ESHUTDOWN); ep0 633 drivers/usb/mtu3/mtu3_gadget.c mtu->g.ep0 = &mep->ep; ep0 666 drivers/usb/mtu3/mtu3_gadget.c init_hw_ep(mtu, mtu->ep0, 0, 0); ep0 18 drivers/usb/mtu3/mtu3_gadget_ep0.c #define next_ep0_request(mtu) next_request((mtu)->ep0) ep0 59 drivers/usb/mtu3/mtu3_gadget_ep0.c mtu3_req_complete(mtu->ep0, req, 0); ep0 126 drivers/usb/mtu3/mtu3_gadget_ep0.c ep0_write_fifo(mtu->ep0, mtu3_test_packet, sizeof(mtu3_test_packet)); ep0 187 drivers/usb/mtu3/mtu3_gadget_ep0.c mtu->ep0_req.mep = mtu->ep0; ep0 191 drivers/usb/mtu3/mtu3_gadget_ep0.c ret = ep0_queue(mtu->ep0, &mtu->ep0_req); ep0 254 drivers/usb/mtu3/mtu3_gadget_ep0.c mtu->ep0_req.mep = mtu->ep0; ep0 258 drivers/usb/mtu3/mtu3_gadget_ep0.c ret = ep0_queue(mtu->ep0, &mtu->ep0_req); ep0 527 drivers/usb/mtu3/mtu3_gadget_ep0.c ep0_read_fifo(mtu->ep0, buf, count); ep0 531 drivers/usb/mtu3/mtu3_gadget_ep0.c maxp = mtu->g.ep0->maxpacket; ep0 569 drivers/usb/mtu3/mtu3_gadget_ep0.c maxp = mtu->g.ep0->maxpacket; ep0 576 drivers/usb/mtu3/mtu3_gadget_ep0.c ep0_write_fifo(mtu->ep0, src, count); ep0 604 drivers/usb/mtu3/mtu3_gadget_ep0.c ep0_read_fifo(mtu->ep0, (u8 *)setup, count); ep0 657 drivers/usb/mtu3/mtu3_gadget_ep0.c ep0_stall_set(mtu->ep0, true, ep0 711 drivers/usb/mtu3/mtu3_gadget_ep0.c ep0_stall_set(mtu->ep0, false, 0); ep0 760 drivers/usb/mtu3/mtu3_gadget_ep0.c ep0_stall_set(mtu->ep0, true, 0); ep0 886 drivers/usb/mtu3/mtu3_gadget_ep0.c ep0_stall_set(mtu->ep0, true, 0); ep0 1713 drivers/usb/musb/musb_gadget.c musb->g.ep0 = &ep->end_point; ep0 1149 drivers/usb/renesas_usbhs/mod_gadget.c gpriv->gadget.ep0 = &uep->ep; ep0 552 drivers/usb/usbip/vudc_dev.c udc->gadget.ep0 = &ep->ep; ep0 26 drivers/usb/usbip/vudc_sysfs.c struct vep *ep0 = to_vep(udc->gadget.ep0); ep0 47 drivers/usb/usbip/vudc_sysfs.c usb_req = list_last_entry(&ep0->req_queue, struct vrequest, req_entry); ep0 61 drivers/usb/usbip/vudc_sysfs.c usb_gadget_giveback_request(&(ep0->ep), &(usb_req->req)); ep0 647 include/linux/usb.h struct usb_host_endpoint ep0; ep0 424 include/linux/usb/composite.h struct usb_ep *ep0); ep0 400 include/linux/usb/gadget.h struct usb_ep *ep0; ep0 176 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c static void handle_ep0(int ep0, bool *ready) ep0 181 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c ret = read(ep0, &event, sizeof(event)); ep0 190 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c write(ep0, NULL, 0); ep0 192 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c read(ep0, NULL, 0); ep0 240 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c int ep0, ep1; ep0 264 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c ep0 = open(ep_path, O_RDWR); ep0 265 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c if (ep0 < 0) { ep0 269 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c if (write(ep0, &descriptors, sizeof(descriptors)) < 0) { ep0 273 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c if (write(ep0, &strings, sizeof(strings)) < 0) { ep0 304 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c FD_SET(ep0, &rfds); ep0 307 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c ret = select(((ep0 > evfd) ? ep0 : evfd)+1, ep0 316 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c if (FD_ISSET(ep0, &rfds)) ep0 317 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c handle_ep0(ep0, &ready); ep0 377 tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c close(ep0); ep0 164 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c static void handle_ep0(int ep0, bool *ready) ep0 170 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c pfds[0].fd = ep0; ep0 176 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c ret = read(ep0, &event, sizeof(event)); ep0 185 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c write(ep0, NULL, 0); ep0 187 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c read(ep0, NULL, 0); ep0 209 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c int ep0; ep0 235 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c ep0 = open(ep_path, O_RDWR); ep0 236 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c if (ep0 < 0) { ep0 240 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c if (write(ep0, &descriptors, sizeof(descriptors)) < 0) { ep0 244 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c if (write(ep0, &strings, sizeof(strings)) < 0) { ep0 281 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c FD_SET(ep0, &rfds); ep0 284 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c ret = select(((ep0 > evfd) ? ep0 : evfd)+1, ep0 293 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c if (FD_ISSET(ep0, &rfds)) ep0 294 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c handle_ep0(ep0, &ready); ep0 365 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c close(ep0);