Home
last modified time | relevance | path

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

/linux/include/linux/usb/
H A Dtcpm.h13 enum typec_cc_status { enum
140 int (*set_cc)(struct tcpc_dev *dev, enum typec_cc_status cc);
141 int (*apply_rc)(struct tcpc_dev *dev, enum typec_cc_status cc,
143 int (*get_cc)(struct tcpc_dev *dev, enum typec_cc_status *cc1,
144 enum typec_cc_status *cc2);
157 enum typec_cc_status cc);
H A Dtcpci.h223 enum typec_cc_status cc);
239 static inline enum typec_cc_status tcpci_to_typec_cc(unsigned int cc, bool sink) in tcpci_to_typec_cc()
/linux/drivers/usb/typec/tcpm/
H A Dfusb302.c108 enum typec_cc_status cc1;
109 enum typec_cc_status cc2;
597 static int tcpm_set_cc(struct tcpc_dev *dev, enum typec_cc_status cc) in tcpm_set_cc()
703 static int tcpm_get_cc(struct tcpc_dev *dev, enum typec_cc_status *cc1, in tcpm_get_cc()
704 enum typec_cc_status *cc2) in tcpm_get_cc()
916 enum typec_cc_status cc) in tcpm_start_toggling()
1059 static enum typec_cc_status fusb302_bc_lvl_to_cc(u8 bc_lvl) in fusb302_bc_lvl_to_cc()
1077 enum typec_cc_status cc_status; in fusb302_bc_lvl_handler_work()
1187 enum typec_cc_status cc_status_active, cc1, cc2; in fusb302_handle_togdone_snk()
1245 enum typec_cc_status *cc) in fusb302_get_src_cc_status()
[all …]
H A Dtcpci.c83 static int tcpci_set_cc(struct tcpc_dev *tcpc, enum typec_cc_status cc) in tcpci_set_cc()
156 static int tcpci_apply_rc(struct tcpc_dev *tcpc, enum typec_cc_status cc, in tcpci_apply_rc()
181 enum typec_cc_status cc) in tcpci_start_toggling()
227 enum typec_cc_status *cc1, enum typec_cc_status *cc2) in tcpci_get_cc()
257 enum typec_cc_status cc1, cc2; in tcpci_set_polarity()
H A Dtcpci_rt1711h.c226 enum typec_cc_status cc) in rt1711h_start_drp_toggling()
H A Dtcpci_maxim_core.c439 enum typec_cc_status cc) in max_tcpci_start_toggling()
/linux/drivers/usb/typec/tcpm/qcom/
H A Dqcom_pmic_typec_port.c196 static const char *cc_to_name(enum typec_cc_status cc) in cc_to_name()
361 enum typec_cc_status *cc1, in qcom_pmic_typec_port_get_cc()
362 enum typec_cc_status *cc2) in qcom_pmic_typec_port_get_cc()
458 enum typec_cc_status cc) in qcom_pmic_typec_port_set_cc()
572 enum typec_cc_status cc) in qcom_pmic_typec_port_start_toggling()