Searched refs:typec_cc_status (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/include/linux/usb/ |
D | tcpm.h | 13 enum typec_cc_status { enum 124 int (*set_cc)(struct tcpc_dev *dev, enum typec_cc_status cc); 125 int (*apply_rc)(struct tcpc_dev *dev, enum typec_cc_status cc, 127 int (*get_cc)(struct tcpc_dev *dev, enum typec_cc_status *cc1, 128 enum typec_cc_status *cc2); 139 enum typec_cc_status cc);
|
D | tcpci.h | 202 enum typec_cc_status cc); 216 static inline enum typec_cc_status tcpci_to_typec_cc(unsigned int cc, bool sink) in tcpci_to_typec_cc()
|
/linux-6.1.9/drivers/usb/typec/tcpm/ |
D | wcove.c | 246 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()
|
D | tcpci.c | 69 static int tcpci_set_cc(struct tcpc_dev *tcpc, enum typec_cc_status cc) in tcpci_set_cc() 142 static int tcpci_apply_rc(struct tcpc_dev *tcpc, enum typec_cc_status cc, in tcpci_apply_rc() 171 enum typec_cc_status cc) in tcpci_start_toggling() 217 enum typec_cc_status *cc1, enum typec_cc_status *cc2) in tcpci_get_cc() 249 enum typec_cc_status cc1, cc2; in tcpci_set_polarity()
|
D | fusb302.c | 108 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 …]
|
D | tcpm.c | 318 enum typec_cc_status cc_req; 319 enum typec_cc_status src_rp; /* work only if pd_supported == false */ 321 enum typec_cc_status cc1; 322 enum typec_cc_status cc2; 785 static void tcpm_set_cc(struct tcpm_port *port, enum typec_cc_status cc) in tcpm_set_cc() 825 static enum typec_cc_status tcpm_rp_cc(struct tcpm_port *port) in tcpm_rp_cc() 990 enum typec_cc_status cc; in tcpm_get_current_limit() 1357 enum typec_cc_status cc_req = port->cc_req; in tcpm_ams_start() 3569 static bool tcpm_start_toggling(struct tcpm_port *port, enum typec_cc_status cc) in tcpm_start_toggling() 3873 static enum typec_pwr_opmode tcpm_get_pwr_opmode(enum typec_cc_status cc) in tcpm_get_pwr_opmode() [all …]
|
D | tcpci_rt1711h.c | 223 enum typec_cc_status cc) in rt1711h_start_drp_toggling()
|
D | tcpci_maxim.c | 423 enum typec_cc_status cc) in max_tcpci_start_toggling()
|