Home
last modified time | relevance | path

Searched refs:STATUS_CHECK (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/typec/tcpm/
H A Dmaxim_contaminant.c48 #define STATUS_CHECK(reg, mask, val) (((reg) & (mask)) == (val)) macro
51 (STATUS_CHECK((cc_status), TCPC_CC_STATUS_CC1_MASK << TCPC_CC_STATUS_CC1_SHIFT, \
52 TCPC_CC_STATE_SRC_OPEN) && STATUS_CHECK((cc_status), \
373 if (STATUS_CHECK(cc_status, TCPC_CC_STATUS_TOGGLING, 0)) { in max_contaminant_is_contaminant()