ep_ctx 90 drivers/usb/host/xhci-dbgcap.c struct xhci_ep_ctx *ep_ctx; ep_ctx 109 drivers/usb/host/xhci-dbgcap.c ep_ctx = dbc_bulkout_ctx(dbc); ep_ctx 112 drivers/usb/host/xhci-dbgcap.c ep_ctx->ep_info = 0; ep_ctx 113 drivers/usb/host/xhci-dbgcap.c ep_ctx->ep_info2 = dbc_epctx_info2(BULK_OUT_EP, 1024, max_burst); ep_ctx 114 drivers/usb/host/xhci-dbgcap.c ep_ctx->deq = cpu_to_le64(deq | dbc->ring_out->cycle_state); ep_ctx 117 drivers/usb/host/xhci-dbgcap.c ep_ctx = dbc_bulkin_ctx(dbc); ep_ctx 119 drivers/usb/host/xhci-dbgcap.c ep_ctx->ep_info = 0; ep_ctx 120 drivers/usb/host/xhci-dbgcap.c ep_ctx->ep_info2 = dbc_epctx_info2(BULK_IN_EP, 1024, max_burst); ep_ctx 121 drivers/usb/host/xhci-dbgcap.c ep_ctx->deq = cpu_to_le64(deq | dbc->ring_in->cycle_state); ep_ctx 279 drivers/usb/host/xhci-debugfs.c struct xhci_ep_ctx *ep_ctx; ep_ctx 286 drivers/usb/host/xhci-debugfs.c ep_ctx = xhci_get_ep_ctx(xhci, dev->out_ctx, dci); ep_ctx 289 drivers/usb/host/xhci-debugfs.c xhci_decode_ep_context(le32_to_cpu(ep_ctx->ep_info), ep_ctx 290 drivers/usb/host/xhci-debugfs.c le32_to_cpu(ep_ctx->ep_info2), ep_ctx 291 drivers/usb/host/xhci-debugfs.c le64_to_cpu(ep_ctx->deq), ep_ctx 292 drivers/usb/host/xhci-debugfs.c le32_to_cpu(ep_ctx->tx_info))); ep_ctx 410 drivers/usb/host/xhci-hub.c struct xhci_ep_ctx *ep_ctx; ep_ctx 413 drivers/usb/host/xhci-hub.c ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->out_ctx, i); ep_ctx 416 drivers/usb/host/xhci-hub.c if (GET_EP_CTX_STATE(ep_ctx) != EP_STATE_RUNNING) ep_ctx 726 drivers/usb/host/xhci-mem.c struct xhci_ep_ctx *ep_ctx, ep_ctx 738 drivers/usb/host/xhci-mem.c ep_ctx->ep_info &= cpu_to_le32(~EP_MAXPSTREAMS_MASK); ep_ctx 739 drivers/usb/host/xhci-mem.c ep_ctx->ep_info |= cpu_to_le32(EP_MAXPSTREAMS(max_primary_streams) ep_ctx 741 drivers/usb/host/xhci-mem.c ep_ctx->deq = cpu_to_le64(stream_info->ctx_array_dma); ep_ctx 749 drivers/usb/host/xhci-mem.c void xhci_setup_no_streams_ep_input_ctx(struct xhci_ep_ctx *ep_ctx, ep_ctx 753 drivers/usb/host/xhci-mem.c ep_ctx->ep_info &= cpu_to_le32(~(EP_MAXPSTREAMS_MASK | EP_HAS_LSA)); ep_ctx 755 drivers/usb/host/xhci-mem.c ep_ctx->deq = cpu_to_le64(addr | ep->ring->cycle_state); ep_ctx 1428 drivers/usb/host/xhci-mem.c struct xhci_ep_ctx *ep_ctx; ep_ctx 1441 drivers/usb/host/xhci-mem.c ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); ep_ctx 1504 drivers/usb/host/xhci-mem.c ep_ctx->ep_info = cpu_to_le32(EP_MAX_ESIT_PAYLOAD_HI(max_esit_payload) | ep_ctx 1507 drivers/usb/host/xhci-mem.c ep_ctx->ep_info2 = cpu_to_le32(EP_TYPE(endpoint_type) | ep_ctx 1511 drivers/usb/host/xhci-mem.c ep_ctx->deq = cpu_to_le64(ep_ring->first_seg->dma | ep_ctx 1514 drivers/usb/host/xhci-mem.c ep_ctx->tx_info = cpu_to_le32(EP_MAX_ESIT_PAYLOAD_LO(max_esit_payload) | ep_ctx 1525 drivers/usb/host/xhci-mem.c struct xhci_ep_ctx *ep_ctx; ep_ctx 1528 drivers/usb/host/xhci-mem.c ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); ep_ctx 1530 drivers/usb/host/xhci-mem.c ep_ctx->ep_info = 0; ep_ctx 1531 drivers/usb/host/xhci-mem.c ep_ctx->ep_info2 = 0; ep_ctx 1532 drivers/usb/host/xhci-mem.c ep_ctx->deq = 0; ep_ctx 1533 drivers/usb/host/xhci-mem.c ep_ctx->tx_info = 0; ep_ctx 1555 drivers/usb/host/xhci-mem.c struct xhci_ep_ctx *ep_ctx; ep_ctx 1574 drivers/usb/host/xhci-mem.c ep_ctx = xhci_get_ep_ctx(xhci, in_ctx, i); ep_ctx 1575 drivers/usb/host/xhci-mem.c ep_type = CTX_TO_EP_TYPE(le32_to_cpu(ep_ctx->ep_info2)); ep_ctx 1585 drivers/usb/host/xhci-mem.c le32_to_cpu(ep_ctx->ep_info)); ep_ctx 1591 drivers/usb/host/xhci-mem.c le32_to_cpu(ep_ctx->ep_info)) + 1; ep_ctx 1593 drivers/usb/host/xhci-mem.c le32_to_cpu(ep_ctx->ep_info2)) + 1; ep_ctx 1595 drivers/usb/host/xhci-mem.c le32_to_cpu(ep_ctx->ep_info2)); ep_ctx 1598 drivers/usb/host/xhci-mem.c le32_to_cpu(ep_ctx->tx_info)); ep_ctx 73 drivers/usb/host/xhci-mtk-sch.c static u32 get_esit(struct xhci_ep_ctx *ep_ctx) ep_ctx 77 drivers/usb/host/xhci-mtk-sch.c esit = 1 << CTX_TO_EP_INTERVAL(le32_to_cpu(ep_ctx->ep_info)); ep_ctx 172 drivers/usb/host/xhci-mtk-sch.c struct usb_host_endpoint *ep, struct xhci_ep_ctx *ep_ctx) ep_ctx 183 drivers/usb/host/xhci-mtk-sch.c len_bw_budget_table = get_esit(ep_ctx); ep_ctx 208 drivers/usb/host/xhci-mtk-sch.c struct xhci_ep_ctx *ep_ctx, struct mu3h_sch_ep_info *sch_ep) ep_ctx 219 drivers/usb/host/xhci-mtk-sch.c ep_type = CTX_TO_EP_TYPE(le32_to_cpu(ep_ctx->ep_info2)); ep_ctx 220 drivers/usb/host/xhci-mtk-sch.c maxpkt = MAX_PACKET_DECODED(le32_to_cpu(ep_ctx->ep_info2)); ep_ctx 221 drivers/usb/host/xhci-mtk-sch.c max_burst = CTX_TO_MAX_BURST(le32_to_cpu(ep_ctx->ep_info2)); ep_ctx 222 drivers/usb/host/xhci-mtk-sch.c mult = CTX_TO_EP_MULT(le32_to_cpu(ep_ctx->ep_info)); ep_ctx 225 drivers/usb/host/xhci-mtk-sch.c le32_to_cpu(ep_ctx->ep_info)) << 16) | ep_ctx 226 drivers/usb/host/xhci-mtk-sch.c CTX_TO_MAX_ESIT_PAYLOAD(le32_to_cpu(ep_ctx->tx_info)); ep_ctx 228 drivers/usb/host/xhci-mtk-sch.c sch_ep->esit = get_esit(ep_ctx); ep_ctx 597 drivers/usb/host/xhci-mtk-sch.c struct xhci_ep_ctx *ep_ctx; ep_ctx 611 drivers/usb/host/xhci-mtk-sch.c ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); ep_ctx 626 drivers/usb/host/xhci-mtk-sch.c ep_ctx->reserved[0] |= cpu_to_le32(EP_BPKTS(1)); ep_ctx 634 drivers/usb/host/xhci-mtk-sch.c sch_ep = create_sch_ep(udev, ep, ep_ctx); ep_ctx 638 drivers/usb/host/xhci-mtk-sch.c setup_sch_info(udev, ep_ctx, sch_ep); ep_ctx 652 drivers/usb/host/xhci-mtk-sch.c ep_ctx->reserved[0] |= cpu_to_le32(EP_BPKTS(sch_ep->pkts) ep_ctx 654 drivers/usb/host/xhci-mtk-sch.c ep_ctx->reserved[1] |= cpu_to_le32(EP_BOFFSET(sch_ep->offset) ep_ctx 489 drivers/usb/host/xhci-ring.c struct xhci_ep_ctx *ep_ctx; ep_ctx 499 drivers/usb/host/xhci-ring.c ep_ctx = xhci_get_ep_ctx(xhci, vdev->out_ctx, ep_index); ep_ctx 500 drivers/usb/host/xhci-ring.c return le64_to_cpu(ep_ctx->deq); ep_ctx 725 drivers/usb/host/xhci-ring.c struct xhci_ep_ctx *ep_ctx; ep_ctx 742 drivers/usb/host/xhci-ring.c ep_ctx = xhci_get_ep_ctx(xhci, vdev->out_ctx, ep_index); ep_ctx 743 drivers/usb/host/xhci-ring.c trace_xhci_handle_cmd_stop_ep(ep_ctx); ep_ctx 1061 drivers/usb/host/xhci-ring.c struct xhci_ep_ctx *ep_ctx; ep_ctx 1077 drivers/usb/host/xhci-ring.c ep_ctx = xhci_get_ep_ctx(xhci, dev->out_ctx, ep_index); ep_ctx 1080 drivers/usb/host/xhci-ring.c trace_xhci_handle_cmd_set_deq_ep(ep_ctx); ep_ctx 1092 drivers/usb/host/xhci-ring.c ep_state = GET_EP_CTX_STATE(ep_ctx); ep_ctx 1122 drivers/usb/host/xhci-ring.c deq = le64_to_cpu(ep_ctx->deq) & ~EP_CTX_CYCLE_MASK; ep_ctx 1152 drivers/usb/host/xhci-ring.c struct xhci_ep_ctx *ep_ctx; ep_ctx 1157 drivers/usb/host/xhci-ring.c ep_ctx = xhci_get_ep_ctx(xhci, vdev->out_ctx, ep_index); ep_ctx 1158 drivers/usb/host/xhci-ring.c trace_xhci_handle_cmd_reset_ep(ep_ctx); ep_ctx 1225 drivers/usb/host/xhci-ring.c struct xhci_ep_ctx *ep_ctx; ep_ctx 1250 drivers/usb/host/xhci-ring.c ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->out_ctx, ep_index); ep_ctx 1251 drivers/usb/host/xhci-ring.c trace_xhci_handle_cmd_config_ep(ep_ctx); ep_ctx 1882 drivers/usb/host/xhci-ring.c struct xhci_ep_ctx *ep_ctx, ep_ctx 1895 drivers/usb/host/xhci-ring.c if (GET_EP_CTX_STATE(ep_ctx) == EP_STATE_HALTED) ep_ctx 1966 drivers/usb/host/xhci-ring.c struct xhci_ep_ctx *ep_ctx; ep_ctx 1976 drivers/usb/host/xhci-ring.c ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index); ep_ctx 1989 drivers/usb/host/xhci-ring.c xhci_requires_manual_halt_cleanup(xhci, ep_ctx, ep_ctx 2040 drivers/usb/host/xhci-ring.c struct xhci_ep_ctx *ep_ctx; ep_ctx 2049 drivers/usb/host/xhci-ring.c ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index); ep_ctx 2094 drivers/usb/host/xhci-ring.c ep_ctx, trb_comp_code)) ep_ctx 2342 drivers/usb/host/xhci-ring.c struct xhci_ep_ctx *ep_ctx; ep_ctx 2362 drivers/usb/host/xhci-ring.c ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index); ep_ctx 2364 drivers/usb/host/xhci-ring.c if (GET_EP_CTX_STATE(ep_ctx) == EP_STATE_DISABLED) { ep_ctx 2556 drivers/usb/host/xhci-ring.c xhci_requires_manual_halt_cleanup(xhci, ep_ctx, ep_ctx 2651 drivers/usb/host/xhci-ring.c xhci_requires_manual_halt_cleanup(xhci, ep_ctx, ep_ctx 3023 drivers/usb/host/xhci-ring.c struct xhci_ep_ctx *ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index); ep_ctx 3032 drivers/usb/host/xhci-ring.c ret = prepare_ring(xhci, ep_ring, GET_EP_CTX_STATE(ep_ctx), ep_ctx 3133 drivers/usb/host/xhci-ring.c struct xhci_ep_ctx *ep_ctx) ep_ctx 3138 drivers/usb/host/xhci-ring.c xhci_interval = EP_INTERVAL_TO_UFRAMES(le32_to_cpu(ep_ctx->ep_info)); ep_ctx 3171 drivers/usb/host/xhci-ring.c struct xhci_ep_ctx *ep_ctx; ep_ctx 3173 drivers/usb/host/xhci-ring.c ep_ctx = xhci_get_ep_ctx(xhci, xhci->devs[slot_id]->out_ctx, ep_index); ep_ctx 3174 drivers/usb/host/xhci-ring.c check_interval(xhci, urb, ep_ctx); ep_ctx 3928 drivers/usb/host/xhci-ring.c struct xhci_ep_ctx *ep_ctx; ep_ctx 3938 drivers/usb/host/xhci-ring.c ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index); ep_ctx 3948 drivers/usb/host/xhci-ring.c ret = prepare_ring(xhci, ep_ring, GET_EP_CTX_STATE(ep_ctx), ep_ctx 3957 drivers/usb/host/xhci-ring.c check_interval(xhci, urb, ep_ctx); ep_ctx 3961 drivers/usb/host/xhci-ring.c if (GET_EP_CTX_STATE(ep_ctx) == EP_STATE_RUNNING) { ep_ctx 1389 drivers/usb/host/xhci.c struct xhci_ep_ctx *ep_ctx; ep_ctx 1396 drivers/usb/host/xhci.c ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index); ep_ctx 1397 drivers/usb/host/xhci.c hw_max_packet_size = MAX_PACKET_DECODED(le32_to_cpu(ep_ctx->ep_info2)); ep_ctx 1432 drivers/usb/host/xhci.c ep_ctx = xhci_get_ep_ctx(xhci, command->in_ctx, ep_index); ep_ctx 1433 drivers/usb/host/xhci.c ep_ctx->ep_info2 &= cpu_to_le32(~MAX_PACKET_MASK); ep_ctx 1434 drivers/usb/host/xhci.c ep_ctx->ep_info2 |= cpu_to_le32(MAX_PACKET(max_packet_size)); ep_ctx 1738 drivers/usb/host/xhci.c struct xhci_ep_ctx *ep_ctx; ep_ctx 1768 drivers/usb/host/xhci.c ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index); ep_ctx 1772 drivers/usb/host/xhci.c if ((GET_EP_CTX_STATE(ep_ctx) == EP_STATE_DISABLED) || ep_ctx 1823 drivers/usb/host/xhci.c struct xhci_ep_ctx *ep_ctx; ep_ctx 1914 drivers/usb/host/xhci.c ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); ep_ctx 1915 drivers/usb/host/xhci.c trace_xhci_add_endpoint(ep_ctx); ep_ctx 1930 drivers/usb/host/xhci.c struct xhci_ep_ctx *ep_ctx; ep_ctx 1953 drivers/usb/host/xhci.c ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, i); ep_ctx 1954 drivers/usb/host/xhci.c ep_ctx->ep_info = 0; ep_ctx 1955 drivers/usb/host/xhci.c ep_ctx->ep_info2 = 0; ep_ctx 1956 drivers/usb/host/xhci.c ep_ctx->deq = 0; ep_ctx 1957 drivers/usb/host/xhci.c ep_ctx->tx_info = 0; ep_ctx 3001 drivers/usb/host/xhci.c struct xhci_ep_ctx *ep_ctx; ep_ctx 3015 drivers/usb/host/xhci.c ep_ctx = xhci_get_ep_ctx(xhci, in_ctx, ep_index); ep_ctx 3026 drivers/usb/host/xhci.c ep_ctx->deq = cpu_to_le64(addr | deq_state->new_cycle_state); ep_ctx 3497 drivers/usb/host/xhci.c struct xhci_ep_ctx *ep_ctx; ep_ctx 3500 drivers/usb/host/xhci.c ep_ctx = xhci_get_ep_ctx(xhci, config_cmd->in_ctx, ep_index); ep_ctx 3504 drivers/usb/host/xhci.c xhci_setup_streams_ep_input_ctx(xhci, ep_ctx, ep_ctx 3602 drivers/usb/host/xhci.c struct xhci_ep_ctx *ep_ctx; ep_ctx 3605 drivers/usb/host/xhci.c ep_ctx = xhci_get_ep_ctx(xhci, command->in_ctx, ep_index); ep_ctx 3611 drivers/usb/host/xhci.c xhci_setup_no_streams_ep_input_ctx(ep_ctx, ep_ctx 2028 drivers/usb/host/xhci.h struct xhci_ep_ctx *ep_ctx, ep_ctx 2030 drivers/usb/host/xhci.h void xhci_setup_no_streams_ep_input_ctx(struct xhci_ep_ctx *ep_ctx,