Home
last modified time | relevance | path

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

/drivers/usb/typec/
Dbus.c315 struct typec_altmode *typec_match_altmode(struct typec_altmode **altmodes, in typec_match_altmode() argument
321 if (!altmodes[i]) in typec_match_altmode()
323 if (altmodes[i]->svid == svid && altmodes[i]->mode == mode) in typec_match_altmode()
324 return altmodes[i]; in typec_match_altmode()
DMakefile5 obj-$(CONFIG_TYPEC) += altmodes/
DKconfig115 source "drivers/usb/typec/altmodes/Kconfig"
Dclass.c2145 struct typec_altmode **altmodes, size_t n) in typec_port_register_altmodes() argument
2191 altmodes[index] = alt; in typec_port_register_altmodes()
/drivers/usb/typec/tcpm/
Dtcpm.c270 int altmodes; /* number of alternate modes */ member
1565 if (pmdata->altmodes >= ARRAY_SIZE(port->partner_altmode)) { in svdm_consume_modes()
1571 paltmode = &pmdata->altmode_desc[pmdata->altmodes]; in svdm_consume_modes()
1579 pmdata->altmodes, paltmode->svid, in svdm_consume_modes()
1582 pmdata->altmodes++; in svdm_consume_modes()
1595 for (i = 0; i < modep->altmodes; i++) { in tcpm_register_partner_altmodes()
3703 for (i = 0; i < modep->altmodes; i++) { in tcpm_unregister_altmodes()