Searched refs:to_typec_partner (Results 1 – 2 of 2) sorted by relevance
61 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()599 struct typec_partner *p = to_typec_partner(dev); in accessory_mode_show()609 struct typec_partner *p = to_typec_partner(dev); in supports_usb_power_delivery_show()623 partner = to_typec_partner(dev); in number_of_alternate_modes_show()647 struct typec_partner *partner = to_typec_partner(kobj_to_dev(kobj)); in typec_partner_attr_is_visible()673 struct typec_partner *partner = to_typec_partner(dev); in typec_partner_release()1506 struct typec_partner *partner = to_typec_partner(dev); in usb_power_delivery_revision_show()1650 if (to_typec_partner(partner_dev)->identity) in typec_set_data_role()[all …]
72 #define to_typec_partner(_dev_) container_of(_dev_, struct typec_partner, dev) macro