Home
last modified time | relevance | path

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

/Linux-v6.1/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.c61 struct altmode *altmode; in typec_altmode_notify() local
181 struct altmode *altmode; in typec_altmode_vdm() local
314 struct typec_altmode *altmode = to_typec_altmode(dev); in typec_match() local
326 struct typec_altmode *altmode = to_typec_altmode(dev); in typec_uevent() local
365 struct altmode *altmode = to_altmode(adev); in typec_probe() local
389 struct altmode *altmode = to_altmode(adev); in typec_remove() local
Dclass.c236 static void typec_altmode_set_partner(struct altmode *altmode) in typec_altmode_set_partner()
262 static void typec_altmode_put_partner(struct altmode *altmode) in typec_altmode_put_partner()
362 struct altmode *altmode = to_altmode(adev); in active_store() local
/Linux-v6.1/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()
140 typec_altmode_get_svdm_version(struct typec_altmode *altmode) in typec_altmode_get_svdm_version()
/Linux-v6.1/drivers/usb/typec/ucsi/
Ducsi.c248 const struct typec_altmode *altmode = NULL; in ucsi_altmode_update_active() local
/Linux-v6.1/drivers/usb/typec/tcpm/
Dtcpm.c1545 struct typec_altmode *altmode; in tcpm_register_partner_altmodes() local
2186 static int tcpm_altmode_enter(struct typec_altmode *altmode, u32 *vdo) in tcpm_altmode_enter()
2203 static int tcpm_altmode_exit(struct typec_altmode *altmode) in tcpm_altmode_exit()
2220 static int tcpm_altmode_vdm(struct typec_altmode *altmode, in tcpm_altmode_vdm()