Home
last modified time | relevance | path

Searched refs:svdm_version (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/usb/typec/ucsi/
H A Ddisplayport.c52 int svdm_version; in ucsi_displayport_enter() local
88 if (svdm_version < 0) { in ucsi_displayport_enter()
89 ret = svdm_version; in ucsi_displayport_enter()
111 int svdm_version; in ucsi_displayport_exit() local
132 if (svdm_version < 0) { in ucsi_displayport_exit()
133 ret = svdm_version; in ucsi_displayport_exit()
203 int svdm_version; in ucsi_displayport_vdm() local
217 if (svdm_version < 0) { in ucsi_displayport_vdm()
219 return svdm_version; in ucsi_displayport_vdm()
224 if (PD_VDO_SVDM_VER(header) < svdm_version) { in ucsi_displayport_vdm()
[all …]
H A Ducsi.c1250 cap->svdm_version = SVDM_VER_2_0; in ucsi_register_port()
/openbmc/linux/drivers/usb/typec/altmodes/
H A Ddisplayport.c186 int svdm_version = typec_altmode_get_svdm_version(dp->alt); in dp_altmode_configure_vdm() local
190 if (svdm_version < 0) in dp_altmode_configure_vdm()
191 return svdm_version; in dp_altmode_configure_vdm()
193 header = DP_HEADER(dp, svdm_version, DP_CMD_CONFIGURE); in dp_altmode_configure_vdm()
211 int svdm_version; in dp_altmode_work() local
225 svdm_version = typec_altmode_get_svdm_version(dp->alt); in dp_altmode_work()
226 if (svdm_version < 0) in dp_altmode_work()
228 header = DP_HEADER(dp, svdm_version, DP_CMD_STATUS_UPDATE); in dp_altmode_work()
/openbmc/linux/include/linux/usb/
H A Dtypec.h270 enum usb_pd_svdm_ver svdm_version; member
328 enum usb_pd_svdm_ver svdm_version);
/openbmc/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c1604 int svdm_version; in tcpm_pd_svdm() local
1622 if (svdm_version < 0) in tcpm_pd_svdm()
1877 if (svdm_version < 0) in tcpm_handle_vdm_request()
1914 if (svdm_version < 0) in tcpm_send_vdm()
1923 svdm_version, cmd); in tcpm_send_vdm()
2228 int svdm_version; in tcpm_altmode_enter() local
2232 if (svdm_version < 0) in tcpm_altmode_enter()
2233 return svdm_version; in tcpm_altmode_enter()
2245 int svdm_version; in tcpm_altmode_exit() local
2249 if (svdm_version < 0) in tcpm_altmode_exit()
[all …]
/openbmc/linux/drivers/usb/typec/
H A Dclass.h35 enum usb_pd_svdm_ver svdm_version; member
H A Dclass.c824 enum usb_pd_svdm_ver svdm_version) in typec_partner_set_svdm_version() argument
826 partner->svdm_version = svdm_version; in typec_partner_set_svdm_version()
873 partner->svdm_version = port->cap->svdm_version; in typec_register_partner()
2038 enum usb_pd_svdm_ver svdm_version; in typec_get_negotiated_svdm_version() local
2045 svdm_version = to_typec_partner(partner_dev)->svdm_version; in typec_get_negotiated_svdm_version()
2048 return svdm_version; in typec_get_negotiated_svdm_version()