Searched refs:to_typec_partner (Results 1 – 2 of 2) sorted by relevance
63 struct typec_partner *partner = to_typec_partner(dev); in get_pd_identity()473 ids = &to_typec_partner(dev)->mode_ids; in altmode_id_get()487 ids = &to_typec_partner(dev)->mode_ids; in altmode_id_remove()598 struct typec_partner *p = to_typec_partner(dev); in accessory_mode_show()608 struct typec_partner *p = to_typec_partner(dev); in supports_usb_power_delivery_show()622 partner = to_typec_partner(dev); in number_of_alternate_modes_show()646 struct typec_partner *partner = to_typec_partner(kobj_to_dev(kobj)); in typec_partner_attr_is_visible()672 struct typec_partner *partner = to_typec_partner(dev); in typec_partner_release()1636 struct typec_partner *partner = to_typec_partner(dev); in usb_power_delivery_revision_show()1782 if (to_typec_partner(partner_dev)->identity) in typec_set_data_role()[all …]
67 #define to_typec_partner(_dev_) container_of(_dev_, struct typec_partner, dev) macro