Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/include/power/power_delivery/
H A 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,
290 struct typec_plug *typec_register_plug(struct typec_cable *cable,
292 void typec_unregister_plug(struct typec_plug *plug);
/OK3568_Linux_fs/kernel/include/linux/usb/
H A Dtypec.h19 struct typec_plug;
136 int typec_plug_set_num_altmodes(struct typec_plug *plug, int num_altmodes);
138 *typec_plug_register_altmode(struct typec_plug *plug,
293 struct typec_plug *typec_register_plug(struct typec_cable *cable,
295 void typec_unregister_plug(struct typec_plug *plug);
/OK3568_Linux_fs/kernel/drivers/usb/typec/
H A Dclass.c19 struct typec_plug { struct
71 #define to_typec_plug(_dev_) container_of(_dev_, struct typec_plug, dev)
312 struct typec_plug *plug = to_typec_plug(adev->dev.parent); in typec_altmode_set_partner()
331 struct typec_plug *plug = to_typec_plug(adev->dev.parent); in typec_altmode_put_partner()
676 struct typec_plug *plug; in number_of_alternate_modes_show()
917 struct typec_plug *plug = to_typec_plug(dev); in typec_plug_release()
930 struct typec_plug *plug = to_typec_plug(kobj_to_dev(kobj)); in typec_plug_attr_is_visible()
969 int typec_plug_set_num_altmodes(struct typec_plug *plug, int num_altmodes) in typec_plug_set_num_altmodes()
1000 typec_plug_register_altmode(struct typec_plug *plug, in typec_plug_register_altmode()
1018 struct typec_plug *typec_register_plug(struct typec_cable *cable, in typec_register_plug()
[all …]
/OK3568_Linux_fs/kernel/Documentation/driver-api/usb/
H A Dtypec.rst120 The class will provide a handle to struct typec_cable and struct typec_plug if