Home
last modified time | relevance | path

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

/linux-4.19.296/include/linux/ !
Denclosure.h40 enum enclosure_status { enum
70 enum enclosure_status);
105 enum enclosure_status status;
/linux-4.19.296/drivers/misc/ !
Denclosure.c470 static const char *const enclosure_status[] = { variable
519 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()