Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/usb/typec/
H A Dbus.h11 struct altmode { struct
13 struct typec_altmode adev; argument
23 struct altmode *partner; argument
24 struct altmode *plug[2]; argument
H A 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
H A Dclass.c294 static void typec_altmode_set_partner(struct altmode *altmode) in typec_altmode_set_partner()
320 static void typec_altmode_put_partner(struct altmode *altmode) in typec_altmode_put_partner()
420 struct altmode *altmode = to_altmode(adev); in active_store() local
/OK3568_Linux_fs/kernel/include/linux/usb/
H A Dtypec_altmode.h38 static inline void typec_altmode_set_drvdata(struct typec_altmode *altmode, in typec_altmode_set_drvdata()
44 static inline void *typec_altmode_get_drvdata(struct typec_altmode *altmode) in typec_altmode_get_drvdata()
132 typec_altmode_get_orientation(struct typec_altmode *altmode) in typec_altmode_get_orientation()
142 typec_altmode_get_svdm_version(struct typec_altmode *altmode) in typec_altmode_get_svdm_version()
/OK3568_Linux_fs/kernel/drivers/usb/typec/ucsi/
H A Ducsi.c198 const struct typec_altmode *altmode = NULL; in ucsi_altmode_update_active() local
/OK3568_Linux_fs/kernel/drivers/usb/typec/tcpm/
H A Dtcpm.c1579 struct typec_altmode *altmode; in tcpm_register_partner_altmodes() local
2238 static int tcpm_altmode_enter(struct typec_altmode *altmode, u32 *vdo) in tcpm_altmode_enter()
2255 static int tcpm_altmode_exit(struct typec_altmode *altmode) in tcpm_altmode_exit()
2272 static int tcpm_altmode_vdm(struct typec_altmode *altmode, in tcpm_altmode_vdm()