Lines Matching refs:endpoint

772 	DPRINTFN(13, "xfer=%p endpoint=%p transfer done\n",
773 xfer, xfer->endpoint);
894 DPRINTF("Invalid endpoint.\n");
1376 /* configure input endpoint context structure */
1393 /* ensure the control endpoint is setup again */
1404 DPRINTF("Could not configure default endpoint\n");
1908 * CHAIN-BIT: Ensure that a multi-TRB IN-endpoint
2004 mult = xfer->endpoint->ecomp ?
2005 UE_GET_SS_ISO_MULT(xfer->endpoint->ecomp->bmAttributes)
2009 mult = (xfer->endpoint->edesc->
2035 x += xfer->endpoint->usb_uframe;
2039 y = XHCI_MFINDEX_GET(x - xfer->endpoint->isoc_next);
2041 if ((xfer->endpoint->is_synced == 0) ||
2051 xfer->endpoint->isoc_next = XHCI_MFINDEX_GET(x + (3 * 8));
2052 xfer->endpoint->is_synced = 1;
2055 DPRINTFN(3, "start next=%d\n", xfer->endpoint->isoc_next);
2060 y = XHCI_MFINDEX_GET(xfer->endpoint->isoc_next - (x & ~7));
2067 temp.isoc_frame = xfer->endpoint->isoc_next;
2070 xfer->endpoint->isoc_next += xfer->nframes << shift;
2108 /* set endpoint direction */
2187 * endpoint direction.
2258 * Some hardware requires that we drop the endpoint
2264 /* Add new endpoint context */
2333 /* store endpoint mode */
2459 xfer->endpoint->edesc);
2461 ecomp = xfer->endpoint->ecomp;
2487 xfer->endpoint->edesc, pepext,
2491 xfer->max_frame_size, xfer->endpoint->ep_mode));
2703 /* initialize all endpoint LINK TRBs */
2717 /* lookup endpoint TRB ring */
2821 xfer->endpoint->edesc);
2858 xfer->endpoint->edesc);
2864 switch (xfer->endpoint->edesc->bmAttributes & UE_XFERTYPE) {
2883 pepext->trb_ep_maxp != xfer->endpoint->edesc->wMaxPacketSize[0]) {
2884 DPRINTFN(8, "Reconfigure control endpoint\n");
2886 /* force driver to reconfigure endpoint */
3010 DPRINTFN(2, "xfer=%p, endpoint=%p, error=%d\n",
3011 xfer, xfer->endpoint, error);
3098 xhci_device_generic_multi_enter(xfer->endpoint,
3111 xhci_device_generic_multi_enter(xfer->endpoint,
3772 xfer->endpoint->edesc);
3781 edesc = xfer->endpoint->edesc;
3796 /* configure endpoint */
3806 * Get the endpoint into the stopped state according to the
3807 * endpoint context state diagram in the XHCI specification:
3813 DPRINTF("Could not stop endpoint %u\n", epno);
3818 DPRINTF("Could not reset endpoint %u\n", epno);
3826 DPRINTF("Could not set dequeue ptr for endpoint %u\n", epno);
3829 * Get the endpoint into the running state according to the
3830 * endpoint context state diagram in the XHCI specification:
3841 DPRINTF("Could not configure endpoint %u\n", epno);
3878 xfer->endpoint->edesc);
3941 xhci_device_generic_multi_enter(xfer->endpoint,
3952 DPRINTFN(2, "endpoint=%p, addr=%d, endpt=%d, mode=%d\n",
3956 /* root HUB has special endpoint handling */
3988 /* root HUB has special endpoint handling */
4153 DPRINTF("Failed to suspend endpoint "