Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/usb/typec/
Dbus.c278 struct typec_altmode *typec_match_altmode(struct typec_altmode **altmodes, in typec_match_altmode() argument
284 if (!altmodes[i]) in typec_match_altmode()
286 if (altmodes[i]->svid == svid && altmodes[i]->mode == mode) in typec_match_altmode()
287 return altmodes[i]; in typec_match_altmode()
DMakefile5 obj-$(CONFIG_TYPEC) += altmodes/
DKconfig116 source "drivers/usb/typec/altmodes/Kconfig"
Dclass.c1974 struct typec_altmode **altmodes, size_t n) in typec_port_register_altmodes() argument
2020 altmodes[index] = alt; in typec_port_register_altmodes()
/linux-5.19.10/include/linux/usb/
Dtypec_altmode.h122 struct typec_altmode *typec_match_altmode(struct typec_altmode **altmodes,
Dtypec.h145 struct typec_altmode **altmodes, size_t n);
/linux-5.19.10/drivers/usb/typec/tcpm/
Dtcpm.c268 int altmodes; /* number of alternate modes */ member
1513 if (pmdata->altmodes >= ARRAY_SIZE(port->partner_altmode)) { in svdm_consume_modes()
1519 paltmode = &pmdata->altmode_desc[pmdata->altmodes]; in svdm_consume_modes()
1527 pmdata->altmodes, paltmode->svid, in svdm_consume_modes()
1530 pmdata->altmodes++; in svdm_consume_modes()
1540 for (i = 0; i < modep->altmodes; i++) { in tcpm_register_partner_altmodes()
3636 for (i = 0; i < modep->altmodes; i++) { in tcpm_unregister_altmodes()
/linux-5.19.10/
DMAINTAINERS20846 F: drivers/usb/typec/altmodes/