Home
last modified time | relevance | path

Searched refs:ep_ctx (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/drivers/usb/host/
Dxhci-dbg.c505 struct xhci_ep_ctx *ep_ctx = xhci_get_ep_ctx(xhci, ctx, i); in xhci_dbg_ep_ctx() local
507 ((unsigned long)ep_ctx - (unsigned long)ctx->bytes); in xhci_dbg_ep_ctx()
511 &ep_ctx->ep_info, in xhci_dbg_ep_ctx()
512 (unsigned long long)dma, ep_ctx->ep_info); in xhci_dbg_ep_ctx()
515 &ep_ctx->ep_info2, in xhci_dbg_ep_ctx()
516 (unsigned long long)dma, ep_ctx->ep_info2); in xhci_dbg_ep_ctx()
519 &ep_ctx->deq, in xhci_dbg_ep_ctx()
520 (unsigned long long)dma, ep_ctx->deq); in xhci_dbg_ep_ctx()
523 &ep_ctx->tx_info, in xhci_dbg_ep_ctx()
524 (unsigned long long)dma, ep_ctx->tx_info); in xhci_dbg_ep_ctx()
[all …]
Dxhci-mem.c606 struct xhci_ep_ctx *ep_ctx, in xhci_setup_streams_ep_input_ctx() argument
617 ep_ctx->ep_info &= ~EP_MAXPSTREAMS_MASK; in xhci_setup_streams_ep_input_ctx()
618 ep_ctx->ep_info |= EP_MAXPSTREAMS(max_primary_streams); in xhci_setup_streams_ep_input_ctx()
619 ep_ctx->ep_info |= EP_HAS_LSA; in xhci_setup_streams_ep_input_ctx()
620 ep_ctx->deq = stream_info->ctx_array_dma; in xhci_setup_streams_ep_input_ctx()
629 struct xhci_ep_ctx *ep_ctx, in xhci_setup_no_streams_ep_input_ctx() argument
633 ep_ctx->ep_info &= ~EP_MAXPSTREAMS_MASK; in xhci_setup_no_streams_ep_input_ctx()
634 ep_ctx->ep_info &= ~EP_HAS_LSA; in xhci_setup_no_streams_ep_input_ctx()
636 ep_ctx->deq = addr | ep->ring->cycle_state; in xhci_setup_no_streams_ep_input_ctx()
1152 struct xhci_ep_ctx *ep_ctx; in xhci_endpoint_init() local
[all …]
Dxhci.c969 struct xhci_ep_ctx *ep_ctx; in xhci_check_maxpacket() local
975 ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index); in xhci_check_maxpacket()
976 hw_max_packet_size = MAX_PACKET_DECODED(ep_ctx->ep_info2); in xhci_check_maxpacket()
990 ep_ctx = xhci_get_ep_ctx(xhci, in_ctx, ep_index); in xhci_check_maxpacket()
991 ep_ctx->ep_info2 &= ~MAX_PACKET_MASK; in xhci_check_maxpacket()
992 ep_ctx->ep_info2 |= MAX_PACKET(max_packet_size); in xhci_check_maxpacket()
1308 struct xhci_ep_ctx *ep_ctx; in xhci_drop_endpoint() local
1330 ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index); in xhci_drop_endpoint()
1334 if ((ep_ctx->ep_info & EP_STATE_MASK) == EP_STATE_DISABLED || in xhci_drop_endpoint()
1386 struct xhci_ep_ctx *ep_ctx; in xhci_add_endpoint() local
[all …]
Dxhci-ring.c459 struct xhci_ep_ctx *ep_ctx; in xhci_find_new_dequeue_state() local
482 ep_ctx = xhci_get_ep_ctx(xhci, dev->out_ctx, ep_index); in xhci_find_new_dequeue_state()
483 state->new_cycle_state = 0x1 & ep_ctx->deq; in xhci_find_new_dequeue_state()
910 struct xhci_ep_ctx *ep_ctx; in handle_set_deq_completion() local
928 ep_ctx = xhci_get_ep_ctx(xhci, dev->out_ctx, ep_index); in handle_set_deq_completion()
943 ep_state = ep_ctx->ep_info; in handle_set_deq_completion()
968 ep_ctx->deq); in handle_set_deq_completion()
971 (ep_ctx->deq & ~(EP_CTX_CYCLE_MASK))) { in handle_set_deq_completion()
1446 struct xhci_ep_ctx *ep_ctx, in xhci_requires_manual_halt_cleanup() argument
1459 if ((ep_ctx->ep_info & EP_STATE_MASK) == EP_STATE_HALTED) in xhci_requires_manual_halt_cleanup()
[all …]
Dxhci.h1428 struct xhci_ep_ctx *ep_ctx,
1431 struct xhci_ep_ctx *ep_ctx,