Home
last modified time | relevance | path

Searched refs:ep_index (Results 1 – 16 of 16) sorted by relevance

/third_party/uboot/u-boot-2020.01/drivers/usb/host/
Dxhci-ring.c273 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 …]
Dxhci.c500 int ep_index; in xhci_set_configuration() local
571 ep_index = xhci_get_ep_index(endpt_desc); in xhci_set_configuration()
572 ep_ctx[ep_index] = xhci_get_ep_ctx(ctrl, in_ctx, ep_index); in xhci_set_configuration()
575 virt_dev->eps[ep_index].ring = xhci_ring_alloc(1, true); in xhci_set_configuration()
576 if (!virt_dev->eps[ep_index].ring) in xhci_set_configuration()
583 ep_ctx[ep_index]->ep_info = in xhci_set_configuration()
587 ep_ctx[ep_index]->ep_info2 = in xhci_set_configuration()
589 ep_ctx[ep_index]->ep_info2 |= in xhci_set_configuration()
596 ep_ctx[ep_index]->ep_info2 |= in xhci_set_configuration()
601 virt_dev->eps[ep_index].ring->enqueue; in xhci_set_configuration()
[all …]
Dxhci-mem.c646 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()
/third_party/FreeBSD/sys/dev/usb/
Dusb_ioctl.h159 uint8_t ep_index; member
163 uint8_t ep_index; member
167 uint8_t ep_index; member
226 uint8_t ep_index; member
236 uint8_t ep_index; member
240 uint8_t ep_index; member
Dusb_generic.c992 ugen_fs_copy_in(struct usb_fifo *f, uint8_t ep_index) in ugen_fs_copy_in() argument
1006 if (ep_index >= f->fs_ep_max) { in ugen_fs_copy_in()
1009 xfer = f->fs_xfer[ep_index]; in ugen_fs_copy_in()
1021 ep_index, &fs_ep, sizeof(fs_ep)); in ugen_fs_copy_in()
1160 ugen_fs_set_complete(f, ep_index); in ugen_fs_copy_in()
1200 ugen_fs_copy_out(struct usb_fifo *f, uint8_t ep_index) in ugen_fs_copy_out() argument
1216 if (ep_index >= f->fs_ep_max) in ugen_fs_copy_out()
1219 xfer = f->fs_xfer[ep_index]; in ugen_fs_copy_out()
1228 return (ugen_fs_copy_out_cancelled(f->fs_ep_ptr + ep_index)); in ugen_fs_copy_out()
1235 fs_ep_uptr = f->fs_ep_ptr + ep_index; in ugen_fs_copy_out()
[all …]
Dusb_dev.c567 usb_dev_get_ep(struct usb_device *udev, uint8_t ep_index, uint8_t dir) in usb_dev_get_ep() argument
572 if (ep_index == 0) { in usb_dev_get_ep()
588 ep = usbd_get_ep_by_addr(udev, ep_index | ep_dir); in usb_dev_get_ep()
Dusbdi.h233 uint8_t ep_index; /* pipe index match to use */ member
Dusb_device.c176 uint8_t index = setup->ep_index; in usbd_get_endpoint()
185 setup->type, setup->direction, setup->ep_index); in usbd_get_endpoint()
/third_party/uboot/u-boot-2020.01/drivers/usb/gadget/
Ddwc2_udc_otg_xfer_dma.c99 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), &reg->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 …]
Ddwc2_udc_otg_priv.h89 #define ep_index(EP) ((EP)->bEndpointAddress&0xF) macro
Ddwc2_udc_otg.c778 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()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Dusbd_generic_epfile.c488 int ep_index = 0; in generic_epfile_handle_ioctl() local
502 ep_index = atoi(epfile->name + 2); in generic_epfile_handle_ioctl()
503 if (ep_index < 1 || ep_index > dev->eps_count) in generic_epfile_handle_ioctl()
505 usb_err("invail ep_index = %d\n", ep_index); in generic_epfile_handle_ioctl()
508 desc = dev->eps_descs[ep_index - 1][desc_idx]; in generic_epfile_handle_ioctl()
/third_party/uboot/u-boot-2020.01/include/usb/
Dxhci.h1242 unsigned int ep_index);
1246 unsigned int ep_index);
1253 u32 slot_id, u32 ep_index, trb_type cmd);
/third_party/libusb/libusb/os/
Dsunos_usb.c836 uint8_t ep_index; in sunos_check_device_and_status_open() local
841 ep_index = sunos_usb_ep_index(ep_addr); in sunos_check_device_and_status_open()
843 if ((hpriv->eps[ep_index].datafd > 0) && in sunos_check_device_and_status_open()
844 (hpriv->eps[ep_index].statfd > 0)) { in sunos_check_device_and_status_open()
953 hpriv->eps[ep_index].datafd = fd; in sunos_check_device_and_status_open()
954 hpriv->eps[ep_index].statfd = fdstat; in sunos_check_device_and_status_open()
/third_party/uboot/u-boot-2020.01/arch/powerpc/dts/
Dgazerbeam.dts344 ep_index = <0>;
564 ep_index = <0>;
/third_party/FreeBSD/sys/dev/usb/serial/
Du3g.c725 u3g_config_tmp[n].ep_index = ep; in u3g_attach()