Lines Matching refs:ep_ctx
606 struct xhci_ep_ctx *ep_ctx;
616 ep_ctx = xhci_get_ep_ctx(xhci, vdev->out_ctx, ep_index);
617 return le64_to_cpu(ep_ctx->deq);
1095 struct xhci_ep_ctx *ep_ctx;
1113 ep_ctx = xhci_get_ep_ctx(xhci, ep->vdev->out_ctx, ep_index);
1115 trace_xhci_handle_cmd_stop_ep(ep_ctx);
1132 switch (GET_EP_CTX_STATE(ep_ctx)) {
1327 struct xhci_ep_ctx *ep_ctx;
1345 ep_ctx = xhci_get_ep_ctx(xhci, ep->vdev->out_ctx, ep_index);
1348 trace_xhci_handle_cmd_set_deq_ep(ep_ctx);
1360 ep_state = GET_EP_CTX_STATE(ep_ctx);
1390 deq = le64_to_cpu(ep_ctx->deq) & ~EP_CTX_CYCLE_MASK;
1433 struct xhci_ep_ctx *ep_ctx;
1441 ep_ctx = xhci_get_ep_ctx(xhci, ep->vdev->out_ctx, ep_index);
1442 trace_xhci_handle_cmd_reset_ep(ep_ctx);
1494 struct xhci_ep_ctx *ep_ctx;
1517 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->out_ctx, ep_index);
1518 trace_xhci_handle_cmd_config_ep(ep_ctx);
2127 struct xhci_ep_ctx *ep_ctx,
2140 if (GET_EP_CTX_STATE(ep_ctx) == EP_STATE_HALTED)
2164 struct xhci_ep_ctx *ep_ctx;
2166 ep_ctx = xhci_get_ep_ctx(xhci, ep->vdev->out_ctx, ep->ep_index);
2192 if (GET_EP_CTX_STATE(ep_ctx) != EP_STATE_HALTED) {
2263 struct xhci_ep_ctx *ep_ctx;
2269 ep_ctx = xhci_get_ep_ctx(xhci, ep->vdev->out_ctx, ep->ep_index);
2314 ep_ctx, trb_comp_code))
2573 struct xhci_ep_ctx *ep_ctx;
2590 ep_ctx = xhci_get_ep_ctx(xhci, ep->vdev->out_ctx, ep_index);
2592 if (GET_EP_CTX_STATE(ep_ctx) == EP_STATE_DISABLED) {
2792 xhci_requires_manual_halt_cleanup(xhci, ep_ctx,
2916 xhci_requires_manual_halt_cleanup(xhci, ep_ctx,
3317 struct xhci_ep_ctx *ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index);
3327 ret = prepare_ring(xhci, ep_ring, GET_EP_CTX_STATE(ep_ctx),
3428 struct xhci_ep_ctx *ep_ctx)
3433 xhci_interval = EP_INTERVAL_TO_UFRAMES(le32_to_cpu(ep_ctx->ep_info));
3466 struct xhci_ep_ctx *ep_ctx;
3468 ep_ctx = xhci_get_ep_ctx(xhci, xhci->devs[slot_id]->out_ctx, ep_index);
3469 check_interval(xhci, urb, ep_ctx);
4246 struct xhci_ep_ctx *ep_ctx;
4256 ep_ctx = xhci_get_ep_ctx(xhci, xdev->out_ctx, ep_index);
4266 ret = prepare_ring(xhci, ep_ring, GET_EP_CTX_STATE(ep_ctx),
4275 check_interval(xhci, urb, ep_ctx);
4279 if (GET_EP_CTX_STATE(ep_ctx) == EP_STATE_RUNNING) {