Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/drivers/usb/typec/
Dtps6598x.c97 struct typec_capability typec_cap;
311 tps6598x_dr_set(const struct typec_capability *cap, enum typec_data_role role) in tps6598x_dr_set()
342 tps6598x_pr_set(const struct typec_capability *cap, enum typec_role role) in tps6598x_pr_set()
Dclass.c55 const struct typec_capability *cap;
1530 const struct typec_capability *cap) in typec_register_port()
/Linux-v5.4/drivers/usb/typec/ucsi/
Ducsi.c717 ucsi_dr_swap(const struct typec_capability *cap, enum typec_data_role role) in ucsi_dr_swap()
752 ucsi_pr_swap(const struct typec_capability *cap, enum typec_role role) in ucsi_pr_swap()
805 struct typec_capability *cap = &con->typec_cap; in ucsi_register_port()
Ducsi.h423 struct typec_capability typec_cap;
/Linux-v5.4/Documentation/driver-api/usb/
Dtypec.rst63 typec_capability data structure, and register them with the following API:
68 When registering the ports, the prefer_role member in struct typec_capability
/Linux-v5.4/drivers/usb/typec/tcpm/
Dtcpm.c200 struct typec_capability typec_caps;
394 struct tcpm_port *typec_cap_to_tcpm(const struct typec_capability *cap) in typec_cap_to_tcpm()
3973 static int tcpm_dr_set(const struct typec_capability *cap, in tcpm_dr_set()
4041 static int tcpm_pr_set(const struct typec_capability *cap, in tcpm_pr_set()
4085 static int tcpm_vconn_set(const struct typec_capability *cap, in tcpm_vconn_set()
4125 static int tcpm_try_role(const struct typec_capability *cap, int role) in tcpm_try_role()
4334 static int tcpm_port_type_set(const struct typec_capability *cap, in tcpm_port_type_set()