Searched refs:ep_ctx (Results 1 – 5 of 5) sorted by relevance
/linux-4.1.27/drivers/usb/host/ |
D | xhci-dbg.c | 507 struct xhci_ep_ctx *ep_ctx = xhci_get_ep_ctx(xhci, ctx, i); in xhci_dbg_ep_ctx() local 509 ((unsigned long)ep_ctx - (unsigned long)ctx->bytes); in xhci_dbg_ep_ctx() 515 &ep_ctx->ep_info, in xhci_dbg_ep_ctx() 516 (unsigned long long)dma, ep_ctx->ep_info); in xhci_dbg_ep_ctx() 519 &ep_ctx->ep_info2, in xhci_dbg_ep_ctx() 520 (unsigned long long)dma, ep_ctx->ep_info2); in xhci_dbg_ep_ctx() 523 &ep_ctx->deq, in xhci_dbg_ep_ctx() 524 (unsigned long long)dma, ep_ctx->deq); in xhci_dbg_ep_ctx() 527 &ep_ctx->tx_info, in xhci_dbg_ep_ctx() 528 (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() 1762 struct xhci_ep_ctx *ep_ctx, in xhci_requires_manual_halt_cleanup() argument 1775 if ((ep_ctx->ep_info & cpu_to_le32(EP_STATE_MASK)) == in xhci_requires_manual_halt_cleanup() 1809 struct xhci_ep_ctx *ep_ctx; in finish_td() local 1818 ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index); in finish_td() [all …]
|
D | xhci.c | 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 [all …]
|
D | xhci.h | 1728 struct xhci_ep_ctx *ep_ctx, 1730 void xhci_setup_no_streams_ep_input_ctx(struct xhci_ep_ctx *ep_ctx,
|