• Home
  • Raw
  • Download

Lines Matching full:ep0

45  * are two types of files.  One type is for the device, implementing ep0.
83 /* /dev/gadget/$CHIP represents ep0 and the whole device */
89 * ep0/device i/o modes and binding to the controller. Driver
95 /* From then on, ep0 fd is in either of two basic modes:
104 /* UNBOUND means the driver closed ep0, so the device won't be
125 /* drivers reading ep0 MUST handle control requests (SETUP)
148 /* except this scratch i/o buffer for ep0 */
237 * at the end of ep0 configuration, or after unbind.
840 /* EP0 IMPLEMENTATION can be partly in userspace.
893 DBG (dev, "ep0 request busy!\n"); in setup_req()
933 (void) usb_ep_set_halt (dev->gadget->ep0); in ep0_read()
938 struct usb_ep *ep = dev->gadget->ep0; in ep0_read()
996 clean_req (dev->gadget->ep0, dev->req); in ep0_read()
1020 /* ep0 i/o has special semantics during STATE_DEV_SETUP */ in ep0_read()
1036 * concurrent ep0 readers may lose events. in ep0_read()
1136 retval = setup_req (dev->gadget->ep0, dev->req, len); in ep0_write()
1147 dev->gadget->ep0, dev->req, in ep0_write()
1153 clean_req (dev->gadget->ep0, dev->req); in ep0_write()
1163 (void) usb_ep_set_halt (dev->gadget->ep0); in ep0_write()
1191 /* closing ep0 === shutdown all */ in dev_release()
1273 /* The in-kernel gadget driver handles most ep0 issues, in particular
1276 * Unrecognized ep0 requests may be handled in user space.
1293 /* assumes ep0 uses the same value for both speeds ... */ in make_qualifier()
1294 qual.bMaxPacketSize0 = dev->gadget->ep0->maxpacket; in make_qualifier()
1387 dev->dev->bMaxPacketSize0 = dev->gadget->ep0->maxpacket; in gadgetfs_setup()
1477 /* if there's an ep0 reader, don't stall */ in gadgetfs_setup()
1489 value = setup_req (gadget->ep0, dev->req, in gadgetfs_setup()
1496 value = usb_ep_queue (gadget->ep0, dev->req, in gadgetfs_setup()
1501 clean_req (gadget->ep0, dev->req); in gadgetfs_setup()
1525 value = usb_ep_queue (gadget->ep0, req, GFP_KERNEL); in gadgetfs_setup()
1651 gadget->ep0->driver_data = NULL; in gadgetfs_unbind()
1656 usb_ep_free_request (gadget->ep0, dev->req); in gadgetfs_unbind()
1678 gadget->ep0->driver_data = dev; in gadgetfs_bind()
1681 dev->req = usb_ep_alloc_request (gadget->ep0, GFP_KERNEL); in gadgetfs_bind()
1890 * kick in after the ep0 descriptor is closed. in dev_config()
1948 * if epfiles inherited ownership and permissons from ep0 ...
2045 /* the ep0 file is named after the controller we expect; in gadgetfs_fill_super()