Lines Matching refs:ep_index
500 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()
602 ep_ctx[ep_index]->deq = cpu_to_le64(trb_64 | in xhci_set_configuration()
603 virt_dev->eps[ep_index].ring->cycle_state); in xhci_set_configuration()
611 ep_ctx[ep_index]->tx_info = in xhci_set_configuration()
766 int ep_index = 0; /* control endpoint */ in xhci_check_maxpacket() local
778 ep_ctx = xhci_get_ep_ctx(ctrl, out_ctx, ep_index); in xhci_check_maxpacket()
789 ctrl->devs[slot_id]->out_ctx, ep_index); in xhci_check_maxpacket()
791 ep_ctx = xhci_get_ep_ctx(ctrl, in_ctx, ep_index); in xhci_check_maxpacket()