Searched refs:to_typec_port (Results 1 – 3 of 3) sorted by relevance
77 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()477 struct typec_port *port = to_typec_port(alt->dev.parent); in typec_mode_set_priority()587 ids = &to_typec_port(dev)->mode_ids; in altmode_id_get()601 ids = &to_typec_port(dev)->mode_ids; in altmode_id_remove()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()932 if (to_typec_port(dev->parent)->data_role == TYPEC_HOST) { in typec_partner_set_identity()[all …]
18 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()
88 #define to_typec_port(_dev_) container_of(_dev_, struct typec_port, dev) macro