Searched refs:typec_role (Results 1 – 16 of 16) sorted by relevance
/openbmc/linux/include/linux/usb/ |
H A D | typec.h | 53 enum typec_role { enum 58 static inline int is_sink(enum typec_role role) in is_sink() 63 static inline int is_source(enum typec_role role) in is_source() 235 int (*pr_set)(struct typec_port *port, enum typec_role role); 236 int (*vconn_set)(struct typec_port *port, enum typec_role role); 307 void typec_set_pwr_role(struct typec_port *port, enum typec_role role); 308 void typec_set_vconn_role(struct typec_port *port, enum typec_role role);
|
H A D | tcpm.h | 141 enum typec_role role, enum typec_data_role data);
|
H A D | pd.h | 519 enum typec_role role;
|
/openbmc/linux/drivers/usb/typec/ |
H A D | class.h | 49 enum typec_role pwr_role; 50 enum typec_role vconn_role;
|
H A D | pd.h | 19 enum typec_role role;
|
H A 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()
|
H A D | class.c | 1607 ret = port->ops->vconn_set(port, (enum typec_role)source); in vconn_source_store() 1825 void typec_set_pwr_role(struct typec_port *port, enum typec_role role) in typec_set_pwr_role() 1844 void typec_set_vconn_role(struct typec_port *port, enum typec_role role) in typec_set_vconn_role()
|
H A D | stusb160x.c | 319 static enum typec_role stusb160x_get_vconn_role(u32 status) in stusb160x_get_vconn_role()
|
/openbmc/linux/drivers/usb/typec/ucsi/ |
H A D | ucsi.c | 596 enum typec_role role, int is_partner, in ucsi_read_pdos() 616 static int ucsi_get_pdos(struct ucsi_connector *con, enum typec_role role, in ucsi_get_pdos() 887 enum typec_role role; in ucsi_handle_connector_change() 1124 static int ucsi_pr_swap(struct typec_port *port, enum typec_role role) in ucsi_pr_swap() 1127 enum typec_role cur_role; in ucsi_pr_swap()
|
/openbmc/linux/drivers/usb/typec/tcpm/qcom/ |
H A D | qcom_pmic_typec.c | 121 enum typec_role power_role, in qcom_pmic_typec_set_roles()
|
/openbmc/linux/drivers/extcon/ |
H A D | extcon-usbc-tusb320.c | 284 enum typec_role pwr_role; in tusb320_typec_irq_handler()
|
/openbmc/linux/drivers/usb/typec/tcpm/ |
H A D | wcove.c | 331 enum typec_role role, enum typec_data_role data) in wcove_set_roles()
|
H A D | tcpm.c | 311 enum typec_role vconn_role; 312 enum typec_role pwr_role; 1045 enum typec_role role, enum typec_data_role data) in tcpm_set_roles() 1097 static int tcpm_set_pwr_role(struct tcpm_port *port, enum typec_role role) in tcpm_set_pwr_role() 1117 static u32 tcpm_forge_legacy_pdo(struct tcpm_port *port, u32 pdo, enum typec_role role) in tcpm_forge_legacy_pdo() 5709 static int tcpm_pr_set(struct typec_port *p, enum typec_role role) in tcpm_pr_set() 5758 static int tcpm_vconn_set(struct typec_port *p, enum typec_role role) in tcpm_vconn_set()
|
H A D | tcpci.c | 424 enum typec_role role, enum typec_data_role data) in tcpci_set_roles()
|
H A D | fusb302.c | 884 enum typec_role pwr, enum typec_data_role data) in tcpm_set_roles()
|
/openbmc/linux/drivers/usb/typec/tipd/ |
H A D | core.c | 379 static int tps6598x_pr_set(struct typec_port *port, enum typec_role role) in tps6598x_pr_set()
|