Lines Matching refs:dmi
138 static void compute_memory_module(struct s_my_menu *menu, s_dmi * dmi,
150 dmi->memory[i].form_factor);
152 dmi->memory[i].form_factor);
156 snprintf(buffer, sizeof buffer, "Type : %s", dmi->memory[i].type);
157 snprintf(statbuffer, sizeof statbuffer, "Type: %s", dmi->memory[i].type);
162 dmi->memory[i].type_detail);
164 dmi->memory[i].type_detail);
168 snprintf(buffer, sizeof buffer, "Speed : %s", dmi->memory[i].speed);
170 dmi->memory[i].speed);
174 snprintf(buffer, sizeof buffer, "Size : %s", dmi->memory[i].size);
175 snprintf(statbuffer, sizeof statbuffer, "Size: %s", dmi->memory[i].size);
180 dmi->memory[i].device_set);
182 dmi->memory[i].device_set);
187 dmi->memory[i].device_locator);
189 dmi->memory[i].device_locator);
194 dmi->memory[i].bank_locator);
196 dmi->memory[i].bank_locator);
201 dmi->memory[i].total_width);
203 dmi->memory[i].total_width);
208 dmi->memory[i].data_width);
210 dmi->memory[i].data_width);
214 snprintf(buffer, sizeof buffer, "Error : %s", dmi->memory[i].error);
215 snprintf(statbuffer, sizeof statbuffer, "Error: %s", dmi->memory[i].error);
220 dmi->memory[i].manufacturer);
222 dmi->memory[i].manufacturer);
226 snprintf(buffer, sizeof buffer, "Serial : %s", dmi->memory[i].serial);
228 dmi->memory[i].serial);
233 dmi->memory[i].asset_tag);
235 dmi->memory[i].asset_tag);
240 dmi->memory[i].part_number);
242 dmi->memory[i].part_number);
249 static void compute_memory_module_type6(struct s_my_menu *menu, s_dmi * dmi,
261 dmi->memory_module[i].socket_designation);
263 dmi->memory_module[i].socket_designation);
268 dmi->memory_module[i].bank_connections);
270 dmi->memory_module[i].bank_connections);
275 dmi->memory_module[i].type);
277 dmi->memory_module[i].type);
282 dmi->memory_module[i].speed);
284 dmi->memory_module[i].speed);
289 dmi->memory_module[i].installed_size);
291 dmi->memory_module[i].installed_size);
296 dmi->memory_module[i].enabled_size);
298 dmi->memory_module[i].enabled_size);
303 dmi->memory_module[i].error_status);
305 dmi->memory_module[i].error_status);
312 void compute_memory(struct s_hdt_menu *menu, s_dmi * dmi,
320 if (dmi->memory_count > 0) {
321 memory_count = dmi->memory_count;
322 for (i = 0; i < dmi->memory_count; i++) {
323 compute_memory_module(&(menu->memory_sub_menu[i]), dmi, i);
325 } else if (dmi->memory_module_count > 0) {
326 memory_count = dmi->memory_module_count;
328 for (i = 0; i < dmi->memory_module_count; i++) {
329 compute_memory_module_type6(&(menu->memory_sub_menu[i]), dmi, i);