Home
last modified time | relevance | path

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

/linux-6.1.9/arch/loongarch/kernel/
Dsetup.c111 char *dmi_data = (char *)dm; in parse_cpu_table() local
113 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() local
127 b_info.bios_size = (*(dmi_data + SMBIOS_BIOSSIZE_OFFSET) + 1) << 6; in parse_bios_table()
/linux-6.1.9/drivers/hwmon/
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()
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()
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/
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()
/linux-6.1.9/drivers/acpi/
Dbattery.c881 const u8 *dmi_data = (const u8 *)(dm + 1); in find_battery() local
882 int dmi_capacity = get_unaligned((const u16 *)(dmi_data + 6)); in find_battery()
885 dmi_capacity *= dmi_data[17]; in find_battery()
/linux-6.1.9/drivers/cpufreq/
Dcppc_cpufreq.c294 const u8 *dmi_data = (const u8 *)dm; in cppc_find_dmi_mhz() local
300 (dmi_data + DMI_PROCESSOR_MAX_SPEED)); in cppc_find_dmi_mhz()
/linux-6.1.9/sound/soc/codecs/
Drt5645.c3860 const struct dmi_system_id *dmi_data; in rt5645_i2c_probe() local
3874 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()
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c990 const u8 *dmi_data = (const u8 *)(dm + 1); in find_system_memory() local
993 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()
/linux-6.1.9/drivers/platform/x86/
Dthinkpad_acpi.c11259 const char *dmi_data = (const char *)dm; in find_new_ec_fwstr() local
11278 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()