Lines Matching refs:ep_index
498 int ep_index; in xhci_set_configuration() local
569 ep_index = xhci_get_ep_index(endpt_desc); in xhci_set_configuration()
570 ep_ctx[ep_index] = xhci_get_ep_ctx(ctrl, in_ctx, ep_index); in xhci_set_configuration()
573 virt_dev->eps[ep_index].ring = xhci_ring_alloc(1, true); in xhci_set_configuration()
574 if (!virt_dev->eps[ep_index].ring) in xhci_set_configuration()
581 ep_ctx[ep_index]->ep_info = in xhci_set_configuration()
585 ep_ctx[ep_index]->ep_info2 = in xhci_set_configuration()
587 ep_ctx[ep_index]->ep_info2 |= in xhci_set_configuration()
594 ep_ctx[ep_index]->ep_info2 |= in xhci_set_configuration()
599 virt_dev->eps[ep_index].ring->enqueue; in xhci_set_configuration()
600 ep_ctx[ep_index]->deq = cpu_to_le64(trb_64 | in xhci_set_configuration()
601 virt_dev->eps[ep_index].ring->cycle_state); in xhci_set_configuration()
609 ep_ctx[ep_index]->tx_info = in xhci_set_configuration()
764 int ep_index = 0; /* control endpoint */ in xhci_check_maxpacket() local
776 ep_ctx = xhci_get_ep_ctx(ctrl, out_ctx, ep_index); in xhci_check_maxpacket()
787 ctrl->devs[slot_id]->out_ctx, ep_index); in xhci_check_maxpacket()
789 ep_ctx = xhci_get_ep_ctx(ctrl, in_ctx, ep_index); in xhci_check_maxpacket()