Home
last modified time | relevance | path

Searched refs:typec_capability (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/include/linux/usb/
Dtypec.h190 struct typec_capability { struct
202 int (*try_role)(const struct typec_capability *, argument
205 int (*dr_set)(const struct typec_capability *, argument
207 int (*pr_set)(const struct typec_capability *, argument
209 int (*vconn_set)(const struct typec_capability *, argument
211 int (*port_type_set)(const struct typec_capability *, argument
219 const struct typec_capability *cap);
/Linux-v4.19/drivers/usb/typec/
Dtps6598x.c81 struct typec_capability typec_cap;
281 tps6598x_dr_set(const struct typec_capability *cap, enum typec_data_role role) in tps6598x_dr_set()
312 tps6598x_pr_set(const struct typec_capability *cap, enum typec_role role) in tps6598x_pr_set()
Dtcpm.c198 struct typec_capability typec_caps;
388 struct tcpm_port *typec_cap_to_tcpm(const struct typec_capability *cap) in typec_cap_to_tcpm()
3920 static int tcpm_dr_set(const struct typec_capability *cap, in tcpm_dr_set()
3988 static int tcpm_pr_set(const struct typec_capability *cap, in tcpm_pr_set()
4032 static int tcpm_vconn_set(const struct typec_capability *cap, in tcpm_vconn_set()
4072 static int tcpm_try_role(const struct typec_capability *cap, int role) in tcpm_try_role()
4275 static int tcpm_port_type_set(const struct typec_capability *cap, in tcpm_port_type_set()
Dclass.c54 const struct typec_capability *cap;
1527 const struct typec_capability *cap) in typec_register_port()
/Linux-v4.19/drivers/usb/typec/ucsi/
Ducsi.c58 struct typec_capability typec_cap;
501 ucsi_dr_swap(const struct typec_capability *cap, enum typec_data_role role) in ucsi_dr_swap()
538 ucsi_pr_swap(const struct typec_capability *cap, enum typec_role role) in ucsi_pr_swap()
591 struct typec_capability *cap = &con->typec_cap; in ucsi_register_port()
/Linux-v4.19/Documentation/driver-api/usb/
Dtypec.rst62 typec_capability data structure, and register them with the following API:
67 When registering the ports, the prefer_role member in struct typec_capability