Home
last modified time | relevance | path

Searched refs:svid (Results 1 – 11 of 11) sorted by relevance

/drivers/usb/typec/
Dbus.c268 size_t n, u16 svid, u8 mode) in typec_match_altmode() argument
275 if (altmodes[i]->svid == svid && altmodes[i]->mode == mode) in typec_match_altmode()
306 for (id = drv->id_table; id->svid; id++) in typec_match()
307 if (id->svid == altmode->svid && in typec_match()
317 if (add_uevent_var(env, "SVID=%04X", altmode->svid)) in typec_uevent()
324 altmode->svid, altmode->mode); in typec_uevent()
Dclass.c159 return ((adev->svid == id->svid) && (adev->mode == id->mode)); in altmode_match()
165 struct typec_device_id id = { adev->svid, adev->mode, }; in typec_altmode_set_partner()
225 typec_altmode_register_notifier(struct device *dev, u16 svid, u8 mode, in typec_altmode_register_notifier() argument
228 struct typec_device_id id = { svid, mode, }; in typec_altmode_register_notifier()
423 return sprintf(buf, "%04x\n", adev->svid); in svid_show()
425 static DEVICE_ATTR_RO(svid);
493 alt->adev.svid = desc->svid; in typec_register_altmode()
Dmux.c233 match = val[i] == desc->svid; in typec_mux_match()
/drivers/usb/typec/ucsi/
Dtrace.h143 __field(u16, svid)
149 __entry->svid = alt->svid;
154 ucsi_recipient_str(__entry->recipient), __entry->svid,
Ducsi.c249 static u8 ucsi_altmode_next_mode(struct typec_altmode **alt, u16 svid) in ucsi_altmode_next_mode() argument
255 if (alt[i]->svid == svid) in ucsi_altmode_next_mode()
292 desc->svid); in ucsi_register_altmode()
294 switch (desc->svid) { in ucsi_register_altmode()
319 desc->svid); in ucsi_register_altmode()
339 desc->svid, desc->mode); in ucsi_register_altmode()
382 if (!alt[j].svid) in ucsi_register_altmodes()
387 desc.svid = alt[j].svid; in ucsi_register_altmodes()
418 (adev[i]->svid == USB_TYPEC_DP_SID || in ucsi_unregister_altmodes()
419 adev[i]->svid == USB_TYPEC_NVIDIA_VLINK_SID)) { in ucsi_unregister_altmodes()
Ducsi.h278 u16 svid; member
/drivers/usb/typec/altmodes/
Dnvidia.c14 if (alt->svid == USB_TYPEC_NVIDIA_VLINK_SID) in nvidia_altmode_probe()
22 if (alt->svid == USB_TYPEC_NVIDIA_VLINK_SID) in nvidia_altmode_remove()
Ddisplayport.c17 #define DP_HEADER(_dp, cmd) (VDO((_dp)->alt->svid, 1, cmd) | \
/drivers/usb/typec/tcpm/
Dtcpm.c980 u16 svid; in svdm_consume_svids() local
982 svid = (p >> 16) & 0xffff; in svdm_consume_svids()
983 if (!svid) in svdm_consume_svids()
989 pmdata->svids[pmdata->nsvids++] = svid; in svdm_consume_svids()
990 tcpm_log(port, "SVID %d: 0x%x", pmdata->nsvids, svid); in svdm_consume_svids()
992 svid = p & 0xffff; in svdm_consume_svids()
993 if (!svid) in svdm_consume_svids()
999 pmdata->svids[pmdata->nsvids++] = svid; in svdm_consume_svids()
1000 tcpm_log(port, "SVID %d: 0x%x", pmdata->nsvids, svid); in svdm_consume_svids()
1024 paltmode->svid = pmdata->svids[pmdata->svid_index]; in svdm_consume_modes()
[all …]
/drivers/video/fbdev/matrox/
Dmatroxfb_base.c1415 unsigned short vendor, device, rev, svid, sid; member
2031 u_int16_t svid; in matroxfb_probe() local
2038 svid = pdev->subsystem_vendor; in matroxfb_probe()
2042 if (b->svid) in matroxfb_probe()
2043 if ((b->svid != svid) || (b->sid != sid)) continue; in matroxfb_probe()
/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu.h719 __le16 svid; member