Home
last modified time | relevance | path

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

/Linux-v4.19/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/
DKconfig107 source "drivers/usb/typec/altmodes/Kconfig"
Dtcpm.c178 int altmodes; /* number of alternate modes */ member
1004 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()
/Linux-v4.19/include/linux/usb/
Dtypec_altmode.h110 struct typec_altmode *typec_match_altmode(struct typec_altmode **altmodes,
/Linux-v4.19/
DMAINTAINERS15304 F: drivers/usb/typec/altmodes/