Searched refs:ep_index (Results 1 – 9 of 9) sorted by relevance
/external/u-boot/drivers/usb/host/ |
D | xhci-ring.c | 273 u32 ep_index, trb_type cmd) in xhci_queue_command() argument 291 fields[3] |= EP_ID_FOR_TRB(ep_index); in xhci_queue_command() 359 static void giveback_first_trb(struct usb_device *udev, int ep_index, in giveback_first_trb() argument 378 DB_VALUE(ep_index, 0)); in giveback_first_trb() 485 static void abort_td(struct usb_device *udev, int ep_index) in abort_td() argument 488 struct xhci_ring *ring = ctrl->devs[udev->slot_id]->eps[ep_index].ring; in abort_td() 492 xhci_queue_command(ctrl, NULL, udev->slot_id, ep_index, TRB_STOP_RING); in abort_td() 497 BUG_ON(TRB_TO_EP_INDEX(field) != ep_index); in abort_td() 509 ring->cycle_state), udev->slot_id, ep_index, TRB_SET_DEQ); in abort_td() 566 int ep_index; in xhci_bulk_tx() local [all …]
|
D | xhci.c | 499 int ep_index; in xhci_set_configuration() local 570 ep_index = xhci_get_ep_index(endpt_desc); in xhci_set_configuration() 571 ep_ctx[ep_index] = xhci_get_ep_ctx(ctrl, in_ctx, ep_index); in xhci_set_configuration() 574 virt_dev->eps[ep_index].ring = xhci_ring_alloc(1, true); in xhci_set_configuration() 575 if (!virt_dev->eps[ep_index].ring) in xhci_set_configuration() 582 ep_ctx[ep_index]->ep_info = in xhci_set_configuration() 586 ep_ctx[ep_index]->ep_info2 = in xhci_set_configuration() 588 ep_ctx[ep_index]->ep_info2 |= in xhci_set_configuration() 595 ep_ctx[ep_index]->ep_info2 |= in xhci_set_configuration() 600 virt_dev->eps[ep_index].ring->enqueue; in xhci_set_configuration() [all …]
|
D | xhci-mem.c | 646 unsigned int ep_index) in xhci_get_ep_ctx() argument 649 ep_index++; in xhci_get_ep_ctx() 651 ep_index++; in xhci_get_ep_ctx() 655 (ep_index * CTX_SIZE(readl(&ctrl->hccr->cr_hccparams)))); in xhci_get_ep_ctx() 672 unsigned int ep_index) in xhci_endpoint_copy() argument 677 out_ep_ctx = xhci_get_ep_ctx(ctrl, out_ctx, ep_index); in xhci_endpoint_copy() 678 in_ep_ctx = xhci_get_ep_ctx(ctrl, in_ctx, ep_index); in xhci_endpoint_copy()
|
/external/u-boot/drivers/usb/gadget/ |
D | dwc2_udc_otg_xfer_dma.c | 99 u32 ep_num = ep_index(ep); in setdma_rx() 141 u32 ep_num = ep_index(ep); in setdma_tx() 624 ep_num = ep_index(ep); in dwc2_queue() 744 max, ep_index(ep), cp); in dwc2_fifo_read() 788 __func__, ep_index(ep), ®->in_endp[EP0_CON].diepctl); in dwc2_udc_ep0_set_stall() 944 ep_num = ep_index(ep); in dwc2_udc_set_nak() 970 ep_num = ep_index(ep); in dwc2_udc_ep_set_stall() 1005 ep_num = ep_index(ep); in dwc2_udc_ep_clear_stall() 1056 ep_num = ep_index(ep); in dwc2_udc_set_halt() 1100 ep_num = ep_index(ep); in dwc2_udc_ep_activate() [all …]
|
D | dwc2_udc_otg_priv.h | 89 #define ep_index(EP) ((EP)->bEndpointAddress&0xF) macro
|
D | dwc2_udc_otg.c | 778 debug("%s: %d\n", __func__, ep_index(ep)); in dwc2_fifo_status() 800 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()
|
/external/u-boot/include/usb/ |
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/arch/powerpc/dts/ |
D | gazerbeam.dts | 344 ep_index = <0>; 564 ep_index = <0>;
|