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 | 1021 pd_revision = UCSI_CONCAP(con, PARTNER_PD_REVISION_V2_1); in ucsi_check_connector_capability() 1108 u64 pd_revision = UCSI_CONCAP(con, PARTNER_PD_REVISION_V2_1); in ucsi_register_partner() 1648 if (UCSI_CONCAP(con, OPMODE_DRP)) in ucsi_register_port() 1650 else if (UCSI_CONCAP(con, OPMODE_DFP)) in ucsi_register_port() 1652 else if (UCSI_CONCAP(con, OPMODE_UFP)) in ucsi_register_port() 1655 if (UCSI_CONCAP(con, PROVIDER) && UCSI_CONCAP(con, CONSUMER)) in ucsi_register_port() 1657 else if (UCSI_CONCAP(con, PROVIDER)) in ucsi_register_port() 1659 else if (UCSI_CONCAP(con, CONSUMER)) in ucsi_register_port() 1667 if (UCSI_CONCAP(con, OPMODE_AUDIO_ACCESSORY)) in ucsi_register_port() 1669 if (UCSI_CONCAP(con, OPMODE_DEBUG_ACCESSORY)) in ucsi_register_port()
|