Loading drivers/usb/host/xhci-trace.h +5 −0 Original line number Diff line number Diff line Loading @@ -388,6 +388,11 @@ DEFINE_EVENT(xhci_log_slot_ctx, xhci_handle_cmd_set_deq, TP_ARGS(ctx) ); DEFINE_EVENT(xhci_log_slot_ctx, xhci_configure_endpoint, TP_PROTO(struct xhci_slot_ctx *ctx), TP_ARGS(ctx) ); DECLARE_EVENT_CLASS(xhci_log_ring, TP_PROTO(struct xhci_ring *ring), TP_ARGS(ring), Loading drivers/usb/host/xhci.c +4 −0 Original line number Diff line number Diff line Loading @@ -2564,6 +2564,7 @@ static int xhci_configure_endpoint(struct xhci_hcd *xhci, unsigned long flags; struct xhci_input_control_ctx *ctrl_ctx; struct xhci_virt_device *virt_dev; struct xhci_slot_ctx *slot_ctx; if (!command) return -EINVAL; Loading Loading @@ -2602,6 +2603,9 @@ static int xhci_configure_endpoint(struct xhci_hcd *xhci, return -ENOMEM; } slot_ctx = xhci_get_slot_ctx(xhci, command->in_ctx); trace_xhci_configure_endpoint(slot_ctx); if (!ctx_change) ret = xhci_queue_configure_endpoint(xhci, command, command->in_ctx->dma, Loading Loading
drivers/usb/host/xhci-trace.h +5 −0 Original line number Diff line number Diff line Loading @@ -388,6 +388,11 @@ DEFINE_EVENT(xhci_log_slot_ctx, xhci_handle_cmd_set_deq, TP_ARGS(ctx) ); DEFINE_EVENT(xhci_log_slot_ctx, xhci_configure_endpoint, TP_PROTO(struct xhci_slot_ctx *ctx), TP_ARGS(ctx) ); DECLARE_EVENT_CLASS(xhci_log_ring, TP_PROTO(struct xhci_ring *ring), TP_ARGS(ring), Loading
drivers/usb/host/xhci.c +4 −0 Original line number Diff line number Diff line Loading @@ -2564,6 +2564,7 @@ static int xhci_configure_endpoint(struct xhci_hcd *xhci, unsigned long flags; struct xhci_input_control_ctx *ctrl_ctx; struct xhci_virt_device *virt_dev; struct xhci_slot_ctx *slot_ctx; if (!command) return -EINVAL; Loading Loading @@ -2602,6 +2603,9 @@ static int xhci_configure_endpoint(struct xhci_hcd *xhci, return -ENOMEM; } slot_ctx = xhci_get_slot_ctx(xhci, command->in_ctx); trace_xhci_configure_endpoint(slot_ctx); if (!ctx_change) ret = xhci_queue_configure_endpoint(xhci, command, command->in_ctx->dma, Loading