Lines Matching refs:ep_ctx
1528 struct xhci_ep_ctx *ep_ctx; in xhci_check_maxpacket() local
1535 ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index); in xhci_check_maxpacket()
1536 hw_max_packet_size = MAX_PACKET_DECODED(le32_to_cpu(ep_ctx->ep_info2)); in xhci_check_maxpacket()
1571 ep_ctx = xhci_get_ep_ctx(xhci, command->in_ctx, ep_index); in xhci_check_maxpacket()
1572 ep_ctx->ep_info &= cpu_to_le32(~EP_STATE_MASK);/* must clear */ in xhci_check_maxpacket()
1573 ep_ctx->ep_info2 &= cpu_to_le32(~MAX_PACKET_MASK); in xhci_check_maxpacket()
1574 ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet_size)); in xhci_check_maxpacket()
1881 struct xhci_ep_ctx *ep_ctx; in xhci_drop_endpoint() local
1911 ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index); in xhci_drop_endpoint()
1915 if ((GET_EP_CTX_STATE(ep_ctx) == EP_STATE_DISABLED) || in xhci_drop_endpoint()
1964 struct xhci_ep_ctx *ep_ctx; in xhci_add_endpoint() local
2046 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_add_endpoint()
2047 trace_xhci_add_endpoint(ep_ctx); in xhci_add_endpoint()
2061 struct xhci_ep_ctx *ep_ctx; in xhci_zero_in_ctx() local
2084 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, i); in xhci_zero_in_ctx()
2085 ep_ctx->ep_info = 0; in xhci_zero_in_ctx()
2086 ep_ctx->ep_info2 = 0; in xhci_zero_in_ctx()
2087 ep_ctx->deq = 0; in xhci_zero_in_ctx()
2088 ep_ctx->tx_info = 0; in xhci_zero_in_ctx()
3567 struct xhci_ep_ctx *ep_ctx; in xhci_alloc_streams() local
3570 ep_ctx = xhci_get_ep_ctx(xhci, config_cmd->in_ctx, ep_index); in xhci_alloc_streams()
3574 xhci_setup_streams_ep_input_ctx(xhci, ep_ctx, in xhci_alloc_streams()
3676 struct xhci_ep_ctx *ep_ctx; in xhci_free_streams() local
3679 ep_ctx = xhci_get_ep_ctx(xhci, command->in_ctx, ep_index); in xhci_free_streams()
3685 xhci_setup_no_streams_ep_input_ctx(ep_ctx, in xhci_free_streams()