Searched refs:altmodes (Results 1 – 6 of 6) sorted by relevance
267 struct typec_altmode *typec_match_altmode(struct typec_altmode **altmodes, in typec_match_altmode() argument273 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()
4 obj-$(CONFIG_TYPEC) += altmodes/
107 source "drivers/usb/typec/altmodes/Kconfig"
178 int altmodes; /* number of alternate modes */ member1004 if (pmdata->altmodes >= ARRAY_SIZE(port->partner_altmode)) { in svdm_consume_modes()1010 paltmode = &pmdata->altmode_desc[pmdata->altmodes]; in svdm_consume_modes()1018 pmdata->altmodes, paltmode->svid, in svdm_consume_modes()1021 pmdata->altmodes++; in svdm_consume_modes()1031 for (i = 0; i < modep->altmodes; i++) { in tcpm_register_partner_altmodes()2667 for (i = 0; i < modep->altmodes; i++) { in tcpm_unregister_altmodes()
110 struct typec_altmode *typec_match_altmode(struct typec_altmode **altmodes,
15304 F: drivers/usb/typec/altmodes/