/external/syslinux/com32/gpllib/dmi/ |
dmi_base_board.c | 29 #include <dmi/dmi.h>
|
dmi_bios.c | 29 #include <dmi/dmi.h>
|
dmi.c | 31 #include "dmi/dmi.h" 65 static void dmi_on_board_devices(struct dmi_header *h, s_dmi * dmi) 74 sizeof dmi->base_board.devices_information / 75 sizeof *dmi->base_board.devices_information; i++) { 76 strlcpy(dmi->base_board.devices_information[i].type, 78 sizeof dmi->base_board.devices_information[i].type); 79 dmi->base_board.devices_information[i].status = p[2 * i] & 0x80; 80 strlcpy(dmi->base_board.devices_information[i].description, 82 sizeof dmi->base_board.devices_information[i].description) [all...] |
dmi_ipmi.c | 29 #include <dmi/dmi.h>
|
dmi_battery.c | 29 #include <dmi/dmi.h>
|
dmi_chassis.c | 29 #include <dmi/dmi.h>
|
dmi_cache.c | 5 * Some part borrowed from DMI Decode: 18 #include <dmi/dmi.h> 19 #include <dmi/dmi_cache.h>
|
dmi_processor.c | 29 #include <dmi/dmi.h>
|
/external/syslinux/com32/modules/ |
dmitest.c | 32 * DMI demo program using libcom32 38 #include "dmi/dmi.h" 42 void display_memory(s_dmi * dmi) 45 for (i = 0; i < dmi->memory_count; i++) { 47 moreprintf("\tForm Factor : %s\n", dmi->memory[i].form_factor); 48 moreprintf("\tType : %s\n", dmi->memory[i].type); 49 moreprintf("\tType Detail : %s\n", dmi->memory[i].type_detail); 50 moreprintf("\tSpeed : %s\n", dmi->memory[i].speed); 51 moreprintf("\tSize : %s\n", dmi->memory[i].size) 181 s_dmi dmi; local [all...] |
dmi_utils.c | 30 #include "dmi/dmi.h" 32 void display_bios_characteristics(s_dmi * dmi) 36 if (((bool *) (&dmi->bios.characteristics))[i] == true) { 41 if (((bool *) (&dmi->bios.characteristics_x1))[i] == true) { 47 if (((bool *) (&dmi->bios.characteristics_x2))[i] == true) { 53 void display_base_board_features(s_dmi * dmi) 57 if (((bool *) (&dmi->base_board.features))[i] == true) { 63 void display_processor_flags(s_dmi * dmi) 67 if (((bool *) (&dmi->processor.cpu_flags))[i] == true) [all...] |
/external/syslinux/com32/hdt/ |
hdt-dump-dmi.c | 33 if (!hardware->dmi.hardware_security.filled) { 35 add_s("dmi.warning","No hardware security structure found"); 41 add_s("dmi.item","hardware_security"); 42 add_hs(dmi.hardware_security.power_on_passwd_status); 43 add_hs(dmi.hardware_security.keyboard_passwd_status); 44 add_hs(dmi.hardware_security.administrator_passwd_status); 45 add_hs(dmi.hardware_security.front_panel_reset_status); 50 if (strlen(hardware->dmi.oem_strings) == 0) { 52 add_s("dmi.warning","No OEM structure found"); 57 add_s("dmi.item","OEM") [all...] |
hdt-cli-dmi.c | 44 more_printf("Available DMI modules on your system:\n"); 45 if (hardware->dmi.base_board.filled == true) 47 if (hardware->dmi.battery.filled == true) 49 if (hardware->dmi.bios.filled == true) 51 if (hardware->dmi.chassis.filled == true) 53 for (int i = 0; i < hardware->dmi.memory_count; i++) { 54 if (hardware->dmi.memory[i].filled == true) { 59 for (int i = 0; i < hardware->dmi.memory_module_count; i++) { 60 if (hardware->dmi.memory_module[i].filled == true) { 65 if (hardware->dmi.processor.filled == true [all...] |
hdt-menu-dmi.c | 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) [all...] |
hdt-menu-memory.c | 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) [all...] |
hdt-menu.c | 149 /* Compute this menu if a DMI table exists */ 151 if (hardware->dmi.ipmi.filled == true) 152 compute_ipmi(&hdt_menu->ipmi_menu, &hardware->dmi); 153 if (hardware->dmi.base_board.filled == true) 154 compute_motherboard(&(hdt_menu->mobo_menu), &(hardware->dmi)); 155 if (hardware->dmi.chassis.filled == true) 156 compute_chassis(&(hdt_menu->chassis_menu), &(hardware->dmi)); 157 if (hardware->dmi.system.filled == true) 158 compute_system(&(hdt_menu->system_menu), &(hardware->dmi)); 159 compute_memory(hdt_menu, &(hardware->dmi), hardware) [all...] |
hdt-menu.h | 39 #include "dmi/dmi.h" 101 // DMI Stuff 102 void compute_motherboard(struct s_my_menu *menu, s_dmi * dmi); 103 void compute_battery(struct s_my_menu *menu, s_dmi * dmi); 104 void compute_system(struct s_my_menu *menu, s_dmi * dmi); 105 void compute_chassis(struct s_my_menu *menu, s_dmi * dmi); 106 void compute_bios(struct s_my_menu *menu, s_dmi * dmi); 107 void compute_memory(struct s_hdt_menu *menu, s_dmi * dmi, 109 void compute_ipmi(struct s_my_menu *menu, s_dmi * dmi); [all...] |
hdt-menu-summary.c | 56 if (hardware->dmi.processor.thread_count != 0) 57 sprintf(buffer, ", %d thread", hardware->dmi.processor.thread_count); 79 hardware->dmi.system.manufacturer); 81 hardware->dmi.system.manufacturer); 86 hardware->dmi.system.product_name); 88 "System Product Name: %s", hardware->dmi.system.product_name); 93 hardware->dmi.system.serial); 95 "System Serial Number: %s", hardware->dmi.system.serial); 102 hardware->dmi.bios.version); 104 hardware->dmi.bios.version) [all...] |
hdt-dump.c | 52 dump_options[1].item = hardware->dmi.system.manufacturer; 55 dump_options[2].item = hardware->dmi.system.product_name; 58 dump_options[3].item = hardware->dmi.base_board.asset_tag; 61 dump_options[4].item = hardware->dmi.base_board.serial; 64 dump_options[5].item = hardware->dmi.chassis.asset_tag; 67 dump_options[6].item = hardware->dmi.chassis.serial; 70 dump_options[7].item = hardware->dmi.system.sku_number; 73 dump_options[8].item = hardware->dmi.system.serial;
|
hdt-cli-cpu.c | 54 if (hardware->dmi.processor.thread_count != 0) 55 more_printf(" CPU Threads : %d \n", hardware->dmi.processor.thread_count); 60 hardware->dmi.processor.current_speed); 117 if (hardware->dmi.processor.core_enabled != 0) 118 more_printf("CPU Enable: %d\n", hardware->dmi.processor.core_enabled); 119 if (hardware->dmi.processor.thread_count != 0) 120 more_printf("CPU Thread: %d \n", hardware->dmi.processor.thread_count); 130 hardware->dmi.processor.external_clock); 132 hardware->dmi.processor.current_speed); 133 more_printf("Max Speed : %d MHz\n", hardware->dmi.processor.max_speed) [all...] |
hdt-menu-processor.c | 87 if (hardware->dmi.processor.core_enabled != 0) { 88 snprintf(buffer, sizeof buffer, "CPU Enable: %d", hardware->dmi.processor.core_enabled); 90 hardware->dmi.processor.core_enabled); 95 if (hardware->dmi.processor.thread_count != 0) { 96 snprintf(buffer, sizeof buffer, "CPU Thread: %d", hardware->dmi.processor.thread_count); 98 hardware->dmi.processor.thread_count); 140 hardware->dmi.processor.external_clock); 143 hardware->dmi.processor.external_clock); 148 hardware->dmi.processor.current_speed); 151 hardware->dmi.processor.current_speed) [all...] |
/external/syslinux/com32/sysdump/ |
dmi.c | 2 * Dump DMI information in a way hopefully compatible with dmidecode 30 struct dmi_header dmi; member in struct:smbios_header 46 const struct dmi_header *dmi = (void *)dptr; local 48 return !memcmp(dmi->signature, "_DMI_", 5) && 49 !checksum(dmi, 0x0f); 68 snprintf(filename, sizeof filename, "dmi/%05x.%08x", 69 dptr, smb->dmi.tbladdr); 70 cpio_hdr(be, MODE_FILE, smb->dmi.tbllen + 32, filename); 75 * since it includes the checksum on the dmi table. 77 smx.dmi.tbladdr = sizeof smx 86 const struct dmi_header *dmi = (void *)dptr; local 88 struct dmi_header dmi; member in struct:fake [all...] |
/external/syslinux/core/ |
dmi.c | 29 * Search DMI information for specific data or strings 65 struct dmi_header dmi; member in struct:smbios_header 68 static const struct dmi_header *dmi; variable in typeref:struct:dmi_header 83 const struct dmi_header *dmi = (void *)dptr; local 85 return !memcmp(dmi->signature, "_DMI_", 5) && 86 !checksum(dmi, 0x0f); 109 dmi = (const struct dmi_header *)(dptr + 16); 112 dmi = (const struct dmi_header *)dptr; 128 if (!dmi) 137 tblcount = dmi->nstruc [all...] |
/external/syslinux/com32/gplinclude/dmi/ |
dmi.h | 87 void dmi_bios_runtime_size(uint32_t code, s_dmi * dmi); 90 void parse_dmitable(s_dmi * dmi); 91 void dmi_decode(struct dmi_header *h, uint16_t ver, s_dmi * dmi); 92 int dmi_iterate(s_dmi * dmi); 95 void display_bios_characteristics(s_dmi * dmi); 96 void display_base_board_features(s_dmi * dmi); 97 void display_processor_flags(s_dmi * dmi);
|
/external/syslinux/com32/lua/src/ |
dmi.c | 10 #include "dmi/dmi.h" 44 /* Add a sub-DMI table to the table on stack 83 ** DMI subtables 435 /* dmi info */ 468 ** End of DMI subtables 475 s_dmi dmi; local 479 if ( ! dmi_iterate(&dmi) ) { 480 printf("No DMI Structure found\n"); 484 parse_dmitable(&dmi); 513 s_dmi dmi; local [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
BrightnessIdleJob.java | 72 DisplayManagerInternal dmi = LocalServices.getService(DisplayManagerInternal.class); local 73 dmi.persistBrightnessTrackerState();
|