Home
last modified time | relevance | path

Searched defs:altmode (Results 1 – 6 of 6) sorted by relevance

/linux-5.10/drivers/usb/typec/
Dbus.h11 struct altmode { struct
13 struct typec_altmode adev; argument
23 struct altmode *partner; argument
24 struct altmode *plug[2]; argument
Dbus.c59 struct altmode *altmode; in typec_altmode_notify() local
179 struct altmode *altmode; in typec_altmode_vdm() local
312 struct typec_altmode *altmode = to_typec_altmode(dev); in typec_match() local
324 struct typec_altmode *altmode = to_typec_altmode(dev); in typec_uevent() local
363 struct altmode *altmode = to_altmode(adev); in typec_probe() local
387 struct altmode *altmode = to_altmode(adev); in typec_remove() local
Dclass.c163 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
/linux-5.10/include/linux/usb/
Dtypec_altmode.h37 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()
/linux-5.10/drivers/usb/typec/ucsi/
Ducsi.c194 const struct typec_altmode *altmode = NULL; in ucsi_altmode_update_active() local
/linux-5.10/drivers/usb/typec/tcpm/
Dtcpm.c1146 struct typec_altmode *altmode; in tcpm_register_partner_altmodes() local
1630 static int tcpm_altmode_enter(struct typec_altmode *altmode, u32 *vdo) in tcpm_altmode_enter()
1642 static int tcpm_altmode_exit(struct typec_altmode *altmode) in tcpm_altmode_exit()
1654 static int tcpm_altmode_vdm(struct typec_altmode *altmode, in tcpm_altmode_vdm()