Searched refs:dmi_data (Results 1 – 9 of 9) sorted by relevance
111 char *dmi_data = (char *)dm; in parse_cpu_table() local113 freq_temp = ((*(dmi_data + SMBIOS_FREQHIGH_OFFSET) << 8) + in parse_cpu_table()114 ((*(dmi_data + SMBIOS_FREQLOW_OFFSET)) & SMBIOS_FREQLOW_MASK)); in parse_cpu_table()117 loongson_sysconf.cpuname = (void *)dmi_string_parse(dm, dmi_data[16]); in parse_cpu_table()118 loongson_sysconf.cores_per_package = *(dmi_data + SMBIOS_CORE_PACKAGE_OFFSET); in parse_cpu_table()125 char *dmi_data = (char *)dm; in parse_bios_table() local127 b_info.bios_size = (*(dmi_data + SMBIOS_BIOSSIZE_OFFSET) + 1) << 6; in parse_bios_table()
978 u8 *dmi_data = (u8 *)header; in fschmd_dmi_decode() local988 if (header->length < 5 || dmi_data[4] != 19) in fschmd_dmi_decode()998 if (dmi_data[i] >= 1 && dmi_data[i] <= 3) { in fschmd_dmi_decode()1001 int in = shuffle[dmi_data[i] - 1]; in fschmd_dmi_decode()1007 mult[in] = dmi_data[i + 1] | (dmi_data[i + 2] << 8); in fschmd_dmi_decode()1008 offset[in] = dmi_data[i + 3] | (dmi_data[i + 4] << 8); in fschmd_dmi_decode()1014 if (dmi_data[i] == 7) { in fschmd_dmi_decode()1019 vref = dmi_data[i + 1] | (dmi_data[i + 2] << 8); in fschmd_dmi_decode()
164 const char *dmi_data = dmi_get_system_info(field); in i8k_get_dmi_data() local166 return dmi_data && *dmi_data ? dmi_data : "?"; in i8k_get_dmi_data()
42 const struct stmmac_pci_dmi_data *dmi_data; in stmmac_pci_find_phy_addr() local51 dmi_data = dmi_id->driver_data; in stmmac_pci_find_phy_addr()52 func_data = dmi_data->func; in stmmac_pci_find_phy_addr()54 for (n = 0; n < dmi_data->nfuncs; n++, func_data++) in stmmac_pci_find_phy_addr()
881 const u8 *dmi_data = (const u8 *)(dm + 1); in find_battery() local882 int dmi_capacity = get_unaligned((const u16 *)(dmi_data + 6)); in find_battery()885 dmi_capacity *= dmi_data[17]; in find_battery()
294 const u8 *dmi_data = (const u8 *)dm; in cppc_find_dmi_mhz() local300 (dmi_data + DMI_PROCESSOR_MAX_SPEED)); in cppc_find_dmi_mhz()
3860 const struct dmi_system_id *dmi_data; in rt5645_i2c_probe() local3874 dmi_data = dmi_first_match(dmi_platform_data); in rt5645_i2c_probe()3875 if (dmi_data) { in rt5645_i2c_probe()3876 dev_info(&i2c->dev, "Detected %s platform\n", dmi_data->ident); in rt5645_i2c_probe()3877 pdata = dmi_data->driver_data; in rt5645_i2c_probe()
990 const u8 *dmi_data = (const u8 *)(dm + 1); in find_system_memory() local993 mem_width = (u16)(*(const u16 *)(dmi_data + 0x6)); in find_system_memory()994 mem_clock = (u16)(*(const u16 *)(dmi_data + 0x11)); in find_system_memory()
11259 const char *dmi_data = (const char *)dm; in find_new_ec_fwstr() local11278 memcmp(dmi_data + 4, "LENOVO", 6) != 0 || in find_new_ec_fwstr()11279 dmi_data[0x0A] != 0x0B || dmi_data[0x0B] != 0x07 || in find_new_ec_fwstr()11280 dmi_data[0x0C] != 0x01) in find_new_ec_fwstr()11284 strncpy(ec_fw_string, dmi_data + 0x0F, 8); in find_new_ec_fwstr()