Home
last modified time | relevance | path

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

/linux-6.12.1/include/linux/usb/
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);
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-6.12.1/drivers/usb/typec/tcpm/
Dwcove.c246 static enum typec_cc_status wcove_to_typec_cc(unsigned int cc) in wcove_to_typec_cc()
268 static int wcove_get_cc(struct tcpc_dev *tcpc, enum typec_cc_status *cc1, in wcove_get_cc()
269 enum typec_cc_status *cc2) in wcove_get_cc()
290 static int wcove_set_cc(struct tcpc_dev *tcpc, enum typec_cc_status cc) in wcove_set_cc()
422 enum typec_cc_status cc) in wcove_start_toggling()
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 …]
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()
Dtcpm.c340 enum typec_cc_status cc_req;
341 enum typec_cc_status src_rp; /* work only if pd_supported == false */
343 enum typec_cc_status cc1;
344 enum typec_cc_status cc2;
855 static void tcpm_set_cc(struct tcpm_port *port, enum typec_cc_status cc) in tcpm_set_cc()
895 static enum typec_cc_status tcpm_rp_cc(struct tcpm_port *port) in tcpm_rp_cc()
1081 enum typec_cc_status cc; in tcpm_get_current_limit()
1454 enum typec_cc_status cc_req = port->cc_req; in tcpm_ams_start()
4216 static bool tcpm_start_toggling(struct tcpm_port *port, enum typec_cc_status cc) in tcpm_start_toggling()
4548 static enum typec_pwr_opmode tcpm_get_pwr_opmode(enum typec_cc_status cc) in tcpm_get_pwr_opmode()
[all …]
Dtcpci_rt1711h.c226 enum typec_cc_status cc) in rt1711h_start_drp_toggling()
Dtcpci_maxim_core.c439 enum typec_cc_status cc) in max_tcpci_start_toggling()
/linux-6.12.1/drivers/usb/typec/tcpm/qcom/
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()