typec_match_altmode
amode = typec_match_altmode(typec->ports[port_num]->port_altmode,
amode = typec_match_altmode(typec->ports[port_num]->port_altmode, CROS_EC_ALTMODE_MAX,
EXPORT_SYMBOL_GPL(typec_match_altmode);
pdev_prime = typec_match_altmode(port->plug_prime_altmode,
pdev = typec_match_altmode(port->partner_altmode,
pdev = typec_match_altmode(port->partner_altmode,
adev = typec_match_altmode(port->port_altmode, ALTMODE_DISCOVERY_MAX,
struct typec_altmode *typec_match_altmode(struct typec_altmode **altmodes,