Lines Matching refs:ep_ctx

1473 	struct xhci_ep_ctx *ep_ctx;  in xhci_check_ep0_maxpacket()  local
1479 ep_ctx = xhci_get_ep_ctx(xhci, vdev->out_ctx, 0); in xhci_check_ep0_maxpacket()
1480 hw_max_packet_size = MAX_PACKET_DECODED(le32_to_cpu(ep_ctx->ep_info2)); in xhci_check_ep0_maxpacket()
1514 ep_ctx = xhci_get_ep_ctx(xhci, command->in_ctx, 0); in xhci_check_ep0_maxpacket()
1515 ep_ctx->ep_info &= cpu_to_le32(~EP_STATE_MASK);/* must clear */ in xhci_check_ep0_maxpacket()
1516 ep_ctx->ep_info2 &= cpu_to_le32(~MAX_PACKET_MASK); in xhci_check_ep0_maxpacket()
1517 ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet_size)); in xhci_check_ep0_maxpacket()
1818 struct xhci_ep_ctx *ep_ctx; in xhci_drop_endpoint() local
1848 ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index); in xhci_drop_endpoint()
1852 if ((GET_EP_CTX_STATE(ep_ctx) == EP_STATE_DISABLED) || in xhci_drop_endpoint()
1901 struct xhci_ep_ctx *ep_ctx; in xhci_add_endpoint() local
1983 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_add_endpoint()
1984 trace_xhci_add_endpoint(ep_ctx); in xhci_add_endpoint()
1998 struct xhci_ep_ctx *ep_ctx; in xhci_zero_in_ctx() local
2021 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, i); in xhci_zero_in_ctx()
2022 ep_ctx->ep_info = 0; in xhci_zero_in_ctx()
2023 ep_ctx->ep_info2 = 0; in xhci_zero_in_ctx()
2024 ep_ctx->deq = 0; in xhci_zero_in_ctx()
2025 ep_ctx->tx_info = 0; in xhci_zero_in_ctx()
3512 struct xhci_ep_ctx *ep_ctx; in xhci_alloc_streams() local
3515 ep_ctx = xhci_get_ep_ctx(xhci, config_cmd->in_ctx, ep_index); in xhci_alloc_streams()
3519 xhci_setup_streams_ep_input_ctx(xhci, ep_ctx, in xhci_alloc_streams()
3621 struct xhci_ep_ctx *ep_ctx; in xhci_free_streams() local
3624 ep_ctx = xhci_get_ep_ctx(xhci, command->in_ctx, ep_index); in xhci_free_streams()
3630 xhci_setup_no_streams_ep_input_ctx(ep_ctx, in xhci_free_streams()