Home
last modified time | relevance | path

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

/drivers/usb/typec/
Dbus.c267 struct typec_altmode *typec_match_altmode(struct typec_altmode **altmodes, in typec_match_altmode() argument
273 if (!altmodes[i]) in typec_match_altmode()
275 if (altmodes[i]->svid == svid && altmodes[i]->mode == mode) in typec_match_altmode()
276 return altmodes[i]; in typec_match_altmode()
DMakefile4 obj-$(CONFIG_TYPEC) += altmodes/
DKconfig66 source "drivers/usb/typec/altmodes/Kconfig"
/drivers/usb/typec/tcpm/
Dtcpm.c180 int altmodes; /* number of alternate modes */ member
1015 if (pmdata->altmodes >= ARRAY_SIZE(port->partner_altmode)) { in svdm_consume_modes()
1021 paltmode = &pmdata->altmode_desc[pmdata->altmodes]; in svdm_consume_modes()
1029 pmdata->altmodes, paltmode->svid, in svdm_consume_modes()
1032 pmdata->altmodes++; in svdm_consume_modes()
1042 for (i = 0; i < modep->altmodes; i++) { in tcpm_register_partner_altmodes()
2687 for (i = 0; i < modep->altmodes; i++) { in tcpm_unregister_altmodes()