Searched refs:ep0 (Results 51 - 75 of 91) sorted by relevance

1234

/linux-master/drivers/usb/host/
H A Dfhci.h427 struct endpoint *ep0; /* pointer for endpoint0 structure */ member in struct:fhci_usb
H A Dfhci-hcd.c75 fhci_init_ep_registers(usb, usb->ep0, data_mem);
/linux-master/drivers/usb/gadget/udc/
H A Drenesas_usb3.c894 usb3->gadget.ep0->maxpacket = USB3_EP0_SS_MAX_PACKET_SIZE;
898 usb3->gadget.ep0->maxpacket = USB3_EP0_HSFS_MAX_PACKET_SIZE;
902 usb3->gadget.ep0->maxpacket = USB3_EP0_HSFS_MAX_PACKET_SIZE;
2709 usb3->gadget.ep0 = &usb3_ep->ep;
2896 /* for ep0 handling */
H A Dpch_udc.c1727 /* ep0 in requests are allocated from data pool here */
2331 dev->gadget.ep0 = &dev->ep[UDC_EP0IN_IDX].ep;
2333 dev->gadget.ep0 = &ep->ep;
2347 /* ep0 in returns data on IN phase */
2754 /* enable ep0 interrupts */
2815 /* remove ep0 in and out from the list. They have own pointer */
2819 dev->gadget.ep0 = &dev->ep[UDC_EP0IN_IDX].ep;
2820 INIT_LIST_HEAD(&dev->gadget.ep0->ep_list);
2912 /* get ready for ep0 traffic */
H A Dr8a66597-udc.c29 "ep0", "ep1", "ep2", "ep3", "ep4", "ep5", "ep6", "ep7",
1193 r8a66597_queue(r8a66597->gadget.ep0, r8a66597->ep0_req, GFP_ATOMIC);
1903 r8a66597->gadget.ep0 = &r8a66597->ep[0].ep;
1904 INIT_LIST_HEAD(&r8a66597->gadget.ep0->ep_list);
H A Dmv_udc_core.c75 /* ep0 in and out */
80 /* ep0 dQH */
83 /* configure ep0 endpoint capabilities in dQH */
106 /* protocol ep0 stall, will automatically be cleared on new transaction */
116 /* update ep0 state */
733 /* Update ep0 state */
1243 /* initialize ep0 */
1246 strncpy(ep->name, "ep0", sizeof(ep->name));
1720 /* complete DATA or STATUS phase of ep0 prime status phase if needed */
1722 struct mv_ep *ep0, struc
1721 ep0_req_complete(struct mv_udc *udc, struct mv_ep *ep0, struct mv_req *req) argument
[all...]
H A Dfsl_udc_core.c513 /* Setup qh structure and ep register for ep0. */
537 * ep0 doesn't use this routine. It is always enabled.
624 * @ep : the ep being unconfigured. May not be ep0
1257 /* Set protocol stall on ep0, protocol stall will automatically be cleared
1271 /* Prime a status phase for ep0 */
1522 /* Process request for Data or Status phase of ep0
1524 static void ep0_req_complete(struct fsl_udc *udc, struct fsl_ep *ep0, argument
1534 done(ep0, req, 0);
1550 dev_err(&udc->gadget.dev, "Unexpected ep0 packets\n");
1893 /* Setup package, we only support ep0 a
[all...]
H A Daspeed_udc.c46 #define AST_UDC_EP0_DATA_BUFF 0x34 /* Base Address of ep0 IN/OUT Data Buffer Reg */
229 "ep0", "ep1", "ep2", "ep3", "ep4"
1046 * Cleanup ep0 request(s) in queue because
1051 EP_DBG(ep, "there is req %p in ep0 queue !\n", req);
1075 SETUP_DBG(udc, "ep0: CLEAR FEATURE\n");
1079 SETUP_DBG(udc, "ep0: SET FEATURE\n");
1115 SETUP_DBG(udc, "ep0: Sending IN status without data\n");
1489 udc->gadget.ep0 = &udc->ep[0].ep;
1539 INIT_LIST_HEAD(&udc->gadget.ep0->ep_list);
H A Dpxa25x_udc.c197 * There are fifteen endpoints, in addition to ep0.
225 static const char ep0name [] = "ep0";
645 /* caller asserts req->pending (ep0 irq status nyet cleared); starts
646 * ep0 data stage. these chips want very simple state transitions.
791 * special ep0 version of the above. no UBCR0 or double buffering; status
880 if (ep->ep.desc == NULL/* ep0 */) {
894 DBG(DBG_VERBOSE, "ep0 config ack%s\n",
915 DMSG("ep0 i/o, odd state %d\n", dev->ep0state);
1029 /* ep0 needs special care */
1251 /* registers for device and ep0 */
[all...]
H A Dpxa27x_udc.c121 /* registers for device and ep0 */
391 * A specific case is applied to ep0 : the ACM bit is always set to 1, for
471 * set_ep0state - Set ep0 automata state
549 * Setup all pxa physical endpoints, except ep0
963 * Special ep0 version of the above read_fifo. Reads as many bytes from control
993 * write_ep0_fifo - Send a request to control endpoint (ep0 in)
999 * Sends a request (or a part of the request) to the control endpoint (ep0 in).
1037 * special case of ep0 setup :
1661 /* device/ep0 records init */
1663 INIT_LIST_HEAD(&dev->gadget.ep0
[all...]
H A Dnet2280.c73 static const char ep0name[] = "ep0";
1337 if (ep->desc /* not ep0 */ && (ep->desc->bmAttributes & 0x03)
1390 pr_err("%s: Invalid ep=%p or ep0\n", __func__, _ep);
1835 } else /* ep0 should only have one transfer queued */
1836 t = scnprintf(next, size, "ep0 max 64 pio %s\n",
1931 /* fifo sizes for ep0, ep-c, ep-d, ep-e, and ep-f never change */
2177 dev->gadget.ep0 = &dev->ep[0].ep;
2179 INIT_LIST_HEAD(&dev->gadget.ep0->ep_list);
2232 dev->gadget.ep0 = &dev->ep[0].ep;
2290 INIT_LIST_HEAD(&dev->gadget.ep0
[all...]
H A Dsnps_udc_core.c248 /* enable ep0 irq's */
534 /* ep0 in requests are allocated from data pool here */
1573 /* nak OUT endpoints until enable - not for ep0 */
1599 * with suspend bug workaround, ep0 params for gadget driver
1602 dev->gadget.ep0 = &dev->ep[UDC_EP0IN_IX].ep;
1604 INIT_LIST_HEAD(&dev->gadget.ep0->ep_list);
1612 /* Bringup after Connect event, initial bringup to be ready for ep0 events */
1632 * initial bringup to be ready for ep0 events
1659 /* disable ep0 */
1830 /* set ep0 direction
[all...]
H A Ddummy_hcd.c114 * Every device has ep0 for control requests, plus up to 30 more endpoints,
127 static const char ep0name[] = "ep0";
142 /* everyone has ep0 */
605 /* few chips support control except on ep0 */
1066 dum->gadget.ep0 = &dum->ep[0].ep;
2209 dum_hcd->dum->gadget.ep0->
/linux-master/drivers/usb/usbip/
H A Dvudc_dev.c23 #define VIRTUAL_ENDPOINTS (1 /* ep0 */ + 15 /* in eps */ + 15 /* out eps */)
527 /* create ep0 and 15 in, 15 out general purpose eps */
546 /* ep0 */
551 udc->gadget.ep0 = &ep->ep;
/linux-master/drivers/usb/gadget/function/
H A Df_mass_storage.c90 * ep0 requests are handled at interrupt time, but SetInterface,
147 * One subtle point concerns sending status-stage responses for ep0
151 * the original ep0 request and issue a new one. When that happens the
154 * assigns to each ep0 request a unique tag, and it keeps track of the
158 * only if the current ep0 request tag is equal to the exception request
159 * tag. Thus only the most recently received ep0 request will get a
247 struct usb_ep *ep0; /* Copy of gadget->ep0 */ member in struct:fsg_common
399 rc = usb_ep_queue(common->ep0, common->ep0req, GFP_ATOMIC);
400 common->ep0
[all...]
H A Df_fs.c298 /* Control file aka ep0 *****************************************************/
335 ret = usb_ep_queue(ffs->gadget->ep0, req, GFP_ATOMIC);
341 usb_ep_dequeue(ffs->gadget->ep0, req);
352 pr_vdebug("ep0 stall\n");
353 usb_ep_set_halt(ffs->gadget->ep0);
357 pr_debug("bogus ep0 stall!\n");
1940 if (!ffs_sb_create_file(sb, "ep0", ffs, &ffs_ep0_operations))
2295 ffs->ep0req = usb_ep_alloc_request(cdev->gadget->ep0, GFP_KERNEL);
2320 usb_ep_dequeue(ffs->gadget->ep0, ffs->ep0req);
2322 usb_ep_free_request(ffs->gadget->ep0, ff
[all...]
H A Df_uac1.c825 cdev->gadget->ep0->driver_data = f;
938 value = usb_ep_queue(cdev->gadget->ep0, req, GFP_ATOMIC);
H A Df_uac1_legacy.c565 value = usb_ep_queue(cdev->gadget->ep0, req, GFP_ATOMIC);
H A Df_rndis.c405 * - USB_CDC_GET_ENCAPSULATED_RESPONSE (ep0/control)
516 value = usb_ep_queue(cdev->gadget->ep0, req, GFP_ATOMIC);
H A Df_ecm.c510 value = usb_ep_queue(cdev->gadget->ep0, req, GFP_ATOMIC);
H A Df_sourcesink.c824 value = usb_ep_queue(c->cdev->gadget->ep0, req, GFP_ATOMIC);
H A Df_uac2.c1782 cdev->gadget->ep0->driver_data = fn;
1846 value = usb_ep_queue(cdev->gadget->ep0, req, GFP_ATOMIC);
/linux-master/drivers/usb/renesas_usbhs/
H A Dmod_gadget.c1149 gpriv->gadget.ep0 = &uep->ep;
/linux-master/include/linux/
H A Dusb.h590 * @ep0: endpoint 0 data (default control pipe)
668 struct usb_host_endpoint ep0; member in struct:usb_device
/linux-master/drivers/usb/gadget/
H A Dconfigfs.c1570 struct usb_ep *ep0);
1803 ret = composite_os_desc_req_prepare(cdev, gadget->ep0);

Completed in 717 milliseconds

1234