typec_roles 917 drivers/usb/typec/class.c static const char * const typec_roles[] = { typec_roles 963 drivers/usb/typec/class.c role = sysfs_match_string(typec_roles, buf); typec_roles 991 drivers/usb/typec/class.c return sprintf(buf, "%s\n", typec_roles[port->prefer_role]); typec_roles 1062 drivers/usb/typec/class.c ret = sysfs_match_string(typec_roles, buf); typec_roles 1093 drivers/usb/typec/class.c return sprintf(buf, "[%s]\n", typec_roles[port->pwr_role]); typec_roles 1415 drivers/usb/typec/class.c return match_string(typec_roles, ARRAY_SIZE(typec_roles), name);