Home
last modified time | relevance | path

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

/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.c151 const char *dmi_data = dmi_get_system_info(field); in i8k_get_dmi_data() local
153 return dmi_data && *dmi_data ? dmi_data : "?"; in i8k_get_dmi_data()
/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()
/drivers/cpufreq/
Dcppc_cpufreq.c277 const u8 *dmi_data = (const u8 *)dm; in cppc_find_dmi_mhz() local
283 (dmi_data + DMI_PROCESSOR_MAX_SPEED)); in cppc_find_dmi_mhz()
/drivers/acpi/
Dbattery.c890 const u8 *dmi_data = (const u8 *)(dm + 1); in find_battery() local
891 int dmi_capacity = get_unaligned((const u16 *)(dmi_data + 6)); in find_battery()
894 dmi_capacity *= dmi_data[17]; in find_battery()
/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c928 const u8 *dmi_data = (const u8 *)(dm + 1); in find_system_memory() local
931 mem_width = (u16)(*(const u16 *)(dmi_data + 0x6)); in find_system_memory()
932 mem_clock = (u16)(*(const u16 *)(dmi_data + 0x11)); in find_system_memory()
/drivers/platform/x86/
Dthinkpad_acpi.c10889 const char *dmi_data = (const char *)dm; in find_new_ec_fwstr() local
10908 memcmp(dmi_data + 4, "LENOVO", 6) != 0 || in find_new_ec_fwstr()
10909 dmi_data[0x0A] != 0x0B || dmi_data[0x0B] != 0x07 || in find_new_ec_fwstr()
10910 dmi_data[0x0C] != 0x01) in find_new_ec_fwstr()
10914 strncpy(ec_fw_string, dmi_data + 0x0F, 8); in find_new_ec_fwstr()