Home
last modified time | relevance | path

Searched refs:dmi_data (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/arch/loongarch/kernel/
H A Dsetup.c126 char *dmi_data = (char *)dm; in parse_cpu_table() local
128 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() local
142 b_info.bios_size = (*(dmi_data + SMBIOS_BIOSSIZE_OFFSET) + 1) << 6; in parse_bios_table()
/openbmc/linux/sound/soc/intel/boards/
H A Dsof_sdw_rt_amp.c108 const struct dmi_system_id *dmi_data; in rt_amp_add_device_props() local
113 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()
/openbmc/linux/drivers/hwmon/
H A Dfschmd.c978 u8 *dmi_data = (u8 *)header; in fschmd_dmi_decode() local
988 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()
H A Ddell-smm-hwmon.c164 const char *dmi_data = dmi_get_system_info(field); in i8k_get_dmi_data() local
166 return dmi_data && *dmi_data ? dmi_data : "?"; in i8k_get_dmi_data()
H A Dit87.c639 static struct it87_dmi_data *dmi_data; variable
3133 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()
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-intel.c42 const struct stmmac_pci_dmi_data *dmi_data; in stmmac_pci_find_phy_addr() local
51 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()
/openbmc/linux/drivers/acpi/
H A Dbattery.c909 const u8 *dmi_data = (const u8 *)(dm + 1); in find_battery() local
910 int dmi_capacity = get_unaligned((const u16 *)(dmi_data + 6)); in find_battery()
913 dmi_capacity *= dmi_data[17]; in find_battery()
H A Dcppc_acpi.c1875 const u8 *dmi_data = (const u8 *)dm; in cppc_find_dmi_mhz() local
1881 (dmi_data + DMI_PROCESSOR_MAX_SPEED)); in cppc_find_dmi_mhz()
/openbmc/linux/sound/soc/codecs/
H A Drt5645.c3908 const struct dmi_system_id *dmi_data; in rt5645_i2c_probe() local
3922 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()
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_topology.c975 const u8 *dmi_data = (const u8 *)(dm + 1); in find_system_memory() local
978 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()
/openbmc/linux/drivers/platform/x86/
H A Dthinkpad_acpi.c11225 const char *dmi_data = (const char *)dm; in find_new_ec_fwstr() local
11244 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()