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