• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/host/

Lines Matching refs:ep_index

646 unsigned int xhci_get_endpoint_flag_from_index(unsigned int ep_index)
648 return 1 << (ep_index + 1);
696 unsigned int ep_index, struct urb *urb)
707 ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index);
720 xhci->devs[slot_id]->out_ctx, ep_index);
722 ep_ctx = xhci_get_ep_ctx(xhci, in_ctx, ep_index);
732 xhci_dbg_ctx(xhci, in_ctx, ep_index);
734 xhci_dbg_ctx(xhci, out_ctx, ep_index);
756 unsigned int slot_id, ep_index;
764 ep_index = xhci_get_endpoint_index(&urb->ep->desc);
808 ep_index, urb);
820 slot_id, ep_index);
826 if (xhci->devs[slot_id]->eps[ep_index].ep_state &
831 } else if (xhci->devs[slot_id]->eps[ep_index].ep_state &
839 slot_id, ep_index);
847 slot_id, ep_index);
854 slot_id, ep_index);
877 unsigned int ep_index;
882 ep_index = xhci_get_endpoint_index(&urb->ep->desc);
884 ep = &xhci->devs[slot_id]->eps[ep_index];
893 slot_id, ep_index);
904 slot_id, ep_index,
949 unsigned int ep_index;
985 ep_index = xhci_get_endpoint_index(&urb->ep->desc);
986 ep = &xhci->devs[urb->dev->slot_id]->eps[ep_index];
1012 xhci_queue_stop_endpoint(xhci, urb->dev->slot_id, ep_index);
1041 unsigned int ep_index;
1069 ep_index = xhci_get_endpoint_index(&ep->desc);
1070 ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index);
1125 unsigned int ep_index;
1159 ep_index = xhci_get_endpoint_index(&ep->desc);
1160 ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index);
1502 unsigned int slot_id, unsigned int ep_index,
1511 xhci->devs[slot_id]->out_ctx, ep_index);
1513 ep_ctx = xhci_get_ep_ctx(xhci, in_ctx, ep_index);
1526 added_ctxs = xhci_get_endpoint_flag_from_index(ep_index);
1532 struct usb_device *udev, unsigned int ep_index)
1538 ep = &xhci->devs[udev->slot_id]->eps[ep_index];
1543 ep_index, ep->stopped_stream, ep->stopped_td,
1552 ep_index, ep->stopped_stream, &deq_state);
1557 ep_index, &deq_state);
1572 unsigned int ep_index;
1584 ep_index = xhci_get_endpoint_index(&ep->desc);
1585 virt_ep = &xhci->devs[udev->slot_id]->eps[ep_index];
1598 ret = xhci_queue_reset_ep(xhci, udev->slot_id, ep_index);
1605 xhci_cleanup_stalled_ring(xhci, udev, ep_index);
1623 unsigned int ep_index;
1638 ep_index = xhci_get_endpoint_index(&ep->desc);
1639 ep_state = xhci->devs[slot_id]->eps[ep_index].ep_state;
1649 if (!list_empty(&xhci->devs[slot_id]->eps[ep_index].ring->td_list)) {
1723 unsigned int ep_index;
1732 ep_index = xhci_get_endpoint_index(&eps[i]->desc);
1733 ep_state = xhci->devs[slot_id]->eps[ep_index].ep_state;
1782 unsigned int ep_index;
1828 ep_index = xhci_get_endpoint_index(&eps[i]->desc);
1829 vdev->eps[ep_index].ep_state |= EP_GETTING_STREAMS;
1842 ep_index = xhci_get_endpoint_index(&eps[i]->desc);
1843 vdev->eps[ep_index].stream_info = xhci_alloc_stream_info(xhci,
1846 if (!vdev->eps[ep_index].stream_info)
1854 ep_index = xhci_get_endpoint_index(&eps[i]->desc);
1855 ep_ctx = xhci_get_ep_ctx(xhci, config_cmd->in_ctx, ep_index);
1858 vdev->out_ctx, ep_index);
1860 vdev->eps[ep_index].stream_info);
1881 ep_index = xhci_get_endpoint_index(&eps[i]->desc);
1882 vdev->eps[ep_index].ep_state &= ~EP_GETTING_STREAMS;
1884 udev->slot_id, ep_index);
1885 vdev->eps[ep_index].ep_state |= EP_HAS_STREAMS;
1896 ep_index = xhci_get_endpoint_index(&eps[i]->desc);
1897 xhci_free_stream_info(xhci, vdev->eps[ep_index].stream_info);
1898 vdev->eps[ep_index].stream_info = NULL;
1899 vdev->eps[ep_index].ep_state &= ~EP_GETTING_STREAMS;
1900 vdev->eps[ep_index].ep_state &= ~EP_HAS_STREAMS;
1921 unsigned int ep_index;
1941 ep_index = xhci_get_endpoint_index(&eps[0]->desc);
1942 command = vdev->eps[ep_index].stream_info->free_streams_command;
1946 ep_index = xhci_get_endpoint_index(&eps[i]->desc);
1947 ep_ctx = xhci_get_ep_ctx(xhci, command->in_ctx, ep_index);
1948 xhci->devs[udev->slot_id]->eps[ep_index].ep_state |=
1952 vdev->out_ctx, ep_index);
1954 &vdev->eps[ep_index]);
1974 ep_index = xhci_get_endpoint_index(&eps[i]->desc);
1975 xhci_free_stream_info(xhci, vdev->eps[ep_index].stream_info);
1976 vdev->eps[ep_index].stream_info = NULL;
1977 vdev->eps[ep_index].ep_state &= ~EP_GETTING_NO_STREAMS;
1978 vdev->eps[ep_index].ep_state &= ~EP_HAS_STREAMS;