Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/typec/
H A Dstusb160x.c53 #define STUSB160X_CC_POWER_ROLE(s) (!!((s) & BIT(3))) macro
349 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()