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