• 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

326 		unsigned int ep_index,
334 ep = &xhci->devs[slot_id]->eps[ep_index];
339 field |= EPI_TO_DB(ep_index) | STREAM_ID_TO_DB(stream_id);
347 unsigned int ep_index,
350 ring_ep_doorbell(xhci, slot_id, ep_index, stream_id);
357 unsigned int ep_index)
362 ep = &xhci->devs[slot_id]->eps[ep_index];
367 ring_ep_doorbell(xhci, slot_id, ep_index, 0);
375 ring_ep_doorbell(xhci, slot_id, ep_index, stream_id);
408 unsigned int slot_id, unsigned int ep_index,
413 ep = &xhci->devs[slot_id]->eps[ep_index];
422 slot_id, ep_index);
433 slot_id, ep_index,
465 unsigned int slot_id, unsigned int ep_index,
476 ep_index, stream_id);
486 dev->eps[ep_index].stopped_trb,
492 ep_ctx = xhci_get_ep_ctx(xhci, dev->out_ctx, ep_index);
562 unsigned int ep_index, unsigned int stream_id,
567 unsigned int slot_id, unsigned int ep_index,
571 struct xhci_virt_ep *ep = &xhci->devs[slot_id]->eps[ep_index];
580 queue_set_tr_deq(xhci, slot_id, ep_index, stream_id,
643 unsigned int ep_index;
654 ep_index = TRB_TO_EP_INDEX(trb->generic.field[3]);
655 ep = &xhci->devs[slot_id]->eps[ep_index];
659 ring_doorbell_for_active_rings(xhci, slot_id, ep_index);
697 xhci_find_new_dequeue_state(xhci, slot_id, ep_index,
716 slot_id, ep_index,
722 ring_doorbell_for_active_rings(xhci, slot_id, ep_index);
881 unsigned int ep_index;
889 ep_index = TRB_TO_EP_INDEX(trb->generic.field[3]);
893 ep_ring = xhci_stream_id_to_ring(dev, ep_index, stream_id);
898 dev->eps[ep_index].ep_state &= ~SET_DEQ_PENDING;
902 ep_ctx = xhci_get_ep_ctx(xhci, dev->out_ctx, ep_index);
945 dev->eps[ep_index].ep_state &= ~SET_DEQ_PENDING;
947 ring_doorbell_for_active_rings(xhci, slot_id, ep_index);
955 unsigned int ep_index;
958 ep_index = TRB_TO_EP_INDEX(trb->generic.field[3]);
977 xhci->devs[slot_id]->eps[ep_index].ep_state &= ~EP_HALTED;
978 ring_doorbell_for_active_rings(xhci, slot_id, ep_index);
1018 unsigned int ep_index;
1062 ep_index = xhci_last_valid_endpoint(ctrl_ctx->add_flags) - 1;
1070 ep_index != (unsigned int) -1 &&
1073 ep_ring = xhci->devs[slot_id]->eps[ep_index].ring;
1074 ep_state = xhci->devs[slot_id]->eps[ep_index].ep_state;
1079 ep_index, ep_state);
1081 xhci->devs[slot_id]->eps[ep_index].ep_state &=
1083 ring_doorbell_for_active_rings(xhci, slot_id, ep_index);
1233 unsigned int slot_id, unsigned int ep_index,
1237 struct xhci_virt_ep *ep = &xhci->devs[slot_id]->eps[ep_index];
1243 xhci_queue_reset_ep(xhci, slot_id, ep_index);
1244 xhci_cleanup_stalled_ring(xhci, td->urb->dev, ep_index);
1304 int ep_index;
1313 ep_index = TRB_TO_EP_ID(event->flags) - 1;
1315 ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index);
1350 slot_id, ep_index, ep_ring->stream_id,
1406 int ep_index;
1412 ep_index = TRB_TO_EP_ID(event->flags) - 1;
1414 ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index);
1446 trb_comp_code, ep_index);
1459 slot_id, ep_index, 0, td, event_trb);
1724 int ep_index;
1744 ep_index = TRB_TO_EP_ID(event->flags) - 1;
1745 xhci_dbg(xhci, "%s - ep index = %d\n", __func__, ep_index);
1746 ep = &xdev->eps[ep_index];
1748 ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index);
1810 TRB_TO_SLOT_ID(event->flags), ep_index);
1817 TRB_TO_SLOT_ID(event->flags), ep_index);
1846 TRB_TO_SLOT_ID(event->flags), ep_index);
2220 unsigned int ep_index,
2231 struct xhci_ep_ctx *ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index);
2233 ep_ring = xhci_stream_id_to_ring(xdev, ep_index, stream_id);
2333 unsigned int ep_index, unsigned int stream_id, int start_cycle,
2342 ring_ep_doorbell(xhci, slot_id, ep_index, stream_id);
2352 struct urb *urb, int slot_id, unsigned int ep_index)
2355 xhci->devs[slot_id]->out_ctx, ep_index);
2380 return xhci_queue_bulk_tx(xhci, GFP_ATOMIC, urb, slot_id, ep_index);
2440 struct urb *urb, int slot_id, unsigned int ep_index)
2472 ep_index, urb->stream_id,
2609 giveback_first_trb(xhci, slot_id, ep_index, urb->stream_id,
2616 struct urb *urb, int slot_id, unsigned int ep_index)
2635 return queue_bulk_sg_tx(xhci, mem_flags, urb, slot_id, ep_index);
2666 ep_index, urb->stream_id,
2766 giveback_first_trb(xhci, slot_id, ep_index, urb->stream_id,
2773 struct urb *urb, int slot_id, unsigned int ep_index)
2798 slot_id, ep_index);
2804 ep_index, urb->stream_id,
2877 giveback_first_trb(xhci, slot_id, ep_index, 0,
2906 struct urb *urb, int slot_id, unsigned int ep_index)
2920 ep_ring = xhci->devs[slot_id]->eps[ep_index].ring;
2952 ret = prepare_transfer(xhci, xhci->devs[slot_id], ep_index,
3025 ring_ep_doorbell(xhci, slot_id, ep_index, urb->stream_id);
3037 struct urb *urb, int slot_id, unsigned int ep_index)
3049 ep_ring = xdev->eps[ep_index].ring;
3050 ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index);
3094 return xhci_queue_isoc_tx(xhci, GFP_ATOMIC, urb, slot_id, ep_index);
3200 unsigned int ep_index)
3203 u32 trb_ep_index = EP_ID_FOR_TRB(ep_index);
3214 unsigned int ep_index, unsigned int stream_id,
3220 u32 trb_ep_index = EP_ID_FOR_TRB(ep_index);
3237 unsigned int ep_index)
3240 u32 trb_ep_index = EP_ID_FOR_TRB(ep_index);