Searched refs:typec_cable (Results 1 – 3 of 3) sorted by relevance
17 struct typec_cable;109 int typec_cable_set_identity(struct typec_cable *cable);247 struct typec_cable *typec_register_cable(struct typec_port *port,249 void typec_unregister_cable(struct typec_cable *cable);251 struct typec_cable *typec_cable_get(struct typec_port *port);252 void typec_cable_put(struct typec_cable *cable);253 int typec_cable_is_active(struct typec_cable *cable);255 struct typec_plug *typec_register_plug(struct typec_cable *cable,
23 struct typec_cable { struct61 #define to_typec_cable(_dev_) container_of(_dev_, struct typec_cable, dev)91 struct typec_cable *cable = to_typec_cable(dev); in get_pd_identity()701 struct typec_plug *typec_register_plug(struct typec_cable *cable, in typec_register_plug()750 struct typec_cable *cable = to_typec_cable(dev); in type_show()767 struct typec_cable *cable = to_typec_cable(dev); in plug_type_show()778 ATTRIBUTE_GROUPS(typec_cable);782 struct typec_cable *cable = to_typec_cable(dev); in typec_cable_release()805 struct typec_cable *typec_cable_get(struct typec_port *port) in typec_cable_get()821 void typec_cable_put(struct typec_cable *cable) in typec_cable_put()[all …]
120 The class will provide a handle to struct typec_cable and struct typec_plug if