Lines Matching refs:ep_index
502 int ep_index; in xhci_set_configuration() local
573 ep_index = xhci_get_ep_index(endpt_desc); in xhci_set_configuration()
574 ep_ctx[ep_index] = xhci_get_ep_ctx(ctrl, in_ctx, ep_index); in xhci_set_configuration()
577 virt_dev->eps[ep_index].ring = xhci_ring_alloc(1, true); in xhci_set_configuration()
578 if (!virt_dev->eps[ep_index].ring) in xhci_set_configuration()
585 ep_ctx[ep_index]->ep_info = in xhci_set_configuration()
589 ep_ctx[ep_index]->ep_info2 = in xhci_set_configuration()
591 ep_ctx[ep_index]->ep_info2 |= in xhci_set_configuration()
598 ep_ctx[ep_index]->ep_info2 |= in xhci_set_configuration()
603 virt_dev->eps[ep_index].ring->enqueue; in xhci_set_configuration()
604 ep_ctx[ep_index]->deq = cpu_to_le64(trb_64 | in xhci_set_configuration()
605 virt_dev->eps[ep_index].ring->cycle_state); in xhci_set_configuration()
613 ep_ctx[ep_index]->tx_info = in xhci_set_configuration()
774 int ep_index = 0; /* control endpoint */ in xhci_check_maxpacket() local
786 ep_ctx = xhci_get_ep_ctx(ctrl, out_ctx, ep_index); in xhci_check_maxpacket()
797 ctrl->devs[slot_id]->out_ctx, ep_index); in xhci_check_maxpacket()
799 ep_ctx = xhci_get_ep_ctx(ctrl, in_ctx, ep_index); in xhci_check_maxpacket()