Lines Matching refs:ep_ctx
1250 struct xhci_ep_ctx *ep_ctx; in xhci_check_maxpacket() local
1257 ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index); in xhci_check_maxpacket()
1258 hw_max_packet_size = MAX_PACKET_DECODED(le32_to_cpu(ep_ctx->ep_info2)); in xhci_check_maxpacket()
1293 ep_ctx = xhci_get_ep_ctx(xhci, command->in_ctx, ep_index); in xhci_check_maxpacket()
1294 ep_ctx->ep_info2 &= cpu_to_le32(~MAX_PACKET_MASK); in xhci_check_maxpacket()
1295 ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet_size)); in xhci_check_maxpacket()
1651 struct xhci_ep_ctx *ep_ctx; in xhci_drop_endpoint() local
1681 ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index); in xhci_drop_endpoint()
1685 if (((ep_ctx->ep_info & cpu_to_le32(EP_STATE_MASK)) == in xhci_drop_endpoint()
1824 struct xhci_ep_ctx *ep_ctx; in xhci_zero_in_ctx() local
1847 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, i); in xhci_zero_in_ctx()
1848 ep_ctx->ep_info = 0; in xhci_zero_in_ctx()
1849 ep_ctx->ep_info2 = 0; in xhci_zero_in_ctx()
1850 ep_ctx->deq = 0; in xhci_zero_in_ctx()
1851 ep_ctx->tx_info = 0; in xhci_zero_in_ctx()
2891 struct xhci_ep_ctx *ep_ctx; in xhci_setup_input_ctx_for_quirk() local
2905 ep_ctx = xhci_get_ep_ctx(xhci, in_ctx, ep_index); in xhci_setup_input_ctx_for_quirk()
2916 ep_ctx->deq = cpu_to_le64(addr | deq_state->new_cycle_state); in xhci_setup_input_ctx_for_quirk()
3245 struct xhci_ep_ctx *ep_ctx; in xhci_alloc_streams() local
3248 ep_ctx = xhci_get_ep_ctx(xhci, config_cmd->in_ctx, ep_index); in xhci_alloc_streams()
3252 xhci_setup_streams_ep_input_ctx(xhci, ep_ctx, in xhci_alloc_streams()
3350 struct xhci_ep_ctx *ep_ctx; in xhci_free_streams() local
3353 ep_ctx = xhci_get_ep_ctx(xhci, command->in_ctx, ep_index); in xhci_free_streams()
3359 xhci_setup_no_streams_ep_input_ctx(ep_ctx, in xhci_free_streams()