Searched defs:altmode (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/usb/typec/ |
H A D | bus.h | 12 struct altmode { struct 14 struct typec_altmode adev; argument 25 struct altmode *partner; argument 26 struct altmode *plug[2]; argument
|
H A D | bus.c | 90 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
|
H A D | class.c | 244 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/drivers/soc/qcom/ |
H A D | pmic_glink_altmode.c | 68 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 265 static void pmic_glink_altmode_sc8180xp_notify(struct pmic_glink_altmode *altmode, in pmic_glink_altmode_sc8180xp_notify() 313 static void pmic_glink_altmode_sc8280xp_notify(struct pmic_glink_altmode *altmode, in pmic_glink_altmode_sc8280xp_notify() 354 struct pmic_glink_altmode *altmode = priv; in pmic_glink_altmode_callback() local 392 struct pmic_glink_altmode *altmode = work_to_altmode(work); in pmic_glink_altmode_enable_worker() local [all …]
|
/linux/include/linux/usb/ |
H A D | typec_altmode.h | 39 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/drivers/usb/typec/tcpm/ |
H A D | tcpm.c | 1859 struct typec_altmode *altmode; in tcpm_register_partner_altmodes() local 1880 struct typec_altmode *altmode; in tcpm_register_plug_altmodes() local 2885 static int tcpm_altmode_enter(struct typec_altmode *altmode, u32 *vdo) in tcpm_altmode_enter() 2901 static int tcpm_altmode_exit(struct typec_altmode *altmode) in tcpm_altmode_exit() 2917 static int tcpm_altmode_vdm(struct typec_altmode *altmode, in tcpm_altmode_vdm() 2932 static int tcpm_cable_altmode_enter(struct typec_altmode *altmode, enum typec_plug_index sop, in tcpm_cable_altmode_enter() 2949 static int tcpm_cable_altmode_exit(struct typec_altmode *altmode, enum typec_plug_index sop) in tcpm_cable_altmode_exit() 2965 static int tcpm_cable_altmode_vdm(struct typec_altmode *altmode, enum typec_plug_index sop, in tcpm_cable_altmode_vdm()
|
/linux/drivers/usb/typec/ucsi/ |
H A D | ucsi.c | 315 const struct typec_altmode *altmode = NULL; in ucsi_altmode_update_active() local
|