Home
last modified time | relevance | path

Searched refs:typec_role (Results 1 – 12 of 12) sorted by relevance

/linux-5.19.10/include/linux/usb/
Dtypec.h50 enum typec_role { enum
220 int (*pr_set)(struct typec_port *port, enum typec_role role);
221 int (*vconn_set)(struct typec_port *port, enum typec_role role);
287 void typec_set_pwr_role(struct typec_port *port, enum typec_role role);
288 void typec_set_vconn_role(struct typec_port *port, enum typec_role role);
Dtcpm.h136 enum typec_role role, enum typec_data_role data);
/linux-5.19.10/drivers/usb/typec/
Dclass.h45 enum typec_role pwr_role;
46 enum typec_role vconn_role;
Dwusb3801.c99 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()
Dclass.c1445 ret = port->ops->vconn_set(port, (enum typec_role)source); in vconn_source_store()
1661 void typec_set_pwr_role(struct typec_port *port, enum typec_role role) in typec_set_pwr_role()
1680 void typec_set_vconn_role(struct typec_port *port, enum typec_role role) in typec_set_vconn_role()
Dstusb160x.c319 static enum typec_role stusb160x_get_vconn_role(u32 status) in stusb160x_get_vconn_role()
/linux-5.19.10/drivers/usb/typec/ucsi/
Ducsi.c777 enum typec_role role; in ucsi_handle_connector_change()
979 static int ucsi_pr_swap(struct typec_port *port, enum typec_role role) in ucsi_pr_swap()
982 enum typec_role cur_role; in ucsi_pr_swap()
/linux-5.19.10/drivers/usb/typec/tcpm/
Dwcove.c331 enum typec_role role, enum typec_data_role data) in wcove_set_roles()
Dtcpm.c309 enum typec_role vconn_role;
310 enum typec_role pwr_role;
1028 enum typec_role role, enum typec_data_role data) in tcpm_set_roles()
1080 static int tcpm_set_pwr_role(struct tcpm_port *port, enum typec_role role) in tcpm_set_pwr_role()
1100 static u32 tcpm_forge_legacy_pdo(struct tcpm_port *port, u32 pdo, enum typec_role role) in tcpm_forge_legacy_pdo()
5543 static int tcpm_pr_set(struct typec_port *p, enum typec_role role) in tcpm_pr_set()
5592 static int tcpm_vconn_set(struct typec_port *p, enum typec_role role) in tcpm_vconn_set()
Dtcpci.c438 enum typec_role role, enum typec_data_role data) in tcpci_set_roles()
Dfusb302.c884 enum typec_role pwr, enum typec_data_role data) in tcpm_set_roles()
/linux-5.19.10/drivers/usb/typec/tipd/
Dcore.c381 static int tps6598x_pr_set(struct typec_port *port, enum typec_role role) in tps6598x_pr_set()