Home
last modified time | relevance | path

Searched refs:enclosure_status (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/include/linux/
Denclosure.h36 enum enclosure_status { enum
66 enum enclosure_status);
94 enum enclosure_status status;
/linux-2.6.39/drivers/misc/
Denclosure.c389 static const char *const enclosure_status [] = { variable
438 return snprintf(buf, 40, "%s\n", enclosure_status[ecomp->status]); in get_component_status()
449 for (i = 0; enclosure_status[i]; i++) { in set_component_status()
450 if (strncmp(buf, enclosure_status[i], in set_component_status()
451 strlen(enclosure_status[i])) == 0 && in set_component_status()
452 (buf[strlen(enclosure_status[i])] == '\n' || in set_component_status()
453 buf[strlen(enclosure_status[i])] == '\0')) in set_component_status()
457 if (enclosure_status[i] && edev->cb->set_status) { in set_component_status()