Searched refs:to_typec_port (Results 1 – 3 of 3) sorted by relevance
76 struct typec_port *port = to_typec_port(dev->parent); in get_pd_product_type()324 return to_typec_port(alt->dev.parent->parent->parent); in typec_altmode2port()326 return to_typec_port(alt->dev.parent->parent); in typec_altmode2port()328 return to_typec_port(alt->dev.parent); in typec_altmode2port()495 ids = &to_typec_port(dev)->mode_ids; in altmode_id_get()509 ids = &to_typec_port(dev)->mode_ids; in altmode_id_remove()964 port = to_typec_port(partner->dev.parent); in typec_unregister_partner()1330 struct typec_port *port = to_typec_port(dev); in select_usb_power_delivery_store()1351 struct typec_port *port = to_typec_port(dev); in select_usb_power_delivery_show()1382 struct typec_port *port = to_typec_port(kobj_to_dev(kobj)); in port_attr_is_visible()[all …]
17 struct typec_port *port = to_typec_port(dev); in typec_aggregate_bind()24 struct typec_port *port = to_typec_port(dev); in typec_aggregate_unbind()
81 #define to_typec_port(_dev_) container_of(_dev_, struct typec_port, dev) macro