Lines Matching refs:ep_index
499 int ep_index; in xhci_set_configuration() local
570 ep_index = xhci_get_ep_index(endpt_desc); in xhci_set_configuration()
571 ep_ctx[ep_index] = xhci_get_ep_ctx(ctrl, in_ctx, ep_index); in xhci_set_configuration()
574 virt_dev->eps[ep_index].ring = xhci_ring_alloc(1, true); in xhci_set_configuration()
575 if (!virt_dev->eps[ep_index].ring) in xhci_set_configuration()
582 ep_ctx[ep_index]->ep_info = in xhci_set_configuration()
586 ep_ctx[ep_index]->ep_info2 = in xhci_set_configuration()
588 ep_ctx[ep_index]->ep_info2 |= in xhci_set_configuration()
595 ep_ctx[ep_index]->ep_info2 |= in xhci_set_configuration()
600 virt_dev->eps[ep_index].ring->enqueue; in xhci_set_configuration()
601 ep_ctx[ep_index]->deq = cpu_to_le64(trb_64 | in xhci_set_configuration()
602 virt_dev->eps[ep_index].ring->cycle_state); in xhci_set_configuration()
610 ep_ctx[ep_index]->tx_info = in xhci_set_configuration()
765 int ep_index = 0; /* control endpoint */ in xhci_check_maxpacket() local
777 ep_ctx = xhci_get_ep_ctx(ctrl, out_ctx, ep_index); in xhci_check_maxpacket()
788 ctrl->devs[slot_id]->out_ctx, ep_index); in xhci_check_maxpacket()
790 ep_ctx = xhci_get_ep_ctx(ctrl, in_ctx, ep_index); in xhci_check_maxpacket()