UCSI_CONCAP
pd_revision = UCSI_CONCAP(con, PARTNER_PD_REVISION_V2_1);
u64 pd_revision = UCSI_CONCAP(con, PARTNER_PD_REVISION_V2_1);
if (UCSI_CONCAP(con, OPMODE_DRP))
else if (UCSI_CONCAP(con, OPMODE_DFP))
else if (UCSI_CONCAP(con, OPMODE_UFP))
if (UCSI_CONCAP(con, PROVIDER) && UCSI_CONCAP(con, CONSUMER))
else if (UCSI_CONCAP(con, PROVIDER))
else if (UCSI_CONCAP(con, CONSUMER))
if (UCSI_CONCAP(con, OPMODE_AUDIO_ACCESSORY))
if (UCSI_CONCAP(con, OPMODE_DEBUG_ACCESSORY))
#define UCSI_CONCAP_USB2_SUPPORT(_con_) UCSI_CONCAP((_con_), OPMODE_USB2)
#define UCSI_CONCAP_USB3_SUPPORT(_con_) UCSI_CONCAP((_con_), OPMODE_USB3)
(UCSI_CONCAP((_con_), EXT_OPMODE_USB4_GEN2_V2_0) | \
UCSI_CONCAP((_con_), EXT_OPMODE_USB4_GEN3_V2_0) | \
UCSI_CONCAP((_con_), EXT_OPMODE_USB4_GEN4_V2_0)))