Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/typec/tcpm/
H A Dtcpci_rt1711h.c191 cc1 = tcpci_to_typec_cc((status >> TCPC_CC_STATUS_CC1_SHIFT) & in rt1711h_init_cc_params()
195 cc2 = tcpci_to_typec_cc((status >> TCPC_CC_STATUS_CC2_SHIFT) & in rt1711h_init_cc_params()
H A Dtcpci.c232 *cc1 = tcpci_to_typec_cc((reg >> TCPC_CC_STATUS_CC1_SHIFT) & in tcpci_get_cc()
236 *cc2 = tcpci_to_typec_cc((reg >> TCPC_CC_STATUS_CC2_SHIFT) & in tcpci_get_cc()
/openbmc/linux/include/linux/usb/
H A Dtcpci.h224 static inline enum typec_cc_status tcpci_to_typec_cc(unsigned int cc, bool sink) in tcpci_to_typec_cc() function