Lines Matching refs:ep_ctx
1574 struct xhci_ep_ctx *ep_ctx; in xhci_check_maxpacket() local
1581 ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index); in xhci_check_maxpacket()
1582 hw_max_packet_size = MAX_PACKET_DECODED(le32_to_cpu(ep_ctx->ep_info2)); in xhci_check_maxpacket()
1617 ep_ctx = xhci_get_ep_ctx(xhci, command->in_ctx, ep_index); in xhci_check_maxpacket()
1618 ep_ctx->ep_info &= cpu_to_le32(~EP_STATE_MASK);/* must clear */ in xhci_check_maxpacket()
1619 ep_ctx->ep_info2 &= cpu_to_le32(~MAX_PACKET_MASK); in xhci_check_maxpacket()
1620 ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet_size)); in xhci_check_maxpacket()
1927 struct xhci_ep_ctx *ep_ctx; in xhci_drop_endpoint() local
1957 ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index); in xhci_drop_endpoint()
1961 if ((GET_EP_CTX_STATE(ep_ctx) == EP_STATE_DISABLED) || in xhci_drop_endpoint()
2010 struct xhci_ep_ctx *ep_ctx; in xhci_add_endpoint() local
2092 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_add_endpoint()
2093 trace_xhci_add_endpoint(ep_ctx); in xhci_add_endpoint()
2107 struct xhci_ep_ctx *ep_ctx; in xhci_zero_in_ctx() local
2130 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, i); in xhci_zero_in_ctx()
2131 ep_ctx->ep_info = 0; in xhci_zero_in_ctx()
2132 ep_ctx->ep_info2 = 0; in xhci_zero_in_ctx()
2133 ep_ctx->deq = 0; in xhci_zero_in_ctx()
2134 ep_ctx->tx_info = 0; in xhci_zero_in_ctx()
3609 struct xhci_ep_ctx *ep_ctx; in xhci_alloc_streams() local
3612 ep_ctx = xhci_get_ep_ctx(xhci, config_cmd->in_ctx, ep_index); in xhci_alloc_streams()
3616 xhci_setup_streams_ep_input_ctx(xhci, ep_ctx, in xhci_alloc_streams()
3718 struct xhci_ep_ctx *ep_ctx; in xhci_free_streams() local
3721 ep_ctx = xhci_get_ep_ctx(xhci, command->in_ctx, ep_index); in xhci_free_streams()
3727 xhci_setup_no_streams_ep_input_ctx(ep_ctx, in xhci_free_streams()