Home
last modified time | relevance | path

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

/drivers/usb/typec/
Dclass.h70 #define to_typec_plug(_dev_) container_of(_dev_, struct typec_plug, dev) macro
Dclass.c252 struct typec_plug *plug = to_typec_plug(adev->dev.parent); in typec_altmode_set_partner()
273 struct typec_plug *plug = to_typec_plug(adev->dev.parent); in typec_altmode_put_partner()
475 ids = &to_typec_plug(dev)->mode_ids; in altmode_id_get()
489 ids = &to_typec_plug(dev)->mode_ids; in altmode_id_remove()
626 plug = to_typec_plug(dev); in number_of_alternate_modes_show()
861 struct typec_plug *plug = to_typec_plug(dev); in typec_plug_release()
874 struct typec_plug *plug = to_typec_plug(kobj_to_dev(kobj)); in typec_plug_attr_is_visible()