Searched refs:typec_role (Results 1 – 17 of 17) sorted by relevance
/linux-6.12.1/include/linux/usb/ |
D | typec.h | 54 enum typec_role { enum 59 static inline int is_sink(enum typec_role role) in is_sink() 64 static inline int is_source(enum typec_role role) in is_source() 247 int (*pr_set)(struct typec_port *port, enum typec_role role); 248 int (*vconn_set)(struct typec_port *port, enum typec_role role); 319 void typec_set_pwr_role(struct typec_port *port, enum typec_role role); 320 void typec_set_vconn_role(struct typec_port *port, enum typec_role role);
|
D | tcpm.h | 154 enum typec_role role, enum typec_data_role data);
|
D | pd.h | 521 enum typec_role role;
|
/linux-6.12.1/drivers/usb/typec/ |
D | class.h | 54 enum typec_role pwr_role; 55 enum typec_role vconn_role;
|
D | pd.h | 19 enum typec_role role;
|
D | wusb3801.c | 99 static enum typec_role wusb3801_get_default_role(struct wusb3801 *wusb3801) in wusb3801_get_default_role() 253 enum typec_role pwr_role = wusb3801_get_default_role(wusb3801); in wusb3801_hw_update()
|
D | class.c | 1669 ret = port->ops->vconn_set(port, (enum typec_role)source); in vconn_source_store() 1931 void typec_set_pwr_role(struct typec_port *port, enum typec_role role) in typec_set_pwr_role() 1950 void typec_set_vconn_role(struct typec_port *port, enum typec_role role) in typec_set_vconn_role()
|
D | stusb160x.c | 319 static enum typec_role stusb160x_get_vconn_role(u32 status) in stusb160x_get_vconn_role()
|
/linux-6.12.1/drivers/usb/typec/tcpm/qcom/ |
D | qcom_pmic_typec_pdphy_stub.c | 47 enum typec_role power_role, in qcom_pmic_typec_pdphy_stub_set_roles()
|
D | qcom_pmic_typec_pdphy.c | 427 enum typec_role power_role, in qcom_pmic_typec_pdphy_set_roles()
|
/linux-6.12.1/drivers/usb/typec/ucsi/ |
D | ucsi.c | 652 enum typec_role role, int is_partner, in ucsi_read_pdos() 678 static int ucsi_get_pdos(struct ucsi_connector *con, enum typec_role role, in ucsi_get_pdos() 722 enum typec_role role, in ucsi_get_pd_caps() 1196 enum typec_role role; in ucsi_handle_connector_change() 1460 static int ucsi_pr_swap(struct typec_port *port, enum typec_role role) in ucsi_pr_swap() 1463 enum typec_role cur_role; in ucsi_pr_swap()
|
/linux-6.12.1/drivers/extcon/ |
D | extcon-usbc-tusb320.c | 285 enum typec_role pwr_role; in tusb320_typec_irq_handler()
|
/linux-6.12.1/drivers/usb/typec/tcpm/ |
D | wcove.c | 331 enum typec_role role, enum typec_data_role data) in wcove_set_roles()
|
D | tcpm.c | 325 enum typec_role vconn_role; 326 enum typec_role pwr_role; 1127 enum typec_role role, enum typec_data_role data) in tcpm_set_roles() 1185 static int tcpm_set_pwr_role(struct tcpm_port *port, enum typec_role role) in tcpm_set_pwr_role() 1205 static u32 tcpm_forge_legacy_pdo(struct tcpm_port *port, u32 pdo, enum typec_role role) in tcpm_forge_legacy_pdo() 6513 static int tcpm_pr_set(struct typec_port *p, enum typec_role role) in tcpm_pr_set() 6562 static int tcpm_vconn_set(struct typec_port *p, enum typec_role role) in tcpm_vconn_set()
|
D | tcpci.c | 453 enum typec_role role, enum typec_data_role data) in tcpci_set_roles()
|
D | fusb302.c | 884 enum typec_role pwr, enum typec_data_role data) in tcpm_set_roles()
|
/linux-6.12.1/drivers/usb/typec/tipd/ |
D | core.c | 432 static int tps6598x_pr_set(struct typec_port *port, enum typec_role role) in tps6598x_pr_set()
|