Home
last modified time | relevance | path

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

/linux-6.14.4/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
464 const struct typec_altmode *altmode = to_typec_altmode(dev); in typec_uevent() local
502 struct altmode *altmode = to_altmode(adev); in typec_probe() local
526 struct altmode *altmode = to_altmode(adev); in typec_remove() local
Dclass.c244 static void typec_altmode_set_partner(struct altmode *altmode) in typec_altmode_set_partner()
270 static void typec_altmode_put_partner(struct altmode *altmode) in typec_altmode_put_partner()
372 struct altmode *altmode = to_altmode(adev); in active_store() local
/linux-6.14.4/drivers/soc/qcom/
Dpmic_glink_altmode.c68 struct pmic_glink_altmode *altmode; member
108 static int pmic_glink_altmode_request(struct pmic_glink_altmode *altmode, u32 cmd, u32 arg) in pmic_glink_altmode_request()
141 static void pmic_glink_altmode_enable_dp(struct pmic_glink_altmode *altmode, in pmic_glink_altmode_enable_dp()
173 static void pmic_glink_altmode_enable_usb(struct pmic_glink_altmode *altmode, in pmic_glink_altmode_enable_usb()
195 static void pmic_glink_altmode_safe(struct pmic_glink_altmode *altmode, in pmic_glink_altmode_safe()
220 struct pmic_glink_altmode *altmode = alt_port->altmode; in pmic_glink_altmode_worker() local
257 static void pmic_glink_altmode_sc8180xp_notify(struct pmic_glink_altmode *altmode, in pmic_glink_altmode_sc8180xp_notify()
305 static void pmic_glink_altmode_sc8280xp_notify(struct pmic_glink_altmode *altmode, in pmic_glink_altmode_sc8280xp_notify()
346 struct pmic_glink_altmode *altmode = priv; in pmic_glink_altmode_callback() local
384 struct pmic_glink_altmode *altmode = work_to_altmode(work); in pmic_glink_altmode_enable_worker() local
[all …]
/linux-6.14.4/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.14.4/drivers/platform/chrome/
Dcros_typec_altmode.h31 static inline int cros_typec_displayport_status_update(struct typec_altmode *altmode, in cros_typec_displayport_status_update()
Dcros_typec_altmode.c276 int cros_typec_displayport_status_update(struct typec_altmode *altmode, in cros_typec_displayport_status_update()
/linux-6.14.4/drivers/usb/typec/tcpm/
Dtcpm.c1794 struct typec_altmode *altmode; in tcpm_register_partner_altmodes() local
1815 struct typec_altmode *altmode; in tcpm_register_plug_altmodes() local
2820 static int tcpm_altmode_enter(struct typec_altmode *altmode, u32 *vdo) in tcpm_altmode_enter()
2837 static int tcpm_altmode_exit(struct typec_altmode *altmode) in tcpm_altmode_exit()
2854 static int tcpm_altmode_vdm(struct typec_altmode *altmode, in tcpm_altmode_vdm()
2871 static int tcpm_cable_altmode_enter(struct typec_altmode *altmode, enum typec_plug_index sop, in tcpm_cable_altmode_enter()
2889 static int tcpm_cable_altmode_exit(struct typec_altmode *altmode, enum typec_plug_index sop) in tcpm_cable_altmode_exit()
2906 static int tcpm_cable_altmode_vdm(struct typec_altmode *altmode, enum typec_plug_index sop, in tcpm_cable_altmode_vdm()
/linux-6.14.4/drivers/usb/typec/ucsi/
Ducsi.c312 const struct typec_altmode *altmode = NULL; in ucsi_altmode_update_active() local