Home
last modified time | relevance | path

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

/linux/drivers/usb/typec/ !
H A Dbus.h11 struct altmode { struct
13 struct typec_altmode adev; argument
24 struct altmode *partner; argument
25 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
324 struct altmode *altmode; in typec_cable_altmode_vdm() local
469 struct typec_altmode *altmode = to_typec_altmode(dev); in typec_match() local
483 const struct typec_altmode *altmode = to_typec_altmode(dev); in typec_uevent() local
524 struct altmode *altmode = to_altmode(adev); in typec_probe() local
548 struct altmode *altmode = to_altmode(adev); in typec_remove() local
H A Dmode_selection.c214 struct typec_altmode *altmode = to_typec_altmode(dev); in altmode_add_to_list() local
H A 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/drivers/soc/qcom/ !
H A Dpmic_glink_altmode.c100 struct pmic_glink_altmode *altmode; member
143 static int pmic_glink_altmode_request(struct pmic_glink_altmode *altmode, u32 cmd, u32 arg) in pmic_glink_altmode_request()
176 static void pmic_glink_altmode_enable_dp(struct pmic_glink_altmode *altmode, in pmic_glink_altmode_enable_dp()
208 static void pmic_glink_altmode_enable_tbt(struct pmic_glink_altmode *altmode, in pmic_glink_altmode_enable_tbt()
266 static void pmic_glink_altmode_enable_usb4(struct pmic_glink_altmode *altmode, in pmic_glink_altmode_enable_usb4()
304 static void pmic_glink_altmode_enable_usb(struct pmic_glink_altmode *altmode, in pmic_glink_altmode_enable_usb()
326 static void pmic_glink_altmode_safe(struct pmic_glink_altmode *altmode, in pmic_glink_altmode_safe()
351 struct pmic_glink_altmode *altmode = alt_port->altmode; in pmic_glink_altmode_worker() local
412 static void pmic_glink_altmode_sc8180xp_notify(struct pmic_glink_altmode *altmode, in pmic_glink_altmode_sc8180xp_notify()
460 static void pmic_glink_altmode_sc8280xp_notify(struct pmic_glink_altmode *altmode, in pmic_glink_altmode_sc8280xp_notify()
[all …]
/linux/include/linux/usb/ !
H A Dtypec_altmode.h49 static inline void typec_altmode_set_drvdata(struct typec_altmode *altmode, in typec_altmode_set_drvdata()
55 static inline void *typec_altmode_get_drvdata(struct typec_altmode *altmode) in typec_altmode_get_drvdata()
113 typec_altmode_get_cable_svdm_version(struct typec_altmode *altmode) in typec_altmode_get_cable_svdm_version()
170 typec_altmode_get_orientation(struct typec_altmode *altmode) in typec_altmode_get_orientation()
180 typec_altmode_get_svdm_version(struct typec_altmode *altmode) in typec_altmode_get_svdm_version()
193 typec_altmode_get_data_role(struct typec_altmode *altmode) in typec_altmode_get_data_role()
/linux/drivers/platform/chrome/ !
H A Dcros_typec_altmode.h31 static inline int cros_typec_displayport_status_update(struct typec_altmode *altmode, in cros_typec_displayport_status_update()
H A Dcros_typec_altmode.c276 int cros_typec_displayport_status_update(struct typec_altmode *altmode, in cros_typec_displayport_status_update()
/linux/drivers/usb/typec/tcpm/ !
H A Dtcpm.c1872 struct typec_altmode *altmode; in tcpm_register_partner_altmodes() local
1893 struct typec_altmode *altmode; in tcpm_register_plug_altmodes() local
2902 static int tcpm_altmode_enter(struct typec_altmode *altmode, u32 *vdo) in tcpm_altmode_enter()
2918 static int tcpm_altmode_exit(struct typec_altmode *altmode) in tcpm_altmode_exit()
2934 static int tcpm_altmode_vdm(struct typec_altmode *altmode, in tcpm_altmode_vdm()
2949 static int tcpm_cable_altmode_enter(struct typec_altmode *altmode, enum typec_plug_index sop, in tcpm_cable_altmode_enter()
2966 static int tcpm_cable_altmode_exit(struct typec_altmode *altmode, enum typec_plug_index sop) in tcpm_cable_altmode_exit()
2982 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 Ducsi.c321 const struct typec_altmode *altmode = NULL; in ucsi_altmode_update_active() local