altmodes 270 drivers/usb/typec/bus.c struct typec_altmode *typec_match_altmode(struct typec_altmode **altmodes, altmodes 276 drivers/usb/typec/bus.c if (!altmodes[i]) altmodes 278 drivers/usb/typec/bus.c if (altmodes[i]->svid == svid && altmodes[i]->mode == mode) altmodes 279 drivers/usb/typec/bus.c return altmodes[i]; altmodes 180 drivers/usb/typec/tcpm/tcpm.c int altmodes; /* number of alternate modes */ altmodes 1015 drivers/usb/typec/tcpm/tcpm.c if (pmdata->altmodes >= ARRAY_SIZE(port->partner_altmode)) { altmodes 1021 drivers/usb/typec/tcpm/tcpm.c paltmode = &pmdata->altmode_desc[pmdata->altmodes]; altmodes 1029 drivers/usb/typec/tcpm/tcpm.c pmdata->altmodes, paltmode->svid, altmodes 1032 drivers/usb/typec/tcpm/tcpm.c pmdata->altmodes++; altmodes 1042 drivers/usb/typec/tcpm/tcpm.c for (i = 0; i < modep->altmodes; i++) { altmodes 2687 drivers/usb/typec/tcpm/tcpm.c for (i = 0; i < modep->altmodes; i++) { altmodes 110 include/linux/usb/typec_altmode.h struct typec_altmode *typec_match_altmode(struct typec_altmode **altmodes,