/linux/drivers/md/ |
H A D | dm-init.c | 38 struct dm_ioctl dmi; member 71 for (i = 0; i < dev->dmi.target_count; i++) { in dm_setup_cleanup() 113 const unsigned int n = dev->dmi.target_count - 1; in dm_parse_table_entry() 168 if (++dev->dmi.target_count > DM_MAX_TARGETS) { in dm_parse_table() 170 dev->dmi.target_count, DM_MAX_TARGETS); in dm_parse_table() 210 strscpy(dev->dmi.name, field[0], sizeof(dev->dmi.name)); in dm_parse_device_entry() 212 strscpy(dev->dmi.uuid, field[1], sizeof(dev->dmi.uuid)); in dm_parse_device_entry() 215 if (kstrtoull(field[2], 0, &dev->dmi.dev) || in dm_parse_device_entry() 216 dev->dmi.dev >= (1 << MINORBITS)) in dm_parse_device_entry() 218 dev->dmi.dev = huge_encode_dev((dev_t)dev->dmi.dev); in dm_parse_device_entry() [all …]
|
H A D | dm-ioctl.c | 1952 struct dm_ioctl *dmi; in copy_params() local 1974 dmi = param_kernel; in copy_params() 1975 dmi->data_size = minimum_data_size; in copy_params() 1984 dmi = NULL; in copy_params() 1985 dmi = kvmalloc(param_kernel->data_size, GFP_NOIO | __GFP_HIGH); in copy_params() 1987 if (!dmi) { in copy_params() 1996 memcpy(dmi, param_kernel, minimum_data_size); in copy_params() 1998 if (copy_from_user(&dmi->data, (char __user *)user + minimum_data_size, in copy_params() 2006 *param = dmi; in copy_params() 2010 free_params(dmi, param_kernel->data_size, *param_flags); in copy_params() [all …]
|
/linux/drivers/pci/ |
H A 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()
|
/linux/drivers/acpi/x86/ |
H A D | utils.c | 48 #define ENTRY(status, hid, uid, path, cpu_vfm, dmi...) { \ argument 51 { { .matches = dmi }, {} }, \ 57 #define PRESENT_ENTRY_HID(hid, uid, cpu_vfm, dmi...) \ argument 58 ENTRY(ACPI_STA_DEFAULT, hid, uid, NULL, cpu_vfm, dmi) 60 #define NOT_PRESENT_ENTRY_HID(hid, uid, cpu_vfm, dmi...) \ argument 61 ENTRY(0, hid, uid, NULL, cpu_vfm, dmi) 63 #define PRESENT_ENTRY_PATH(path, cpu_vfm, dmi...) \ argument 64 ENTRY(ACPI_STA_DEFAULT, "", NULL, path, cpu_vfm, dmi) 66 #define NOT_PRESENT_ENTRY_PATH(path, cpu_vfm, dmi...) \ argument 67 ENTRY(0, "", NULL, path, cpu_vfm, dmi)
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-devices-platform-ipmi | 181 What: /sys/devices/platform/dmi-ipmi-ssif.*/type 189 What: /sys/devices/platform/dmi-ipmi-ssif.*/hosed 190 What: /sys/devices/platform/dmi-ipmi-ssif.*/alerts 191 What: /sys/devices/platform/dmi-ipmi-ssif.*/sent_messages 192 What: /sys/devices/platform/dmi-ipmi-ssif.*/sent_messages_parts 193 What: /sys/devices/platform/dmi-ipmi-ssif.*/received_messages 194 What: /sys/devices/platform/dmi-ipmi-ssif.*/received_message_parts 195 What: /sys/devices/platform/dmi-ipmi-ssif.*/events 196 What: /sys/devices/platform/dmi-ipmi-ssif.*/watchdog_pretimeouts 197 What: /sys/devices/platform/dmi-ipmi-ssif.*/flag_fetches [all …]
|
H A D | sysfs-firmware-dmi-tables | 1 What: /sys/firmware/dmi/tables/ 13 The dmi/tables provides raw SMBIOS entry point and DMI tables 18 /sys/firmware/dmi/tables/smbios_entry_point 19 /sys/firmware/dmi/tables/DMI
|
H A D | sysfs-firmware-dmi-entries | 1 What: /sys/firmware/dmi/entries/ 38 /sys/firmware/dmi/entries/17-0 39 /sys/firmware/dmi/entries/17-1 40 /sys/firmware/dmi/entries/17-2 41 /sys/firmware/dmi/entries/17-3 93 /sys/firmware/dmi/entries/15-0/system_event_log
|
/linux/drivers/platform/x86/ |
H A 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()
|
H A D | eeepc-wmi.c | 117 static int dmi_matched(const struct dmi_system_id *dmi) in dmi_matched() argument 121 quirks = dmi->driver_data; in dmi_matched() 123 model = (char *)dmi->matches[1].substr; in dmi_matched()
|
H A D | asus-nb-wmi.c | 152 static int dmi_matched(const struct dmi_system_id *dmi) in dmi_matched() argument 154 pr_info("Identified laptop model '%s'\n", dmi->ident); in dmi_matched() 155 quirks = dmi->driver_data; in dmi_matched()
|
H A D | msi-laptop.c | 584 static int dmi_check_cb(const struct dmi_system_id *dmi) in dmi_check_cb() argument 586 pr_info("Identified laptop model '%s'\n", dmi->ident); in dmi_check_cb() 588 quirks = dmi->driver_data; in dmi_check_cb() 712 MODULE_DEVICE_TABLE(dmi, msi_dmi_table);
|
H A D | samsung-q10.c | 127 MODULE_DEVICE_TABLE(dmi, samsungq10_dmi_table);
|
H A D | amilo-rfkill.c | 176 MODULE_DEVICE_TABLE(dmi, amilo_rfkill_id_table);
|
/linux/drivers/firmware/ |
H A D | Makefile | 8 obj-$(CONFIG_DMI_SYSFS) += dmi-sysfs.o 10 obj-$(CONFIG_DMIID) += dmi-id.o
|
H A D | dmi_scan.c | 843 static bool dmi_matches(const struct dmi_system_id *dmi) in dmi_matches() argument 847 for (i = 0; i < ARRAY_SIZE(dmi->matches); i++) { in dmi_matches() 848 int s = dmi->matches[i].slot; in dmi_matches() 856 dmi->matches[i].substr, NULL); in dmi_matches() 860 if (dmi->matches[i].exact_match) { in dmi_matches() 862 dmi->matches[i].substr)) in dmi_matches() 866 dmi->matches[i].substr)) in dmi_matches() 881 static bool dmi_is_end_of_table(const struct dmi_system_id *dmi) in dmi_is_end_of_table() argument 883 return dmi->matches[0].slot == DMI_NONE; in dmi_is_end_of_table()
|
/linux/drivers/ata/ |
H A D | ahci.c | 1305 const struct dmi_system_id *dmi = dmi_first_match(broken_systems); in ahci_broken_system_poweroff() local 1307 if (dmi) { in ahci_broken_system_poweroff() 1308 unsigned long slot = (unsigned long)dmi->driver_data; in ahci_broken_system_poweroff() 1387 const struct dmi_system_id *dmi = dmi_first_match(sysids); in ahci_broken_suspend() local 1391 if (!dmi || pdev->bus->number || pdev->devfn != PCI_DEVFN(0x1f, 2)) in ahci_broken_suspend() 1397 return strcmp(buf, dmi->driver_data) < 0; in ahci_broken_suspend() 1440 const struct dmi_system_id *dmi = dmi_first_match(sysids); in ahci_broken_lpm() local 1444 if (!dmi) in ahci_broken_lpm() 1450 return strcmp(buf, dmi->driver_data) < 0; in ahci_broken_lpm() 1492 const struct dmi_system_id *dmi = dmi_first_match(sysids); in ahci_broken_online() local [all …]
|
/linux/drivers/platform/x86/hp/ |
H A 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()
|
/linux/drivers/platform/x86/x86-android-tablets/ |
H A D | Makefile | 8 x86-android-tablets-y := core.o dmi.o shared-psy-info.o \
|
H A D | dmi.c | 202 MODULE_DEVICE_TABLE(dmi, x86_android_tablet_ids);
|
/linux/drivers/hid/i2c-hid/ |
H A D | Makefile | 9 i2c-hid-$(CONFIG_DMI) += i2c-hid-dmi-quirks.o
|
/linux/drivers/hid/ |
H A D | hid-sensor-custom.c | 763 struct dmi_system_id dmi; member 793 .dmi.matches = { 803 .dmi.matches = { 854 struct dmi_system_id dmi[] = { match->dmi, { 0 } }; in hid_sensor_custom_do_match() local 871 if (match->check_dmi && !dmi_check_system(dmi)) in hid_sensor_custom_do_match()
|
/linux/drivers/platform/x86/intel/atomisp2/ |
H A D | led.c | 74 MODULE_DEVICE_TABLE(dmi, atomisp2_led_systems);
|
/linux/drivers/soundwire/ |
H A D | Makefile | 32 intel_auxdevice.o intel_init.o dmi-quirks.o \
|
/linux/drivers/platform/chrome/ |
H A D | chromeos_pstore.c | 47 MODULE_DEVICE_TABLE(dmi, chromeos_pstore_dmi_table);
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | Makefile | 50 dmi.o
|