Home
last modified time | relevance | path

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

/linux/drivers/usb/typec/ucsi/
H A Ddisplayport.c52 int svdm_version; in ucsi_displayport_enter() local
87 svdm_version = typec_altmode_get_svdm_version(alt); in ucsi_displayport_enter()
88 if (svdm_version < 0) { in ucsi_displayport_enter()
89 ret = svdm_version; in ucsi_displayport_enter()
93 dp->header = VDO(USB_TYPEC_DP_SID, 1, svdm_version, CMD_ENTER_MODE); in ucsi_displayport_enter()
111 int svdm_version; in ucsi_displayport_exit() local
131 svdm_version = typec_altmode_get_svdm_version(alt); in ucsi_displayport_exit()
132 if (svdm_version < 0) { in ucsi_displayport_exit()
133 ret = svdm_version; in ucsi_displayport_exit()
137 dp->header = VDO(USB_TYPEC_DP_SID, 1, svdm_version, CMD_EXIT_MODE); in ucsi_displayport_exit()
[all …]
H A Ducsi.c1599 cap->svdm_version = SVDM_VER_2_0; in ucsi_register_port()
/linux/include/linux/usb/
H A Dtypec.h284 * @svdm_version: USB PD Structured VDM version if supported
300 enum usb_pd_svdm_ver svdm_version;
359 enum usb_pd_svdm_ver svdm_version);
363 void typec_cable_set_svdm_version(struct typec_cable *cable, enum usb_pd_svdm_ver svdm_version);
282 enum usb_pd_svdm_ver svdm_version; global() member
/linux/drivers/usb/typec/
H A Dclass.c976 enum usb_pd_svdm_ver svdm_version) in typec_partner_set_svdm_version() argument
978 partner->svdm_version = svdm_version; in typec_partner_set_svdm_version()
1026 partner->svdm_version = port->cap->svdm_version; in typec_register_partner()
2334 enum usb_pd_svdm_ver svdm_version; in typec_get_negotiated_svdm_version() local
2341 svdm_version = to_typec_partner(partner_dev)->svdm_version; in typec_get_negotiated_svdm_version()
2344 return svdm_version; in typec_get_negotiated_svdm_version()
2361 enum usb_pd_svdm_ver svdm_version; in typec_get_cable_svdm_version() local
2368 svdm_version = to_typec_cable(cable_dev)->svdm_version; in typec_get_cable_svdm_version()
2371 return svdm_version; in typec_get_cable_svdm_version()
2382 void typec_cable_set_svdm_version(struct typec_cable *cable, enum usb_pd_svdm_ver svdm_version) in typec_cable_set_svdm_version() argument
[all …]