Home
last modified time | relevance | path

Searched refs:typec_plug (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/include/linux/usb/
Dtypec.h18 struct typec_plug;
135 int typec_plug_set_num_altmodes(struct typec_plug *plug, int num_altmodes);
137 *typec_plug_register_altmode(struct typec_plug *plug,
282 struct typec_plug *typec_register_plug(struct typec_cable *cable,
284 void typec_unregister_plug(struct typec_plug *plug);
/linux-5.19.10/drivers/usb/typec/
Dclass.h12 struct typec_plug { struct
60 #define to_typec_plug(_dev_) container_of(_dev_, struct typec_plug, dev)
Dclass.c252 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()
616 struct typec_plug *plug; 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()
910 int typec_plug_set_num_altmodes(struct typec_plug *plug, int num_altmodes) in typec_plug_set_num_altmodes()
942 typec_plug_register_altmode(struct typec_plug *plug, in typec_plug_register_altmode()
960 struct typec_plug *typec_register_plug(struct typec_cable *cable, in typec_register_plug()
963 struct typec_plug *plug; in typec_register_plug()
998 void typec_unregister_plug(struct typec_plug *plug) in typec_unregister_plug()
/linux-5.19.10/Documentation/driver-api/usb/
Dtypec.rst120 The class will provide a handle to struct typec_cable and struct typec_plug if
/linux-5.19.10/drivers/platform/chrome/
Dcros_ec_typec.c49 struct typec_plug *plug;