/linux-6.6.21/drivers/md/ |
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() 217 dev->dmi.flags |= DM_PERSISTENT_DEV_FLAG; in dm_parse_device_entry() 221 dev->dmi.flags |= DM_READONLY_FLAG; in dm_parse_device_entry() [all …]
|
D | dm-ioctl.c | 1934 struct dm_ioctl *dmi; in copy_params() local 1956 dmi = param_kernel; in copy_params() 1957 dmi->data_size = minimum_data_size; in copy_params() 1966 dmi = NULL; in copy_params() 1967 dmi = kvmalloc(param_kernel->data_size, GFP_NOIO | __GFP_HIGH); in copy_params() 1969 if (!dmi) { in copy_params() 1978 memcpy(dmi, param_kernel, minimum_data_size); in copy_params() 1980 if (copy_from_user(&dmi->data, (char __user *)user + minimum_data_size, in copy_params() 1988 *param = dmi; in copy_params() 1992 free_params(dmi, param_kernel->data_size, *param_flags); in copy_params() [all …]
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/acpi/x86/ |
D | utils.c | 48 #define ENTRY(status, hid, uid, path, cpu_model, dmi...) { \ argument 51 { { .matches = dmi }, {} }, \ 57 #define PRESENT_ENTRY_HID(hid, uid, cpu_model, dmi...) \ argument 58 ENTRY(ACPI_STA_DEFAULT, hid, uid, NULL, cpu_model, dmi) 60 #define NOT_PRESENT_ENTRY_HID(hid, uid, cpu_model, dmi...) \ argument 61 ENTRY(0, hid, uid, NULL, cpu_model, dmi) 63 #define PRESENT_ENTRY_PATH(path, cpu_model, dmi...) \ argument 64 ENTRY(ACPI_STA_DEFAULT, "", NULL, path, cpu_model, dmi) 66 #define NOT_PRESENT_ENTRY_PATH(path, cpu_model, dmi...) \ argument 67 ENTRY(0, "", NULL, path, cpu_model, dmi)
|
/linux-6.6.21/Documentation/ABI/testing/ |
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 …]
|
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
|
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-6.6.21/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 | 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()
|
D | asus-nb-wmi.c | 128 static int dmi_matched(const struct dmi_system_id *dmi) in dmi_matched() argument 130 pr_info("Identified laptop model '%s'\n", dmi->ident); in dmi_matched() 131 quirks = dmi->driver_data; in dmi_matched()
|
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);
|
D | samsung-q10.c | 127 MODULE_DEVICE_TABLE(dmi, samsungq10_dmi_table);
|
D | amilo-rfkill.c | 175 MODULE_DEVICE_TABLE(dmi, amilo_rfkill_id_table);
|
/linux-6.6.21/drivers/firmware/ |
D | Makefile | 9 obj-$(CONFIG_DMI_SYSFS) += dmi-sysfs.o 12 obj-$(CONFIG_DMIID) += dmi-id.o
|
D | dmi_scan.c | 834 static bool dmi_matches(const struct dmi_system_id *dmi) in dmi_matches() argument 838 for (i = 0; i < ARRAY_SIZE(dmi->matches); i++) { in dmi_matches() 839 int s = dmi->matches[i].slot; in dmi_matches() 847 dmi->matches[i].substr, NULL); in dmi_matches() 851 if (dmi->matches[i].exact_match) { in dmi_matches() 853 dmi->matches[i].substr)) in dmi_matches() 857 dmi->matches[i].substr)) in dmi_matches() 872 static bool dmi_is_end_of_table(const struct dmi_system_id *dmi) in dmi_is_end_of_table() argument 874 return dmi->matches[0].slot == DMI_NONE; in dmi_is_end_of_table()
|
/linux-6.6.21/drivers/ata/ |
D | ahci.c | 1227 const struct dmi_system_id *dmi = dmi_first_match(broken_systems); in ahci_broken_system_poweroff() local 1229 if (dmi) { in ahci_broken_system_poweroff() 1230 unsigned long slot = (unsigned long)dmi->driver_data; in ahci_broken_system_poweroff() 1309 const struct dmi_system_id *dmi = dmi_first_match(sysids); in ahci_broken_suspend() local 1313 if (!dmi || pdev->bus->number || pdev->devfn != PCI_DEVFN(0x1f, 2)) in ahci_broken_suspend() 1319 return strcmp(buf, dmi->driver_data) < 0; in ahci_broken_suspend() 1362 const struct dmi_system_id *dmi = dmi_first_match(sysids); in ahci_broken_lpm() local 1366 if (!dmi) in ahci_broken_lpm() 1372 return strcmp(buf, dmi->driver_data) < 0; in ahci_broken_lpm() 1414 const struct dmi_system_id *dmi = dmi_first_match(sysids); in ahci_broken_online() local [all …]
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/platform/x86/x86-android-tablets/ |
D | Makefile | 8 x86-android-tablets-y := core.o dmi.o shared-psy-info.o \
|
D | dmi.c | 185 MODULE_DEVICE_TABLE(dmi, x86_android_tablet_ids);
|
/linux-6.6.21/drivers/hid/i2c-hid/ |
D | Makefile | 9 i2c-hid-$(CONFIG_DMI) += i2c-hid-dmi-quirks.o
|
/linux-6.6.21/drivers/hid/ |
D | hid-sensor-custom.c | 764 struct dmi_system_id dmi; member 794 .dmi.matches = { 804 .dmi.matches = { 855 struct dmi_system_id dmi[] = { match->dmi, { 0 } }; in hid_sensor_custom_do_match() local 872 if (match->check_dmi && !dmi_check_system(dmi)) in hid_sensor_custom_do_match()
|
/linux-6.6.21/drivers/soundwire/ |
D | Makefile | 32 intel_auxdevice.o intel_init.o dmi-quirks.o \
|
/linux-6.6.21/drivers/platform/x86/intel/atomisp2/ |
D | led.c | 74 MODULE_DEVICE_TABLE(dmi, atomisp2_led_systems);
|
/linux-6.6.21/drivers/platform/chrome/ |
D | chromeos_pstore.c | 47 MODULE_DEVICE_TABLE(dmi, chromeos_pstore_dmi_table);
|
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | Makefile | 50 dmi.o
|