Searched refs:typec_roles (Results 1 – 1 of 1) sorted by relevance
1330 static const char * const typec_roles[] = { variable1376 role = sysfs_match_string(typec_roles, buf); in preferred_role_store()1404 return sprintf(buf, "%s\n", typec_roles[port->prefer_role]); in preferred_role_show()1470 ret = sysfs_match_string(typec_roles, buf); in power_role_store()1501 return sprintf(buf, "[%s]\n", typec_roles[port->pwr_role]); in power_role_show()1936 return match_string(typec_roles, ARRAY_SIZE(typec_roles), name); in typec_find_power_role()