Home
last modified time | relevance | path

Searched refs:typec_port (Results 1 – 14 of 14) sorted by relevance

/linux-5.19.10/include/linux/usb/
Dtypec.h19 struct typec_port;
140 *typec_port_register_altmode(struct typec_port *port,
143 void typec_port_register_altmodes(struct typec_port *port,
149 struct typec_port *typec_altmode2port(struct typec_altmode *alt);
218 int (*try_role)(struct typec_port *port, int role);
219 int (*dr_set)(struct typec_port *port, enum typec_data_role role);
220 int (*pr_set)(struct typec_port *port, enum typec_role role);
221 int (*vconn_set)(struct typec_port *port, enum typec_role role);
222 int (*port_type_set)(struct typec_port *port,
266 struct typec_port *typec_register_port(struct device *parent,
[all …]
/linux-5.19.10/drivers/usb/typec/
Dclass.h38 struct typec_port { struct
59 #define to_typec_port(_dev_) container_of(_dev_, struct typec_port, dev) argument
78 int typec_link_ports(struct typec_port *connector);
79 void typec_unlink_ports(struct typec_port *connector);
81 static inline int typec_link_ports(struct typec_port *connector) { return 0; } in typec_link_ports()
82 static inline void typec_unlink_ports(struct typec_port *connector) { } in typec_unlink_ports()
Dclass.c74 struct typec_port *port = to_typec_port(dev->parent); in get_pd_product_type()
238 struct typec_port *port = typec_altmode2port(adev); in typec_altmode_set_partner()
317 struct typec_port *typec_altmode2port(struct typec_altmode *alt) in typec_altmode2port()
798 struct typec_partner *typec_register_partner(struct typec_port *port, in typec_register_partner()
1057 struct typec_cable *typec_cable_get(struct typec_port *port) in typec_cable_get()
1118 struct typec_cable *typec_register_cable(struct typec_port *port, in typec_register_cable()
1211 struct typec_port *port = to_typec_port(dev); in preferred_role_store()
1245 struct typec_port *port = to_typec_port(dev); in preferred_role_show()
1261 struct typec_port *port = to_typec_port(dev); in data_role_store()
1292 struct typec_port *port = to_typec_port(dev); in data_role_show()
[all …]
Dport-mapper.c30 struct typec_port *port;
55 int typec_link_ports(struct typec_port *con) in typec_link_ports()
80 void typec_unlink_ports(struct typec_port *con) in typec_unlink_ports()
Dwusb3801.c90 struct typec_port *port;
181 static int wusb3801_try_role(struct typec_port *port, int role) in wusb3801_try_role()
190 static int wusb3801_port_type_set(struct typec_port *port, in wusb3801_port_type_set()
222 struct typec_port *port = wusb3801->port; in wusb3801_hw_update()
Dhd3ss3220.c39 struct typec_port *port;
75 static int hd3ss3220_dr_set(struct typec_port *port, enum typec_data_role role) in hd3ss3220_dr_set()
Dqcom-pmic-typec.c39 struct typec_port *port;
Drt1719.c88 struct typec_port *port;
399 static int rt1719_dr_set(struct typec_port *port, enum typec_data_role role) in rt1719_dr_set()
Dstusb160x.c155 struct typec_port *port;
/linux-5.19.10/drivers/usb/typec/tcpm/
Dtcpm.c304 struct typec_port *typec_port; member
936 ret = typec_set_orientation(port->typec_port, orientation); in tcpm_mux_set()
946 return typec_set_mode(port->typec_port, state); in tcpm_mux_set()
974 typec_set_vconn_role(port->typec_port, port->vconn_role); in tcpm_set_vconn()
1074 typec_set_data_role(port->typec_port, data); in tcpm_set_roles()
1075 typec_set_pwr_role(port->typec_port, role); in tcpm_set_roles()
1090 typec_set_pwr_role(port->typec_port, role); in tcpm_set_pwr_role()
1558 struct typec_port *typec = port->typec_port; in tcpm_pd_svdm()
1833 port->typec_port); in tcpm_handle_vdm_request()
1867 int svdm_version = typec_get_negotiated_svdm_version(port->typec_port); in tcpm_send_vdm()
[all …]
/linux-5.19.10/drivers/usb/typec/tipd/
Dcore.c87 struct typec_port *port;
351 static int tps6598x_dr_set(struct typec_port *port, enum typec_data_role role) in tps6598x_dr_set()
381 static int tps6598x_pr_set(struct typec_port *port, enum typec_role role) in tps6598x_pr_set()
/linux-5.19.10/drivers/platform/chrome/
Dcros_ec_typec.c43 struct typec_port *port;
600 struct typec_port *port = typec->ports[port_num]->port; in cros_typec_set_port_params_v0()
617 struct typec_port *port = typec->ports[port_num]->port; in cros_typec_set_port_params_v1()
/linux-5.19.10/drivers/usb/typec/ucsi/
Ducsi.h325 struct typec_port *port;
Ducsi.c935 static int ucsi_dr_swap(struct typec_port *port, enum typec_data_role role) in ucsi_dr_swap()
979 static int ucsi_pr_swap(struct typec_port *port, enum typec_role role) in ucsi_pr_swap()