Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/usb/
Dtypec.h17 struct typec_cable;
122 int typec_cable_set_identity(struct typec_cable *cable);
293 struct typec_cable *typec_register_cable(struct typec_port *port,
295 void typec_unregister_cable(struct typec_cable *cable);
297 struct typec_cable *typec_cable_get(struct typec_port *port);
298 void typec_cable_put(struct typec_cable *cable);
299 int typec_cable_is_active(struct typec_cable *cable);
301 struct typec_plug *typec_register_plug(struct typec_cable *cable,
/linux-6.1.9/drivers/usb/typec/
Dclass.h19 struct typec_cable { struct
66 #define to_typec_cable(_dev_) container_of(_dev_, struct typec_cable, dev)
Dclass.c67 struct typec_cable *cable = to_typec_cable(dev); in get_pd_identity()
995 struct typec_plug *typec_register_plug(struct typec_cable *cable, in typec_register_plug()
1053 struct typec_cable *cable = to_typec_cable(dev); in plug_type_show()
1065 ATTRIBUTE_GROUPS(typec_cable);
1069 struct typec_cable *cable = to_typec_cable(dev); in typec_cable_release()
1092 struct typec_cable *typec_cable_get(struct typec_port *port) in typec_cable_get()
1108 void typec_cable_put(struct typec_cable *cable) in typec_cable_put()
1120 int typec_cable_is_active(struct typec_cable *cable) in typec_cable_is_active()
1133 int typec_cable_set_identity(struct typec_cable *cable) in typec_cable_set_identity()
1153 struct typec_cable *typec_register_cable(struct typec_port *port, in typec_register_cable()
[all …]
/linux-6.1.9/Documentation/driver-api/usb/
Dtypec.rst120 The class will provide a handle to struct typec_cable and struct typec_plug if
/linux-6.1.9/drivers/platform/chrome/
Dcros_ec_typec.c51 struct typec_cable *cable;