aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/usb/ch9.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2015-11-23 03:04:05 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-11-23 03:04:05 -0500
commit92907cbbef8625bb3998d1eb385fc88f23c97a3f (patch)
tree15626ff9287e37c3cb81c7286d6db5a7fd77c854 /include/uapi/linux/usb/ch9.h
parent15fbfccfe92c62ae8d1ecc647c44157ed01ac02e (diff)
parent1ec218373b8ebda821aec00bb156a9c94fad9cd4 (diff)
Merge tag 'v4.4-rc2' into drm-intel-next-queued
Linux 4.4-rc2 Backmerge to get at commit 1b0e3a049efe471c399674fd954500ce97438d30 Author: Imre Deak <imre.deak@intel.com> Date: Thu Nov 5 23:04:11 2015 +0200 drm/i915/skl: disable display side power well support for now so that we can proplery re-eanble skl power wells in -next. Conflicts are just adjacent lines changed, except for intel_fbdev.c where we need to interleave the changs. Nothing nefarious. Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'include/uapi/linux/usb/ch9.h')
-rw-r--r--include/uapi/linux/usb/ch9.h29
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
875struct 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