Searched refs:dmi_data (Results 1 – 11 of 11) sorted by relevance
126 char *dmi_data = (char *)dm; in parse_cpu_table() local128 freq_temp = ((*(dmi_data + SMBIOS_FREQHIGH_OFFSET) << 8) + in parse_cpu_table()129 ((*(dmi_data + SMBIOS_FREQLOW_OFFSET)) & SMBIOS_FREQLOW_MASK)); in parse_cpu_table()132 loongson_sysconf.cpuname = (void *)dmi_string_parse(dm, dmi_data[16]); in parse_cpu_table()133 loongson_sysconf.cores_per_package = *(dmi_data + SMBIOS_THREAD_PACKAGE_OFFSET); in parse_cpu_table()140 char *dmi_data = (char *)dm; in parse_bios_table() local142 b_info.bios_size = (*(dmi_data + SMBIOS_BIOSSIZE_OFFSET) + 1) << 6; in parse_bios_table()
108 const struct dmi_system_id *dmi_data; in rt_amp_add_device_props() local113 dmi_data = dmi_first_match(dmi_platform_data); in rt_amp_add_device_props()114 if (!dmi_data) in rt_amp_add_device_props()117 pdata = dmi_data->driver_data; in rt_amp_add_device_props()
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()
639 static struct it87_dmi_data *dmi_data; variable3133 if (dmi_data) in it87_find()3134 sio_data->skip_pwm |= dmi_data->skip_pwm; in it87_find()3635 dmi_data = dmi_entry->driver_data; in it87_dmi_cb()3637 if (dmi_data && dmi_data->skip_pwm) in it87_dmi_cb()
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()
909 const u8 *dmi_data = (const u8 *)(dm + 1); in find_battery() local910 int dmi_capacity = get_unaligned((const u16 *)(dmi_data + 6)); in find_battery()913 dmi_capacity *= dmi_data[17]; in find_battery()
1875 const u8 *dmi_data = (const u8 *)dm; in cppc_find_dmi_mhz() local1881 (dmi_data + DMI_PROCESSOR_MAX_SPEED)); in cppc_find_dmi_mhz()
3908 const struct dmi_system_id *dmi_data; in rt5645_i2c_probe() local3922 dmi_data = dmi_first_match(dmi_platform_data); in rt5645_i2c_probe()3923 if (dmi_data) { in rt5645_i2c_probe()3924 dev_info(&i2c->dev, "Detected %s platform\n", dmi_data->ident); in rt5645_i2c_probe()3925 pdata = dmi_data->driver_data; in rt5645_i2c_probe()
975 const u8 *dmi_data = (const u8 *)(dm + 1); in find_system_memory() local978 mem_width = (u16)(*(const u16 *)(dmi_data + 0x6)); in find_system_memory()979 mem_clock = (u16)(*(const u16 *)(dmi_data + 0x11)); in find_system_memory()
11225 const char *dmi_data = (const char *)dm; in find_new_ec_fwstr() local11244 memcmp(dmi_data + 4, "LENOVO", 6) != 0 || in find_new_ec_fwstr()11245 dmi_data[0x0A] != 0x0B || dmi_data[0x0B] != 0x07 || in find_new_ec_fwstr()11246 dmi_data[0x0C] != 0x01) in find_new_ec_fwstr()11250 strncpy(ec_fw_string, dmi_data + 0x0F, 8); in find_new_ec_fwstr()