Searched refs:enclosure_status (Results 1 – 2 of 2) sorted by relevance
40 enum enclosure_status { enum70 enum enclosure_status);105 enum enclosure_status status;
471 static const char *const enclosure_status[] = { variable520 return snprintf(buf, 40, "%s\n", enclosure_status[ecomp->status]); in get_component_status()531 for (i = 0; enclosure_status[i]; i++) { in set_component_status()532 if (strncmp(buf, enclosure_status[i], in set_component_status()533 strlen(enclosure_status[i])) == 0 && in set_component_status()534 (buf[strlen(enclosure_status[i])] == '\n' || in set_component_status()535 buf[strlen(enclosure_status[i])] == '\0')) in set_component_status()539 if (enclosure_status[i] && edev->cb->set_status) { in set_component_status()