Searched defs:altmode (Results 1 – 11 of 11) 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
1046 struct typec_altmode *altmode; in tcpm_register_partner_altmodes() local1494 static int tcpm_altmode_enter(struct typec_altmode *altmode) in tcpm_altmode_enter()1510 static int tcpm_altmode_exit(struct typec_altmode *altmode) in tcpm_altmode_exit()1526 static int tcpm_altmode_vdm(struct typec_altmode *altmode, in tcpm_altmode_vdm()
11 struct altmode { struct13 struct typec_altmode adev; argument23 struct altmode *partner; argument24 struct altmode *plug[2]; argument
59 struct altmode *altmode; in typec_altmode_notify() local179 struct altmode *altmode; in typec_altmode_vdm() local312 struct typec_altmode *altmode = to_typec_altmode(dev); in typec_match() local324 struct typec_altmode *altmode = to_typec_altmode(dev); in typec_uevent() local363 struct altmode *altmode = to_altmode(adev); in typec_probe() local387 struct altmode *altmode = to_altmode(adev); in typec_remove() local
163 static void typec_altmode_set_partner(struct altmode *altmode) in typec_altmode_set_partner()189 static void typec_altmode_put_partner(struct altmode *altmode) in typec_altmode_put_partner()289 struct altmode *altmode = to_altmode(adev); in active_store() local
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()
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()130 typec_altmode_get_orientation(struct typec_altmode *altmode) in typec_altmode_get_orientation()
194 const struct typec_altmode *altmode = NULL; in ucsi_altmode_update_active() local
1165 struct typec_altmode *altmode; in tcpm_register_partner_altmodes() local1649 static int tcpm_altmode_enter(struct typec_altmode *altmode, u32 *vdo) in tcpm_altmode_enter()1661 static int tcpm_altmode_exit(struct typec_altmode *altmode) in tcpm_altmode_exit()1673 static int tcpm_altmode_vdm(struct typec_altmode *altmode, in tcpm_altmode_vdm()