Home
last modified time | relevance | path

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

/drivers/usb/typec/ucsi/
Ducsi_ccg.c182 u16 svid; member
370 alt[i].svid = orig[i].svid; in ucsi_ccg_update_altmodes()
372 if (!alt[i].svid) in ucsi_ccg_update_altmodes()
377 if (!alt[i].svid) in ucsi_ccg_update_altmodes()
386 new_alt[k].svid = alt[i].svid; in ucsi_ccg_update_altmodes()
390 updated[k].svid = new_alt[k].svid; in ucsi_ccg_update_altmodes()
397 if (alt[i].svid != alt[j].svid || in ucsi_ccg_update_altmodes()
402 new_alt[k].svid = alt[i].svid; in ucsi_ccg_update_altmodes()
415 new_alt[k].svid = alt[i].svid; in ucsi_ccg_update_altmodes()
420 updated[k].svid = new_alt[k].svid; in ucsi_ccg_update_altmodes()
[all …]
Ducsi.c223 static int ucsi_altmode_next_mode(struct typec_altmode **alt, u16 svid) in ucsi_altmode_next_mode() argument
232 if (alt[i]->svid == svid) in ucsi_altmode_next_mode()
269 ret = ucsi_altmode_next_mode(con->port_altmode, desc->svid); in ucsi_register_altmode()
275 switch (desc->svid) { in ucsi_register_altmode()
306 ret = ucsi_altmode_next_mode(con->partner_altmode, desc->svid); in ucsi_register_altmode()
330 desc->svid, desc->mode); in ucsi_register_altmode()
374 if (!len || !alt.svid) in ucsi_register_altmodes_nvidia()
378 orig[k].svid = alt.svid; in ucsi_register_altmodes_nvidia()
392 desc.svid = updated[i].svid; in ucsi_register_altmodes_nvidia()
395 desc.svid = orig[i].svid; in ucsi_register_altmodes_nvidia()
[all …]
Dtrace.h90 __field(u16, svid)
96 __entry->svid = alt->svid;
101 ucsi_recipient_str(__entry->recipient), __entry->svid,
Ducsi.h211 u16 svid; member
/drivers/usb/typec/
Dbus.c292 size_t n, u16 svid, u8 mode) in typec_match_altmode() argument
299 if (altmodes[i]->svid == svid && altmodes[i]->mode == mode) in typec_match_altmode()
330 for (id = drv->id_table; id->svid; id++) in typec_match()
331 if (id->svid == altmode->svid && in typec_match()
341 if (add_uevent_var(env, "SVID=%04X", altmode->svid)) in typec_uevent()
348 altmode->svid, altmode->mode); in typec_uevent()
Dclass.c231 return ((adev->svid == id->svid) && (adev->mode == id->mode)); in altmode_match()
237 struct typec_device_id id = { adev->svid, adev->mode, }; in typec_altmode_set_partner()
434 return sprintf(buf, "%04x\n", adev->svid); in svid_show()
436 static DEVICE_ATTR_RO(svid);
528 alt->adev.svid = desc->svid; in typec_register_altmode()
1983 u32 svid, vdo; in typec_port_register_altmodes() local
1991 ret = fwnode_property_read_u32(child, "svid", &svid); in typec_port_register_altmodes()
2011 desc.svid = svid; in typec_port_register_altmodes()
Dmux.c239 match = val[i] == desc->svid; in typec_mux_match()
/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.c18 #define DP_HEADER(_dp, ver, cmd) (VDO((_dp)->alt->svid, 1, ver, cmd) \
/drivers/usb/typec/mux/
Dintel_pmc_mux.c365 state->alt && state->alt->svid == USB_TYPEC_DP_SID) in pmc_usb_mux_safe_state()
370 state->alt && state->alt->svid == USB_TYPEC_TBT_SID) in pmc_usb_mux_safe_state()
445 switch (state->alt->svid) { in pmc_usb_mux_set()
/drivers/platform/chrome/
Dcros_ec_typec.c283 port->p_altmode[CROS_EC_ALTMODE_DP].svid = USB_TYPEC_DP_SID; in cros_typec_register_port_altmodes()
291 port->p_altmode[CROS_EC_ALTMODE_TBT].svid = USB_TYPEC_TBT_SID; in cros_typec_register_port_altmodes()
693 desc.svid = sop_disc->svids[i].svid; in cros_typec_register_altmodes()
/drivers/usb/typec/tcpm/
Dtcpm.c1501 u16 svid; in svdm_consume_svids() local
1503 svid = (p[i] >> 16) & 0xffff; in svdm_consume_svids()
1504 if (!svid) in svdm_consume_svids()
1510 pmdata->svids[pmdata->nsvids++] = svid; in svdm_consume_svids()
1511 tcpm_log(port, "SVID %d: 0x%x", pmdata->nsvids, svid); in svdm_consume_svids()
1513 svid = p[i] & 0xffff; in svdm_consume_svids()
1514 if (!svid) in svdm_consume_svids()
1520 pmdata->svids[pmdata->nsvids++] = svid; in svdm_consume_svids()
1521 tcpm_log(port, "SVID %d: 0x%x", pmdata->nsvids, svid); in svdm_consume_svids()
1558 paltmode->svid = pmdata->svids[pmdata->svid_index]; in svdm_consume_modes()
[all …]
/drivers/video/fbdev/matrox/
Dmatroxfb_base.c1421 unsigned short vendor, device, rev, svid, sid; member
2040 u_int16_t svid; in matroxfb_probe() local
2047 svid = pdev->subsystem_vendor; in matroxfb_probe()
2051 if (b->svid) in matroxfb_probe()
2052 if ((b->svid != svid) || (b->sid != sid)) continue; in matroxfb_probe()
/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu.h719 __le16 svid; member