Lines Matching refs:chassis
553 memset(&dmi->chassis, 0, sizeof(s_chassis)); in dmi_iterate()
563 dmi->chassis.filled = false; in dmi_iterate()
691 dmi->chassis.filled = true; in dmi_decode()
692 strlcpy(dmi->chassis.manufacturer, dmi_string(h, data[0x04]), in dmi_decode()
693 sizeof(dmi->chassis.manufacturer)); in dmi_decode()
694 strlcpy(dmi->chassis.type, dmi_chassis_type(data[0x05] & 0x7F), in dmi_decode()
695 sizeof(dmi->chassis.type)); in dmi_decode()
696 strlcpy(dmi->chassis.lock, dmi_chassis_lock(data[0x05] >> 7), in dmi_decode()
697 sizeof(dmi->chassis.lock)); in dmi_decode()
698 strlcpy(dmi->chassis.version, dmi_string(h, data[0x06]), in dmi_decode()
699 sizeof(dmi->chassis.version)); in dmi_decode()
700 strlcpy(dmi->chassis.serial, dmi_string(h, data[0x07]), in dmi_decode()
701 sizeof(dmi->chassis.serial)); in dmi_decode()
702 strlcpy(dmi->chassis.asset_tag, dmi_string(h, data[0x08]), in dmi_decode()
703 sizeof(dmi->chassis.asset_tag)); in dmi_decode()
706 strlcpy(dmi->chassis.boot_up_state, dmi_chassis_state(data[0x09]), in dmi_decode()
707 sizeof(dmi->chassis.boot_up_state)); in dmi_decode()
708 strlcpy(dmi->chassis.power_supply_state, in dmi_decode()
710 sizeof(dmi->chassis.power_supply_state)); in dmi_decode()
711 strlcpy(dmi->chassis.thermal_state, in dmi_decode()
713 sizeof(dmi->chassis.thermal_state)); in dmi_decode()
714 strlcpy(dmi->chassis.security_status, in dmi_decode()
716 sizeof(dmi->chassis.security_status)); in dmi_decode()
719 snprintf(dmi->chassis.oem_information, in dmi_decode()
720 sizeof(dmi->chassis.oem_information), "0x%08X", in dmi_decode()
724 dmi->chassis.height = data[0x11]; in dmi_decode()
725 dmi->chassis.nb_power_cords = data[0x12]; in dmi_decode()