Searched defs:altmode (Results 1 – 5 of 5) sorted by relevance
11 struct altmode { struct13 struct typec_altmode adev; argument23 struct altmode *partner; argument24 struct altmode *plug[2]; argument29 #define to_altmode(d) container_of(d, struct altmode, adev) argument
55 struct altmode *altmode; in typec_altmode_notify() local173 struct altmode *altmode; in typec_altmode_vdm() local303 struct typec_altmode *altmode = to_typec_altmode(dev); in typec_match() local315 struct typec_altmode *altmode = to_typec_altmode(dev); in typec_uevent() local354 struct altmode *altmode = to_altmode(adev); in typec_probe() local378 struct altmode *altmode = to_altmode(adev); in typec_remove() local
161 static void typec_altmode_set_partner(struct altmode *altmode) in typec_altmode_set_partner()187 static void typec_altmode_put_partner(struct altmode *altmode) in typec_altmode_put_partner()225 struct altmode *altmode; in typec_altmode_register_notifier() local258 struct altmode *altmode = to_altmode(adev); in typec_altmode_unregister_notifier() local345 struct altmode *altmode = to_altmode(adev); in active_store() local
1028 struct typec_altmode *altmode; in tcpm_register_partner_altmodes() local1466 static int tcpm_altmode_enter(struct typec_altmode *altmode) in tcpm_altmode_enter()1482 static int tcpm_altmode_exit(struct typec_altmode *altmode) in tcpm_altmode_exit()1498 static int tcpm_altmode_vdm(struct typec_altmode *altmode, in tcpm_altmode_vdm()
37 static inline void typec_altmode_set_drvdata(struct typec_altmode *altmode, in typec_altmode_set_drvdata()43 static inline void *typec_altmode_get_drvdata(struct typec_altmode *altmode) in typec_altmode_get_drvdata()125 typec_altmode_get_orientation(struct typec_altmode *altmode) in typec_altmode_get_orientation()