Searched refs:UCSI_CONCAP (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/usb/typec/ucsi/ |
| H A D | ucsi.h | 330 #define UCSI_CONCAP_USB2_SUPPORT(_con_) UCSI_CONCAP((_con_), OPMODE_USB2) 331 #define UCSI_CONCAP_USB3_SUPPORT(_con_) UCSI_CONCAP((_con_), OPMODE_USB3) 334 (UCSI_CONCAP((_con_), EXT_OPMODE_USB4_GEN2_V2_0) | \ 335 UCSI_CONCAP((_con_), EXT_OPMODE_USB4_GEN3_V2_0) | \ 336 UCSI_CONCAP((_con_), EXT_OPMODE_USB4_GEN4_V2_0))) 448 #define UCSI_CONCAP(_con_, _field_) \ macro
|
| H A D | ucsi.c | 1026 pd_revision = UCSI_CONCAP(con, PARTNER_PD_REVISION_V2_1); in ucsi_check_connector_capability() 1113 u64 pd_revision = UCSI_CONCAP(con, PARTNER_PD_REVISION_V2_1); in ucsi_register_partner() 1653 if (UCSI_CONCAP(con, OPMODE_DRP)) in ucsi_register_port() 1655 else if (UCSI_CONCAP(con, OPMODE_DFP)) in ucsi_register_port() 1657 else if (UCSI_CONCAP(con, OPMODE_UFP)) in ucsi_register_port() 1660 if (UCSI_CONCAP(con, PROVIDER) && UCSI_CONCAP(con, CONSUMER)) in ucsi_register_port() 1662 else if (UCSI_CONCAP(con, PROVIDER)) in ucsi_register_port() 1664 else if (UCSI_CONCAP(con, CONSUMER)) in ucsi_register_port() 1672 if (UCSI_CONCAP(con, OPMODE_AUDIO_ACCESSORY)) in ucsi_register_port() 1674 if (UCSI_CONCAP(con, OPMODE_DEBUG_ACCESSORY)) in ucsi_register_port()
|