diff options
Diffstat (limited to 'include/usb_pd_vdo.h')
-rw-r--r-- | include/usb_pd_vdo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/usb_pd_vdo.h b/include/usb_pd_vdo.h index e0b1bf65dc..76772ef893 100644 --- a/include/usb_pd_vdo.h +++ b/include/usb_pd_vdo.h @@ -72,7 +72,8 @@ struct product_vdo { * 011b = USB4 Gen3 * 100b…111b = Reserved, Shall Not be used */ -#define PD_PRODUCT_IS_USB4(vdo) ((vdo) >> 27 & 0x1) +#define PD_PRODUCT_IS_USB4(vdo) ((vdo) >> 24 & BIT(3)) +#define PD_PRODUCT_IS_TBT3(vdo) ((vdo) >> 3 & BIT(0)) /*****************************************************************************/ /* |