Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/usb/typec/
Dbus.h12 struct altmode { struct
14 struct typec_altmode adev; argument
25 struct altmode *partner; argument
26 struct altmode *plug[2]; argument
Dbus.c90 struct altmode *altmode; in typec_altmode_notify() local
218 struct altmode *altmode; in typec_altmode_vdm() local
324 struct altmode *altmode; in typec_cable_altmode_vdm() local
453 struct typec_altmode *altmode = to_typec_altmode(dev); in typec_match() local
465 const struct typec_altmode *altmode = to_typec_altmode(dev); in typec_uevent() local
504 struct altmode *altmode = to_altmode(adev); in typec_probe() local
528 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()
364 struct altmode *altmode = to_altmode(adev); in active_store() local
/linux-6.12.1/drivers/soc/qcom/
Dpmic_glink_altmode.c67 struct pmic_glink_altmode *altmode; member
107 static int pmic_glink_altmode_request(struct pmic_glink_altmode *altmode, u32 cmd, u32 arg) in pmic_glink_altmode_request()
142 static void pmic_glink_altmode_enable_dp(struct pmic_glink_altmode *altmode, in pmic_glink_altmode_enable_dp()
174 static void pmic_glink_altmode_enable_usb(struct pmic_glink_altmode *altmode, in pmic_glink_altmode_enable_usb()
196 static void pmic_glink_altmode_safe(struct pmic_glink_altmode *altmode, in pmic_glink_altmode_safe()
221 struct pmic_glink_altmode *altmode = alt_port->altmode; in pmic_glink_altmode_worker() local
258 static void pmic_glink_altmode_sc8180xp_notify(struct pmic_glink_altmode *altmode, in pmic_glink_altmode_sc8180xp_notify()
306 static void pmic_glink_altmode_sc8280xp_notify(struct pmic_glink_altmode *altmode, in pmic_glink_altmode_sc8280xp_notify()
347 struct pmic_glink_altmode *altmode = priv; in pmic_glink_altmode_callback() local
385 struct pmic_glink_altmode *altmode = work_to_altmode(work); in pmic_glink_altmode_enable_worker() local
[all …]
/linux-6.12.1/include/linux/usb/
Dtypec_altmode.h39 static inline void typec_altmode_set_drvdata(struct typec_altmode *altmode, in typec_altmode_set_drvdata()
45 static inline void *typec_altmode_get_drvdata(struct typec_altmode *altmode) in typec_altmode_get_drvdata()
103 typec_altmode_get_cable_svdm_version(struct typec_altmode *altmode) in typec_altmode_get_cable_svdm_version()
160 typec_altmode_get_orientation(struct typec_altmode *altmode) in typec_altmode_get_orientation()
170 typec_altmode_get_svdm_version(struct typec_altmode *altmode) in typec_altmode_get_svdm_version()
/linux-6.12.1/drivers/usb/typec/tcpm/
Dtcpm.c1748 struct typec_altmode *altmode; in tcpm_register_partner_altmodes() local
1769 struct typec_altmode *altmode; in tcpm_register_plug_altmodes() local
2774 static int tcpm_altmode_enter(struct typec_altmode *altmode, u32 *vdo) in tcpm_altmode_enter()
2791 static int tcpm_altmode_exit(struct typec_altmode *altmode) in tcpm_altmode_exit()
2808 static int tcpm_altmode_vdm(struct typec_altmode *altmode, in tcpm_altmode_vdm()
2825 static int tcpm_cable_altmode_enter(struct typec_altmode *altmode, enum typec_plug_index sop, in tcpm_cable_altmode_enter()
2843 static int tcpm_cable_altmode_exit(struct typec_altmode *altmode, enum typec_plug_index sop) in tcpm_cable_altmode_exit()
2860 static int tcpm_cable_altmode_vdm(struct typec_altmode *altmode, enum typec_plug_index sop, in tcpm_cable_altmode_vdm()
/linux-6.12.1/drivers/usb/typec/ucsi/
Ducsi.c310 const struct typec_altmode *altmode = NULL; in ucsi_altmode_update_active() local