• Home
  • Raw
  • Download

Lines Matching refs:ep_index

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
583 ep_index = usb_pipe_ep_index(pipe); in xhci_bulk_tx()
589 ep_ctx = xhci_get_ep_ctx(ctrl, virt_dev->out_ctx, ep_index); in xhci_bulk_tx()
591 ring = virt_dev->eps[ep_index].ring; in xhci_bulk_tx()
713 giveback_first_trb(udev, ep_index, start_cycle, start_trb); in xhci_bulk_tx()
718 abort_td(udev, ep_index); in xhci_bulk_tx()
726 BUG_ON(TRB_TO_EP_INDEX(field) != ep_index); in xhci_bulk_tx()
760 int ep_index; in xhci_ctrl_tx() local
772 ep_index = usb_pipe_ep_index(pipe); in xhci_ctrl_tx()
774 ep_ring = virt_dev->eps[ep_index].ring; in xhci_ctrl_tx()
790 ep_ctx = xhci_get_ep_ctx(ctrl, virt_dev->out_ctx, ep_index); in xhci_ctrl_tx()
910 giveback_first_trb(udev, ep_index, start_cycle, start_trb); in xhci_ctrl_tx()
918 BUG_ON(TRB_TO_EP_INDEX(field) != ep_index); in xhci_ctrl_tx()
934 BUG_ON(TRB_TO_EP_INDEX(field) != ep_index); in xhci_ctrl_tx()
942 abort_td(udev, ep_index); in xhci_ctrl_tx()