/drivers/acpi/x86/ |
D | utils.c | 45 #define ENTRY(status, hid, uid, path, cpu_model, dmi...) { \ argument 48 { { .matches = dmi }, {} }, \ 54 #define PRESENT_ENTRY_HID(hid, uid, cpu_model, dmi...) \ argument 55 ENTRY(ACPI_STA_DEFAULT, hid, uid, NULL, cpu_model, dmi) 57 #define NOT_PRESENT_ENTRY_HID(hid, uid, cpu_model, dmi...) \ argument 58 ENTRY(0, hid, uid, NULL, cpu_model, dmi) 60 #define PRESENT_ENTRY_PATH(path, cpu_model, dmi...) \ argument 61 ENTRY(ACPI_STA_DEFAULT, "", NULL, path, cpu_model, dmi) 63 #define NOT_PRESENT_ENTRY_PATH(path, cpu_model, dmi...) \ argument 64 ENTRY(0, "", NULL, path, cpu_model, dmi)
|
/drivers/md/ |
D | dm-init.c | 39 struct dm_ioctl dmi; member 72 for (i = 0; i < dev->dmi.target_count; i++) { in dm_setup_cleanup() 114 const unsigned int n = dev->dmi.target_count - 1; in dm_parse_table_entry() 169 if (++dev->dmi.target_count > DM_MAX_TARGETS) { in dm_parse_table() 171 dev->dmi.target_count, DM_MAX_TARGETS); in dm_parse_table() 211 strscpy(dev->dmi.name, field[0], sizeof(dev->dmi.name)); in dm_parse_device_entry() 213 strscpy(dev->dmi.uuid, field[1], sizeof(dev->dmi.uuid)); in dm_parse_device_entry() 216 if (kstrtoull(field[2], 0, &dev->dmi.dev)) in dm_parse_device_entry() 218 dev->dmi.flags |= DM_PERSISTENT_DEV_FLAG; in dm_parse_device_entry() 222 dev->dmi.flags |= DM_READONLY_FLAG; in dm_parse_device_entry() [all …]
|
D | dm-ioctl.c | 1854 struct dm_ioctl *dmi; in copy_params() local 1871 dmi = param_kernel; in copy_params() 1872 dmi->data_size = minimum_data_size; in copy_params() 1881 dmi = NULL; in copy_params() 1883 dmi = kvmalloc(param_kernel->data_size, GFP_KERNEL | __GFP_HIGH); in copy_params() 1886 if (!dmi) { in copy_params() 1895 memcpy(dmi, param_kernel, minimum_data_size); in copy_params() 1897 if (copy_from_user(&dmi->data, (char __user *)user + minimum_data_size, in copy_params() 1905 *param = dmi; in copy_params() 1909 free_params(dmi, param_kernel->data_size, *param_flags); in copy_params() [all …]
|
/drivers/pci/ |
D | pci-label.c | 61 const struct dmi_device *dmi; in find_smbios_instance_string() local 67 dmi = NULL; in find_smbios_instance_string() 68 while ((dmi = dmi_find_device(DMI_DEV_TYPE_DEV_ONBOARD, in find_smbios_instance_string() 69 NULL, dmi)) != NULL) { in find_smbios_instance_string() 70 donboard = dmi->device_data; in find_smbios_instance_string() 80 dmi->name); in find_smbios_instance_string() 82 return strlen(dmi->name); in find_smbios_instance_string()
|
/drivers/platform/x86/ |
D | fujitsu-tablet.c | 306 static void __init fujitsu_dmi_common(const struct dmi_system_id *dmi) in fujitsu_dmi_common() argument 308 pr_info("%s\n", dmi->ident); in fujitsu_dmi_common() 309 memcpy(fujitsu.config.keymap, dmi->driver_data, in fujitsu_dmi_common() 313 static int __init fujitsu_dmi_lifebook(const struct dmi_system_id *dmi) in fujitsu_dmi_lifebook() argument 315 fujitsu_dmi_common(dmi); in fujitsu_dmi_lifebook() 320 static int __init fujitsu_dmi_stylistic(const struct dmi_system_id *dmi) in fujitsu_dmi_stylistic() argument 322 fujitsu_dmi_common(dmi); in fujitsu_dmi_stylistic()
|
D | eeepc-wmi.c | 122 static int dmi_matched(const struct dmi_system_id *dmi) in dmi_matched() argument 126 quirks = dmi->driver_data; in dmi_matched() 128 model = (char *)dmi->matches[1].substr; in dmi_matched()
|
D | asus-nb-wmi.c | 131 static int dmi_matched(const struct dmi_system_id *dmi) in dmi_matched() argument 133 pr_info("Identified laptop model '%s'\n", dmi->ident); in dmi_matched() 134 quirks = dmi->driver_data; in dmi_matched()
|
D | samsung-q10.c | 129 MODULE_DEVICE_TABLE(dmi, samsungq10_dmi_table);
|
D | amilo-rfkill.c | 175 MODULE_DEVICE_TABLE(dmi, amilo_rfkill_id_table);
|
D | mlx-platform.c | 2479 static int __init mlxplat_dmi_default_matched(const struct dmi_system_id *dmi) in mlxplat_dmi_default_matched() argument 2501 static int __init mlxplat_dmi_msn21xx_matched(const struct dmi_system_id *dmi) in mlxplat_dmi_msn21xx_matched() argument 2523 static int __init mlxplat_dmi_msn274x_matched(const struct dmi_system_id *dmi) in mlxplat_dmi_msn274x_matched() argument 2545 static int __init mlxplat_dmi_msn201x_matched(const struct dmi_system_id *dmi) in mlxplat_dmi_msn201x_matched() argument 2567 static int __init mlxplat_dmi_qmb7xx_matched(const struct dmi_system_id *dmi) in mlxplat_dmi_qmb7xx_matched() argument 2593 static int __init mlxplat_dmi_comex_matched(const struct dmi_system_id *dmi) in mlxplat_dmi_comex_matched() argument 2617 static int __init mlxplat_dmi_ng400_matched(const struct dmi_system_id *dmi) in mlxplat_dmi_ng400_matched() argument 2772 MODULE_DEVICE_TABLE(dmi, mlxplat_dmi_table);
|
D | meraki-mx100.c | 159 MODULE_DEVICE_TABLE(dmi, tink_systems);
|
D | msi-laptop.c | 586 static int dmi_check_cb(const struct dmi_system_id *dmi) in dmi_check_cb() argument 588 pr_info("Identified laptop model '%s'\n", dmi->ident); in dmi_check_cb() 590 quirks = dmi->driver_data; in dmi_check_cb()
|
/drivers/firmware/ |
D | dmi_scan.c | 828 static bool dmi_matches(const struct dmi_system_id *dmi) in dmi_matches() argument 832 for (i = 0; i < ARRAY_SIZE(dmi->matches); i++) { in dmi_matches() 833 int s = dmi->matches[i].slot; in dmi_matches() 841 dmi->matches[i].substr, NULL); in dmi_matches() 845 if (dmi->matches[i].exact_match) { in dmi_matches() 847 dmi->matches[i].substr)) in dmi_matches() 851 dmi->matches[i].substr)) in dmi_matches() 866 static bool dmi_is_end_of_table(const struct dmi_system_id *dmi) in dmi_is_end_of_table() argument 868 return dmi->matches[0].slot == DMI_NONE; in dmi_is_end_of_table()
|
D | Makefile | 9 obj-$(CONFIG_DMI_SYSFS) += dmi-sysfs.o 12 obj-$(CONFIG_DMIID) += dmi-id.o
|
/drivers/ata/ |
D | ahci.c | 1229 const struct dmi_system_id *dmi = dmi_first_match(broken_systems); in ahci_broken_system_poweroff() local 1231 if (dmi) { in ahci_broken_system_poweroff() 1232 unsigned long slot = (unsigned long)dmi->driver_data; in ahci_broken_system_poweroff() 1311 const struct dmi_system_id *dmi = dmi_first_match(sysids); in ahci_broken_suspend() local 1315 if (!dmi || pdev->bus->number || pdev->devfn != PCI_DEVFN(0x1f, 2)) in ahci_broken_suspend() 1321 return strcmp(buf, dmi->driver_data) < 0; in ahci_broken_suspend() 1364 const struct dmi_system_id *dmi = dmi_first_match(sysids); in ahci_broken_lpm() local 1368 if (!dmi) in ahci_broken_lpm() 1374 return strcmp(buf, dmi->driver_data) < 0; in ahci_broken_lpm() 1416 const struct dmi_system_id *dmi = dmi_first_match(sysids); in ahci_broken_online() local [all …]
|
D | sata_sil.c | 711 const struct dmi_system_id *dmi = dmi_first_match(broken_systems); in sil_broken_system_poweroff() local 713 if (dmi) { in sil_broken_system_poweroff() 714 unsigned long slot = (unsigned long)dmi->driver_data; in sil_broken_system_poweroff()
|
/drivers/platform/x86/hp/ |
D | hp_accel.c | 140 static int lis3lv02d_dmi_matched(const struct dmi_system_id *dmi) in lis3lv02d_dmi_matched() argument 142 lis3_dev.ac = *((union axis_conversion *)dmi->driver_data); in lis3lv02d_dmi_matched() 143 pr_info("hardware type %s found\n", dmi->ident); in lis3lv02d_dmi_matched()
|
/drivers/hid/i2c-hid/ |
D | Makefile | 9 i2c-hid-$(CONFIG_DMI) += i2c-hid-dmi-quirks.o
|
/drivers/soundwire/ |
D | Makefile | 23 soundwire-intel-y := intel.o intel_init.o dmi-quirks.o
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | Makefile | 49 dmi.o
|
/drivers/platform/x86/intel/atomisp2/ |
D | led.c | 73 MODULE_DEVICE_TABLE(dmi, atomisp2_led_systems);
|
/drivers/platform/chrome/ |
D | chromeos_pstore.c | 47 MODULE_DEVICE_TABLE(dmi, chromeos_pstore_dmi_table);
|
/drivers/firmware/google/ |
D | memconsole-x86-legacy.c | 130 MODULE_DEVICE_TABLE(dmi, memconsole_dmi_table);
|
/drivers/leds/ |
D | leds-clevo-mail.c | 93 MODULE_DEVICE_TABLE(dmi, clevo_mail_led_dmi_table);
|
/drivers/mcb/ |
D | mcb-lpc.c | 167 MODULE_DEVICE_TABLE(dmi, mcb_lpc_dmi_table);
|