Home
last modified time | relevance | path

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

/linux/drivers/usb/typec/
H A Dport-mapper.c18 struct typec_port *port = to_typec_port(dev); in typec_aggregate_bind()
25 struct typec_port *port = to_typec_port(dev); in typec_aggregate_unbind()
36 struct typec_port *port;
79 int typec_link_ports(struct typec_port *con) in typec_link_ports()
104 void typec_unlink_ports(struct typec_port *con) in typec_unlink_ports()
H A Dclass.c77 struct typec_port *port = to_typec_port(dev->parent); in get_pd_product_type()
248 struct typec_port *port = typec_altmode2port(adev); in typec_altmode_set_partner()
329 struct typec_port *typec_altmode2port(struct typec_altmode *alt) in typec_altmode2port()
477 struct typec_port *port = to_typec_port(alt->dev.parent); in typec_mode_set_priority()
537 struct typec_port *port = typec_altmode2port(adev); in typec_altmode_attr_is_visible()
765 struct typec_port *port = to_typec_port(dev->parent); in usb_mode_store()
843 struct typec_port *port = to_typec_port(partner->dev.parent); in typec_partner_attr_is_visible()
1106 struct typec_partner *typec_register_partner(struct typec_port *port, in typec_register_partner()
1176 struct typec_port *port; in typec_unregister_partner()
1397 struct typec_cable *typec_cable_get(struct typec_port *port) in typec_cable_get()
[all …]
H A 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()
H A Drt1719.c88 struct typec_port *port;
393 static int rt1719_dr_set(struct typec_port *port, enum typec_data_role role) in rt1719_dr_set()
H A Danx7411.c247 struct typec_port *port;
/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c437 struct typec_port *typec_port; member
1194 ret = typec_set_orientation(port->typec_port, orientation); in tcpm_mux_set()
1204 return typec_set_mode(port->typec_port, state); in tcpm_mux_set()
1232 typec_set_vconn_role(port->typec_port, port->vconn_role); in tcpm_set_vconn()
1338 typec_set_data_role(port->typec_port, data); in tcpm_set_roles()
1339 typec_set_pwr_role(port->typec_port, role); in tcpm_set_roles()
1354 typec_set_pwr_role(port->typec_port, role); in tcpm_set_pwr_role()
1913 port->cable = typec_register_cable(port->typec_port, &port->cable_desc); in svdm_consume_identity_sop_prime()
2156 struct typec_port *typec = port->typec_port; in tcpm_pd_svdm()
2318 (typec_get_cable_svdm_version(port->typec_port) > in tcpm_pd_svdm()
[all …]
/linux/drivers/extcon/
H A Dextcon-usbc-tusb320.c80 struct typec_port *port;
234 static int tusb320_port_type_set(struct typec_port *port, in tusb320_port_type_set()
281 struct typec_port *port = priv->port; in tusb320_typec_irq_handler()
H A Dextcon-rtk-type-c.c101 struct typec_port *port;
699 static int type_c_port_dr_set(struct typec_port *port, in type_c_port_dr_set()
/linux/drivers/usb/typec/ucsi/
H A Ducsi.c1515 static int ucsi_dr_swap(struct typec_port *port, enum typec_data_role role) in ucsi_dr_swap()
1559 static int ucsi_pr_swap(struct typec_port *port, enum typec_role role) in ucsi_pr_swap()