Home | History | Annotate | Download | only in hdt

Lines Matching refs:dmi

32 void compute_system(struct s_my_menu *menu, s_dmi * dmi)
41 snprintf(buffer, sizeof buffer, "Vendor : %s", dmi->system.manufacturer);
43 dmi->system.manufacturer);
47 snprintf(buffer, sizeof buffer, "Product : %s", dmi->system.product_name);
49 dmi->system.product_name);
53 snprintf(buffer, sizeof buffer, "Version : %s", dmi->system.version);
54 snprintf(statbuffer, sizeof statbuffer, "Version: %s", dmi->system.version);
58 snprintf(buffer, sizeof buffer, "Serial : %s", dmi->system.serial);
60 dmi->system.serial);
64 snprintf(buffer, sizeof buffer, "UUID : %s", dmi->system.uuid);
65 snprintf(statbuffer, sizeof statbuffer, "UUID: %s", dmi->system.uuid);
69 snprintf(buffer, sizeof buffer, "Wakeup : %s", dmi->system.wakeup_type);
71 dmi->system.wakeup_type);
75 snprintf(buffer, sizeof buffer, "SKU Number: %s", dmi->system.sku_number);
77 dmi->system.sku_number);
81 snprintf(buffer, sizeof buffer, "Family : %s", dmi->system.family);
82 snprintf(statbuffer, sizeof statbuffer, "Family: %s", dmi->system.family);
90 void compute_chassis(struct s_my_menu *menu, s_dmi * dmi)
99 dmi->chassis.manufacturer);
101 dmi->chassis.manufacturer);
105 snprintf(buffer, sizeof buffer, "Type : %s", dmi->chassis.type);
106 snprintf(statbuffer, sizeof statbuffer, "Type: %s", dmi->chassis.type);
110 snprintf(buffer, sizeof buffer, "Version : %s", dmi->chassis.version);
112 dmi->chassis.version);
116 snprintf(buffer, sizeof buffer, "Serial : %s", dmi->chassis.serial);
118 dmi->chassis.serial);
123 del_multi_spaces(dmi->chassis.asset_tag));
125 del_multi_spaces(dmi->chassis.asset_tag));
129 snprintf(buffer, sizeof buffer, "Lock : %s", dmi->chassis.lock);
130 snprintf(statbuffer, sizeof statbuffer, "Lock: %s", dmi->chassis.lock);
138 void compute_bios(struct s_my_menu *menu, s_dmi * dmi)
147 snprintf(buffer, sizeof buffer, "Vendor : %s", dmi->bios.vendor);
148 snprintf(statbuffer, sizeof statbuffer, "Vendor: %s", dmi->bios.vendor);
152 snprintf(buffer, sizeof buffer, "Version : %s", dmi->bios.version);
153 snprintf(statbuffer, sizeof statbuffer, "Version: %s", dmi->bios.version);
157 snprintf(buffer, sizeof buffer, "Release : %s", dmi->bios.release_date);
159 dmi->bios.release_date);
163 snprintf(buffer, sizeof buffer, "Bios Rev. : %s", dmi->bios.bios_revision);
165 dmi->bios.bios_revision);
170 dmi->bios.firmware_revision);
172 dmi->bios.firmware_revision);
179 void compute_motherboard(struct s_my_menu *menu, s_dmi * dmi)
189 dmi->base_board.manufacturer);
191 dmi->base_board.manufacturer);
196 dmi->base_board.product_name);
198 dmi->base_board.product_name);
202 snprintf(buffer, sizeof buffer, "Version : %s", dmi->base_board.version);
204 dmi->base_board.version);
208 snprintf(buffer, sizeof buffer, "Serial : %s", dmi->base_board.serial);
210 dmi->base_board.serial);
215 dmi->base_board.asset_tag);
217 dmi->base_board.asset_tag);
221 snprintf(buffer, sizeof buffer, "Location : %s", dmi->base_board.location);
223 dmi->base_board.location);
227 snprintf(buffer, sizeof buffer, "Type : %s", dmi->base_board.type);
228 snprintf(statbuffer, sizeof statbuffer, "Type: %s", dmi->base_board.type);
236 void compute_ipmi(struct s_my_menu *menu, s_dmi * dmi)
245 dmi->ipmi.interface_type);
247 dmi->ipmi.interface_type);
252 dmi->ipmi.major_specification_version,
253 dmi->ipmi.minor_specification_version);
255 dmi->ipmi.major_specification_version,
256 dmi->ipmi.minor_specification_version);
261 dmi->ipmi.I2C_slave_address);
263 dmi->ipmi.I2C_slave_address);
268 dmi->ipmi.nv_address);
270 dmi->ipmi.nv_address);
274 uint32_t high = dmi->ipmi.base_address >> 32;
275 uint32_t low = dmi->ipmi.base_address & 0xFFFF;
284 snprintf(buffer, sizeof buffer, "IRQ : %d", dmi->ipmi.irq);
285 snprintf(statbuffer, sizeof statbuffer, "IRQ : %d", dmi->ipmi.irq);
293 void compute_battery(struct s_my_menu *menu, s_dmi * dmi)
302 dmi->battery.manufacturer);
304 dmi->battery.manufacturer);
309 dmi->battery.manufacture_date);
311 dmi->battery.manufacture_date);
316 dmi->battery.serial);
317 snprintf(statbuffer, sizeof statbuffer, "Serial: %s", dmi->battery.serial);
321 snprintf(buffer, sizeof buffer, "Name : %s", dmi->battery.name);
322 snprintf(statbuffer, sizeof statbuffer, "Name: %s", dmi->battery.name);
327 dmi->battery.chemistry);
329 dmi->battery.chemistry);
334 dmi->battery.design_capacity);
336 dmi->battery.design_capacity);
341 dmi->battery.design_voltage);
343 dmi->battery.design_voltage);
347 snprintf(buffer, sizeof buffer, "SBDS : %s", dmi->battery.sbds);
348 snprintf(statbuffer, sizeof statbuffer, "SBDS: %s", dmi->battery.sbds);
353 dmi->battery.sbds_manufacture_date);
355 dmi->battery.sbds_manufacture_date);
360 dmi->battery.sbds_chemistry);
362 dmi->battery.sbds_chemistry);
367 dmi->battery.maximum_error);
369 dmi->battery.maximum_error);
374 dmi->battery.oem_info);
376 dmi->battery.oem_info);