Searched refs:UCSI_SET_PDR_ROLE (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/usb/typec/ucsi/ | ||
H A D | ucsi.h | 133 #define UCSI_SET_PDR_ROLE(_r_) (((_r_) == TYPEC_SOURCE ? 1 : 2) << 23) macro |
H A D | ucsi.c | 1146 command |= UCSI_SET_PDR_ROLE(role); in ucsi_pr_swap() |