Home
last modified time | relevance | path

Searched refs:to_typec_partner (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/usb/typec/
H A Dclass.c63 struct typec_partner *partner = to_typec_partner(dev); in get_pd_identity()
491 ids = &to_typec_partner(dev)->mode_ids; in altmode_id_get()
505 ids = &to_typec_partner(dev)->mode_ids; in altmode_id_remove()
621 struct typec_partner *p = to_typec_partner(dev); in accessory_mode_show()
631 struct typec_partner *p = to_typec_partner(dev); in supports_usb_power_delivery_show()
645 partner = to_typec_partner(dev); in number_of_alternate_modes_show()
669 struct typec_partner *partner = to_typec_partner(kobj_to_dev(kobj)); in typec_partner_attr_is_visible()
695 struct typec_partner *partner = to_typec_partner(dev); in typec_partner_release()
1727 struct typec_partner *partner = to_typec_partner(dev); in usb_power_delivery_revision_show()
1859 return to_typec_partner(dev); in typec_get_partner()
[all …]
H A Dclass.h84 #define to_typec_partner(_dev_) container_of(_dev_, struct typec_partner, dev) macro