Searched refs:ep_index (Results 1 – 8 of 8) sorted by relevance
/external/u-boot/drivers/usb/host/ |
D | xhci-ring.c | 272 u32 ep_index, trb_type cmd) in xhci_queue_command() argument 290 fields[3] |= EP_ID_FOR_TRB(ep_index); in xhci_queue_command() 358 static void giveback_first_trb(struct usb_device *udev, int ep_index, in giveback_first_trb() argument 377 DB_VALUE(ep_index, 0)); in giveback_first_trb() 484 static void abort_td(struct usb_device *udev, int ep_index) in abort_td() argument 487 struct xhci_ring *ring = ctrl->devs[udev->slot_id]->eps[ep_index].ring; in abort_td() 491 xhci_queue_command(ctrl, NULL, udev->slot_id, ep_index, TRB_STOP_RING); in abort_td() 496 BUG_ON(TRB_TO_EP_INDEX(field) != ep_index); in abort_td() 508 ring->cycle_state), udev->slot_id, ep_index, TRB_SET_DEQ); in abort_td() 565 int ep_index; in xhci_bulk_tx() local [all …]
|
D | xhci.c | 498 int ep_index; in xhci_set_configuration() local 569 ep_index = xhci_get_ep_index(endpt_desc); in xhci_set_configuration() 570 ep_ctx[ep_index] = xhci_get_ep_ctx(ctrl, in_ctx, ep_index); in xhci_set_configuration() 573 virt_dev->eps[ep_index].ring = xhci_ring_alloc(1, true); in xhci_set_configuration() 574 if (!virt_dev->eps[ep_index].ring) in xhci_set_configuration() 581 ep_ctx[ep_index]->ep_info = in xhci_set_configuration() 585 ep_ctx[ep_index]->ep_info2 = in xhci_set_configuration() 587 ep_ctx[ep_index]->ep_info2 |= in xhci_set_configuration() 594 ep_ctx[ep_index]->ep_info2 |= in xhci_set_configuration() 599 virt_dev->eps[ep_index].ring->enqueue; in xhci_set_configuration() [all …]
|
D | xhci-mem.c | 642 unsigned int ep_index) in xhci_get_ep_ctx() argument 645 ep_index++; in xhci_get_ep_ctx() 647 ep_index++; in xhci_get_ep_ctx() 651 (ep_index * CTX_SIZE(readl(&ctrl->hccr->cr_hccparams)))); in xhci_get_ep_ctx() 668 unsigned int ep_index) in xhci_endpoint_copy() argument 673 out_ep_ctx = xhci_get_ep_ctx(ctrl, out_ctx, ep_index); in xhci_endpoint_copy() 674 in_ep_ctx = xhci_get_ep_ctx(ctrl, in_ctx, ep_index); in xhci_endpoint_copy()
|
D | xhci.h | 1242 unsigned int ep_index); 1246 unsigned int ep_index); 1253 u32 slot_id, u32 ep_index, trb_type cmd);
|
/external/u-boot/drivers/usb/gadget/ |
D | dwc2_udc_otg_xfer_dma.c | 96 u32 ep_num = ep_index(ep); in setdma_rx() 138 u32 ep_num = ep_index(ep); in setdma_tx() 611 ep_num = ep_index(ep); in dwc2_queue() 731 max, ep_index(ep), cp); in dwc2_fifo_read() 775 __func__, ep_index(ep), ®->in_endp[EP0_CON].diepctl); in dwc2_udc_ep0_set_stall() 931 ep_num = ep_index(ep); in dwc2_udc_set_nak() 957 ep_num = ep_index(ep); in dwc2_udc_ep_set_stall() 992 ep_num = ep_index(ep); in dwc2_udc_ep_clear_stall() 1043 ep_num = ep_index(ep); in dwc2_udc_set_halt() 1087 ep_num = ep_index(ep); in dwc2_udc_ep_activate() [all …]
|
D | dwc2_udc_otg_priv.h | 91 #define ep_index(EP) ((EP)->bEndpointAddress&0xF) macro
|
D | dwc2_udc_otg.c | 708 debug("%s: %d\n", __func__, ep_index(ep)); in dwc2_fifo_status() 730 debug("%s: %d\n", __func__, ep_index(ep)); in dwc2_fifo_flush()
|
/external/libusb/libusb/os/ |
D | sunos_usb.c | 480 uint8_t ep_index; in sunos_check_device_and_status_open() local 485 ep_index = sunos_usb_ep_index(ep_addr); in sunos_check_device_and_status_open() 487 if ((hpriv->eps[ep_index].datafd > 0) && in sunos_check_device_and_status_open() 488 (hpriv->eps[ep_index].statfd > 0)) { in sunos_check_device_and_status_open() 581 hpriv->eps[ep_index].datafd = fd; in sunos_check_device_and_status_open() 582 hpriv->eps[ep_index].statfd = fdstat; in sunos_check_device_and_status_open()
|