Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/typec/
H A Dbus.h12 struct altmode { struct
14 struct typec_altmode adev; argument
25 struct altmode *partner; argument
26 struct altmode *plug[2]; argument
H A Dbus.c90 struct altmode *altmode; in typec_altmode_notify() local
218 struct altmode *altmode; in typec_altmode_vdm() local
351 struct typec_altmode *altmode = to_typec_altmode(dev); in typec_match() local
363 const struct typec_altmode *altmode = to_typec_altmode(dev); in typec_uevent() local
402 struct altmode *altmode = to_altmode(adev); in typec_probe() local
426 struct altmode *altmode = to_altmode(adev); in typec_remove() local
H A Dclass.c235 static void typec_altmode_set_partner(struct altmode *altmode) in typec_altmode_set_partner()
261 static void typec_altmode_put_partner(struct altmode *altmode) in typec_altmode_put_partner()
363 struct altmode *altmode = to_altmode(adev); in active_store() local
/openbmc/linux/drivers/soc/qcom/
H A Dpmic_glink_altmode.c67 struct pmic_glink_altmode *altmode; member
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
395 struct pmic_glink_altmode *altmode = work_to_altmode(work); in pmic_glink_altmode_enable_worker() local
405 struct pmic_glink_altmode *altmode = priv; in pmic_glink_altmode_pdr_notify() local
[all …]
/openbmc/linux/include/linux/usb/
H A 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()
/openbmc/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c1577 struct typec_altmode *altmode; in tcpm_register_partner_altmodes() local
2225 static int tcpm_altmode_enter(struct typec_altmode *altmode, u32 *vdo) in tcpm_altmode_enter()
2242 static int tcpm_altmode_exit(struct typec_altmode *altmode) in tcpm_altmode_exit()
2259 static int tcpm_altmode_vdm(struct typec_altmode *altmode, in tcpm_altmode_vdm()
/openbmc/linux/drivers/usb/typec/ucsi/
H A Ducsi.c278 const struct typec_altmode *altmode = NULL; in ucsi_altmode_update_active() local