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

/linux-master/include/linux/
H A Denclosure.h29 enum enclosure_status { enum
59 enum enclosure_status);
94 enum enclosure_status status;
/linux-master/drivers/misc/
H A Denclosure.c458 static const char *const enclosure_status[] = { variable
507 return sysfs_emit(buf, "%s\n", enclosure_status[ecomp->status]);
518 for (i = 0; enclosure_status[i]; i++) {
519 if (strncmp(buf, enclosure_status[i],
520 strlen(enclosure_status[i])) == 0 &&
521 (buf[strlen(enclosure_status[i])] == '\n' ||
522 buf[strlen(enclosure_status[i])] == '\0'))
526 if (enclosure_status[i] && edev->cb->set_status) {

Completed in 190 milliseconds