Lines Matching refs:ep_ctx
1260 struct xhci_ep_ctx *ep_ctx; in xhci_check_maxpacket() local
1267 ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index); in xhci_check_maxpacket()
1268 hw_max_packet_size = MAX_PACKET_DECODED(le32_to_cpu(ep_ctx->ep_info2)); in xhci_check_maxpacket()
1303 ep_ctx = xhci_get_ep_ctx(xhci, command->in_ctx, ep_index); in xhci_check_maxpacket()
1304 ep_ctx->ep_info2 &= cpu_to_le32(~MAX_PACKET_MASK); in xhci_check_maxpacket()
1305 ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet_size)); in xhci_check_maxpacket()
1661 struct xhci_ep_ctx *ep_ctx; in xhci_drop_endpoint() local
1691 ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index); in xhci_drop_endpoint()
1695 if (((ep_ctx->ep_info & cpu_to_le32(EP_STATE_MASK)) == in xhci_drop_endpoint()
1834 struct xhci_ep_ctx *ep_ctx; in xhci_zero_in_ctx() local
1857 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, i); in xhci_zero_in_ctx()
1858 ep_ctx->ep_info = 0; in xhci_zero_in_ctx()
1859 ep_ctx->ep_info2 = 0; in xhci_zero_in_ctx()
1860 ep_ctx->deq = 0; in xhci_zero_in_ctx()
1861 ep_ctx->tx_info = 0; in xhci_zero_in_ctx()
2901 struct xhci_ep_ctx *ep_ctx; in xhci_setup_input_ctx_for_quirk() local
2915 ep_ctx = xhci_get_ep_ctx(xhci, in_ctx, ep_index); in xhci_setup_input_ctx_for_quirk()
2926 ep_ctx->deq = cpu_to_le64(addr | deq_state->new_cycle_state); in xhci_setup_input_ctx_for_quirk()
3255 struct xhci_ep_ctx *ep_ctx; in xhci_alloc_streams() local
3258 ep_ctx = xhci_get_ep_ctx(xhci, config_cmd->in_ctx, ep_index); in xhci_alloc_streams()
3262 xhci_setup_streams_ep_input_ctx(xhci, ep_ctx, in xhci_alloc_streams()
3360 struct xhci_ep_ctx *ep_ctx; in xhci_free_streams() local
3363 ep_ctx = xhci_get_ep_ctx(xhci, command->in_ctx, ep_index); in xhci_free_streams()
3369 xhci_setup_no_streams_ep_input_ctx(ep_ctx, in xhci_free_streams()