Home
last modified time | relevance | path

Searched refs:typec_altmode2port (Results 1 – 4 of 4) sorted by relevance

/linux/include/linux/usb/
H A Dtypec_altmode.h115 return typec_get_cable_svdm_version(typec_altmode2port(altmode)); in typec_altmode_get_cable_svdm_version()
172 return typec_get_orientation(typec_altmode2port(altmode)); in typec_altmode_get_orientation()
182 return typec_get_negotiated_svdm_version(typec_altmode2port(altmode)); in typec_altmode_get_svdm_version()
195 return typec_get_data_role(typec_altmode2port(altmode)); in typec_altmode_get_data_role()
H A Dtypec.h183 struct typec_port *typec_altmode2port(struct typec_altmode *alt);
/linux/drivers/usb/typec/altmodes/
H A Dthunderbolt.c325 tbt->cable = typec_cable_get(typec_altmode2port(tbt->alt)); in tbt_ready()
/linux/drivers/usb/typec/
H A Dclass.c248 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() function
340 EXPORT_SYMBOL_GPL(typec_altmode2port);
537 struct typec_port *port = typec_altmode2port(adev); in typec_altmode_attr_is_visible()