Searched refs:to_typec_plug (Results 1 – 2 of 2) sorted by relevance
60 #define to_typec_plug(_dev_) container_of(_dev_, struct typec_plug, dev) macro
252 struct typec_plug *plug = to_typec_plug(adev->dev.parent); in typec_altmode_set_partner()271 struct typec_plug *plug = to_typec_plug(adev->dev.parent); in typec_altmode_put_partner()473 ids = &to_typec_plug(dev)->mode_ids; in altmode_id_get()487 ids = &to_typec_plug(dev)->mode_ids; in altmode_id_remove()623 plug = to_typec_plug(dev); in number_of_alternate_modes_show()858 struct typec_plug *plug = to_typec_plug(dev); in typec_plug_release()871 struct typec_plug *plug = to_typec_plug(kobj_to_dev(kobj)); in typec_plug_attr_is_visible()