diff options
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/usb/ch9.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/uapi/linux/usb/ch9.h b/include/uapi/linux/usb/ch9.h index f7adc6e01f9e..4338eb7b09b3 100644 --- a/include/uapi/linux/usb/ch9.h +++ b/include/uapi/linux/usb/ch9.h | |||
| @@ -866,6 +866,35 @@ struct usb_ss_container_id_descriptor { | |||
| 866 | } __attribute__((packed)); | 866 | } __attribute__((packed)); |
| 867 | 867 | ||
| 868 | #define USB_DT_USB_SS_CONTN_ID_SIZE 20 | 868 | #define USB_DT_USB_SS_CONTN_ID_SIZE 20 |
| 869 | |||
| 870 | /* | ||
| 871 | * SuperSpeed Plus USB Capability descriptor: Defines the set of | ||
| 872 | * SuperSpeed Plus USB specific device level capabilities | ||
| 873 | */ | ||
| 874 | #define USB_SSP_CAP_TYPE 0xa | ||
| 875 | struct usb_ssp_cap_descriptor { | ||
| 876 | __u8 bLength; | ||
| 877 | __u8 bDescriptorType; | ||
| 878 | __u8 bDevCapabilityType; | ||
| 879 | __u8 bReserved; | ||
| 880 | __le32 bmAttributes; | ||
| 881 | #define USB_SSP_SUBLINK_SPEED_ATTRIBS (0x1f << 0) /* sublink speed entries */ | ||
| 882 | #define USB_SSP_SUBLINK_SPEED_IDS (0xf << 5) /* speed ID entries */ | ||
| 883 | __u16 wFunctionalitySupport; | ||
| 884 | #define USB_SSP_MIN_SUBLINK_SPEED_ATTRIBUTE_ID (0xf) | ||
| 885 | #define USB_SSP_MIN_RX_LANE_COUNT (0xf << 8) | ||
| 886 | #define USB_SSP_MIN_TX_LANE_COUNT (0xf << 12) | ||
| 887 | __le16 wReserved; | ||
| 888 | __le32 bmSublinkSpeedAttr[1]; /* list of sublink speed attrib entries */ | ||
| 889 | #define USB_SSP_SUBLINK_SPEED_SSID (0xf) /* sublink speed ID */ | ||
| 890 | #define USB_SSP_SUBLINK_SPEED_LSE (0x3 << 4) /* Lanespeed exponent */ | ||
| 891 | #define USB_SSP_SUBLINK_SPEED_ST (0x3 << 6) /* Sublink type */ | ||
| 892 | #define USB_SSP_SUBLINK_SPEED_RSVD (0x3f << 8) /* Reserved */ | ||
| 893 | #define USB_SSP_SUBLINK_SPEED_LP (0x3 << 14) /* Link protocol */ | ||
| 894 | #define USB_SSP_SUBLINK_SPEED_LSM (0xff << 16) /* Lanespeed mantissa */ | ||
| 895 | } __attribute__((packed)); | ||
| 896 | |||
| 897 | |||
| 869 | /*-------------------------------------------------------------------------*/ | 898 | /*-------------------------------------------------------------------------*/ |
| 870 | 899 | ||
| 871 | /* USB_DT_WIRELESS_ENDPOINT_COMP: companion descriptor associated with | 900 | /* USB_DT_WIRELESS_ENDPOINT_COMP: companion descriptor associated with |
