Home | History | Annotate | Download | only in dmi

Lines Matching refs:code

22  *   For the avoidance of doubt the "preferred form" of this code is one which
26 * are deemed to be part of the source code.
32 const char *dmi_chassis_type(uint8_t code)
67 if (code >= 0x01 && code <= 0x1D)
68 return type[code - 0x01];
72 const char *dmi_chassis_lock(uint8_t code)
79 return lock[code];
82 const char *dmi_chassis_state(uint8_t code)
94 if (code >= 0x01 && code <= 0x06)
95 return (state[code - 0x01]);
99 const char *dmi_chassis_security_status(uint8_t code)
110 if (code >= 0x01 && code <= 0x05)
111 return (status[code - 0x01]);