Searched refs:enclosure_status (Results 1 – 2 of 2) sorted by relevance
36 enum enclosure_status { enum66 enum enclosure_status);101 enum enclosure_status status;
465 static const char *const enclosure_status [] = { variable514 return snprintf(buf, 40, "%s\n", enclosure_status[ecomp->status]); in get_component_status()525 for (i = 0; enclosure_status[i]; i++) { in set_component_status()526 if (strncmp(buf, enclosure_status[i], in set_component_status()527 strlen(enclosure_status[i])) == 0 && in set_component_status()528 (buf[strlen(enclosure_status[i])] == '\n' || in set_component_status()529 buf[strlen(enclosure_status[i])] == '\0')) in set_component_status()533 if (enclosure_status[i] && edev->cb->set_status) { in set_component_status()