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