Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c1501 struct pd_mode_data *pmdata = &port->mode_data; in svdm_consume_svids() local
1511 if (pmdata->nsvids >= SVID_DISCOVERY_MAX) in svdm_consume_svids()
1514 pmdata->svids[pmdata->nsvids++] = svid; in svdm_consume_svids()
1515 tcpm_log(port, "SVID %d: 0x%x", pmdata->nsvids, svid); in svdm_consume_svids()
1521 if (pmdata->nsvids >= SVID_DISCOVERY_MAX) in svdm_consume_svids()
1524 pmdata->svids[pmdata->nsvids++] = svid; in svdm_consume_svids()
1549 struct pd_mode_data *pmdata = &port->mode_data; in svdm_consume_modes() local
1559 paltmode = &pmdata->altmode_desc[pmdata->altmodes]; in svdm_consume_modes()
1562 paltmode->svid = pmdata->svids[pmdata->svid_index]; in svdm_consume_modes()
1567 pmdata->altmodes, paltmode->svid, in svdm_consume_modes()
[all …]