summaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-20 11:28:27 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-20 11:28:27 +0300
commit616e143c9fd88562b4d2cb235834c620fe65ba22 (patch)
treedb2f3fc5db49af8cbc0cd4439cd19b44972d6f66 /drivers/usb/host/xhci.h
parent932316d50d55fc2815f352cc873c3143bfe54372 (diff)
parentd12acd7bc3d4ca813dc2360e6f5ca6bb1682c290 (diff)
downloadlinux-616e143c9fd88562b4d2cb235834c620fe65ba22.tar.xz
Merge v6.14.3
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci.h')
-rw-r--r--drivers/usb/host/xhci.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
index 40015c41b129..59c6c1c701b9 100644
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -529,6 +529,7 @@ struct xhci_command {
/* Input context for changing device state */
struct xhci_container_ctx *in_ctx;
u32 status;
+ u32 comp_param;
int slot_id;
/* If completion is null, no one is waiting on this command
* and the structure can be freed after the command completes.
@@ -959,6 +960,9 @@ struct xhci_event_cmd {
__le32 flags;
};
+/* status bitmasks */
+#define COMP_PARAM(p) ((p) & 0xffffff) /* Command Completion Parameter */
+
/* Address device - disable SetAddress */
#define TRB_BSR (1<<9)