Searched refs:ep_ctx (Results 1 – 5 of 5) sorted by relevance
| /linux-4.4.14/drivers/usb/host/ |
| D | xhci-dbg.c | 524 struct xhci_ep_ctx *ep_ctx = xhci_get_ep_ctx(xhci, ctx, i); in xhci_dbg_ep_ctx() local 526 ((unsigned long)ep_ctx - (unsigned long)ctx->bytes); in xhci_dbg_ep_ctx() 532 &ep_ctx->ep_info, in xhci_dbg_ep_ctx() 533 (unsigned long long)dma, ep_ctx->ep_info); in xhci_dbg_ep_ctx() 536 &ep_ctx->ep_info2, in xhci_dbg_ep_ctx() 537 (unsigned long long)dma, ep_ctx->ep_info2); in xhci_dbg_ep_ctx() 540 &ep_ctx->deq, in xhci_dbg_ep_ctx() 541 (unsigned long long)dma, ep_ctx->deq); in xhci_dbg_ep_ctx() 544 &ep_ctx->tx_info, in xhci_dbg_ep_ctx() 545 (unsigned long long)dma, ep_ctx->tx_info); in xhci_dbg_ep_ctx() [all …]
|
| D | xhci-mem.c | 764 struct xhci_ep_ctx *ep_ctx, in xhci_setup_streams_ep_input_ctx() argument 776 ep_ctx->ep_info &= cpu_to_le32(~EP_MAXPSTREAMS_MASK); in xhci_setup_streams_ep_input_ctx() 777 ep_ctx->ep_info |= cpu_to_le32(EP_MAXPSTREAMS(max_primary_streams) in xhci_setup_streams_ep_input_ctx() 779 ep_ctx->deq = cpu_to_le64(stream_info->ctx_array_dma); in xhci_setup_streams_ep_input_ctx() 787 void xhci_setup_no_streams_ep_input_ctx(struct xhci_ep_ctx *ep_ctx, in xhci_setup_no_streams_ep_input_ctx() argument 791 ep_ctx->ep_info &= cpu_to_le32(~(EP_MAXPSTREAMS_MASK | EP_HAS_LSA)); in xhci_setup_no_streams_ep_input_ctx() 793 ep_ctx->deq = cpu_to_le64(addr | ep->ring->cycle_state); in xhci_setup_no_streams_ep_input_ctx() 1406 struct xhci_ep_ctx *ep_ctx; in xhci_endpoint_init() local 1415 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_endpoint_init() 1420 ep_ctx->ep_info2 = cpu_to_le32(endpoint_type); in xhci_endpoint_init() [all …]
|
| D | xhci-ring.c | 469 struct xhci_ep_ctx *ep_ctx in xhci_find_new_dequeue_state() local 471 hw_dequeue = le64_to_cpu(ep_ctx->deq); in xhci_find_new_dequeue_state() 961 struct xhci_ep_ctx *ep_ctx; in xhci_handle_cmd_set_deq() local 977 ep_ctx = xhci_get_ep_ctx(xhci, dev->out_ctx, ep_index); in xhci_handle_cmd_set_deq() 990 ep_state = le32_to_cpu(ep_ctx->ep_info); in xhci_handle_cmd_set_deq() 1021 deq = le64_to_cpu(ep_ctx->deq) & ~EP_CTX_CYCLE_MASK; in xhci_handle_cmd_set_deq() 1763 struct xhci_ep_ctx *ep_ctx, in xhci_requires_manual_halt_cleanup() argument 1776 if ((ep_ctx->ep_info & cpu_to_le32(EP_STATE_MASK)) == in xhci_requires_manual_halt_cleanup() 1810 struct xhci_ep_ctx *ep_ctx; in finish_td() local 1819 ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index); in finish_td() [all …]
|
| D | xhci.c | 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 [all …]
|
| D | xhci.h | 1796 struct xhci_ep_ctx *ep_ctx, 1798 void xhci_setup_no_streams_ep_input_ctx(struct xhci_ep_ctx *ep_ctx,
|