Searched refs:STUSB160X_CC_POWER_ROLE (Results 1 – 1 of 1) sorted by relevance
53 #define STUSB160X_CC_POWER_ROLE(s) (!!((s) & BIT(3))) macro349 if ((STUSB160X_CC_POWER_ROLE(status) == TYPEC_SOURCE) && in stusb160x_attach()370 typec_set_pwr_role(chip->port, STUSB160X_CC_POWER_ROLE(status)); in stusb160x_attach()391 typec_set_pwr_role(chip->port, STUSB160X_CC_POWER_ROLE(status)); in stusb160x_detach()