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;
470 static const char *const enclosure_status[] = { variable519 return snprintf(buf, 40, "%s\n", enclosure_status[ecomp->status]); in get_component_status()530 for (i = 0; enclosure_status[i]; i++) { in set_component_status()531 if (strncmp(buf, enclosure_status[i], in set_component_status()532 strlen(enclosure_status[i])) == 0 && in set_component_status()533 (buf[strlen(enclosure_status[i])] == '\n' || in set_component_status()534 buf[strlen(enclosure_status[i])] == '\0')) in set_component_status()538 if (enclosure_status[i] && edev->cb->set_status) { in set_component_status()