Home
last modified time | relevance | path

Searched refs:to_typec_port (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/usb/typec/
H A Dclass.c77 struct typec_port *port = to_typec_port(dev->parent); in get_pd_product_type()
332 return to_typec_port(alt->dev.parent->parent->parent); in typec_altmode2port()
334 return to_typec_port(alt->dev.parent->parent); in typec_altmode2port()
336 return to_typec_port(alt->dev.parent); in typec_altmode2port()
504 ids = &to_typec_port(dev)->mode_ids; in altmode_id_get()
518 ids = &to_typec_port(dev)->mode_ids; in altmode_id_remove()
671 struct typec_port *port = to_typec_port(dev->parent); in usb_mode_store()
749 struct typec_port *port = to_typec_port(partner->dev.parent); in typec_partner_attr_is_visible()
838 if (to_typec_port(dev->parent)->data_role == TYPEC_HOST) { in typec_partner_set_identity()
1087 port = to_typec_port(partne in typec_unregister_partner()
[all...]
H A Dclass.h85 #define to_typec_port(_dev_) container_of(_dev_, struct typec_port, dev) macro