Home
last modified time | relevance | path

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

/linux-5.19.10/include/linux/usb/
Dtypec.h17 struct typec_cable;
110 int typec_cable_set_identity(struct typec_cable *cable);
274 struct typec_cable *typec_register_cable(struct typec_port *port,
276 void typec_unregister_cable(struct typec_cable *cable);
278 struct typec_cable *typec_cable_get(struct typec_port *port);
279 void typec_cable_put(struct typec_cable *cable);
280 int typec_cable_is_active(struct typec_cable *cable);
282 struct typec_plug *typec_register_plug(struct typec_cable *cable,
/linux-5.19.10/drivers/usb/typec/
Dclass.h19 struct typec_cable { struct
61 #define to_typec_cable(_dev_) container_of(_dev_, struct typec_cable, dev)
Dclass.c65 struct typec_cable *cable = to_typec_cable(dev); in get_pd_identity()
960 struct typec_plug *typec_register_plug(struct typec_cable *cable, in typec_register_plug()
1018 struct typec_cable *cable = to_typec_cable(dev); in plug_type_show()
1030 ATTRIBUTE_GROUPS(typec_cable);
1034 struct typec_cable *cable = to_typec_cable(dev); in typec_cable_release()
1057 struct typec_cable *typec_cable_get(struct typec_port *port) in typec_cable_get()
1073 void typec_cable_put(struct typec_cable *cable) in typec_cable_put()
1085 int typec_cable_is_active(struct typec_cable *cable) in typec_cable_is_active()
1098 int typec_cable_set_identity(struct typec_cable *cable) in typec_cable_set_identity()
1118 struct typec_cable *typec_register_cable(struct typec_port *port, in typec_register_cable()
[all …]
/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.c47 struct typec_cable *cable;