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()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(partner->dev.parent); in typec_unregister_partner()[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()
85 #define to_typec_port(_dev_) container_of(_dev_, struct typec_port, dev) macro