Home
last modified time | relevance | path

Searched refs:dmi (Results 1 – 25 of 56) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/acpi/x86/
Dutils.c45 #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)
/kernel/linux/linux-5.10/drivers/md/
Ddm-init.c33 struct dm_ioctl dmi; member
66 for (i = 0; i < dev->dmi.target_count; i++) { in dm_setup_cleanup()
108 const unsigned int n = dev->dmi.target_count - 1; in dm_parse_table_entry()
163 if (++dev->dmi.target_count > DM_MAX_TARGETS) { in dm_parse_table()
165 dev->dmi.target_count, DM_MAX_TARGETS); in dm_parse_table()
205 strscpy(dev->dmi.name, field[0], sizeof(dev->dmi.name)); in dm_parse_device_entry()
207 strscpy(dev->dmi.uuid, field[1], sizeof(dev->dmi.uuid)); in dm_parse_device_entry()
210 if (kstrtoull(field[2], 0, &dev->dmi.dev)) in dm_parse_device_entry()
212 dev->dmi.flags |= DM_PERSISTENT_DEV_FLAG; in dm_parse_device_entry()
216 dev->dmi.flags |= DM_READONLY_FLAG; in dm_parse_device_entry()
[all …]
Ddm-ioctl.c1752 struct dm_ioctl *dmi; in copy_params() local
1768 dmi = param_kernel; in copy_params()
1769 dmi->data_size = minimum_data_size; in copy_params()
1778 dmi = NULL; in copy_params()
1780 dmi = kvmalloc(param_kernel->data_size, GFP_KERNEL | __GFP_HIGH); in copy_params()
1783 if (!dmi) { in copy_params()
1792 memcpy(dmi, param_kernel, minimum_data_size); in copy_params()
1794 if (copy_from_user(&dmi->data, (char __user *)user + minimum_data_size, in copy_params()
1802 *param = dmi; in copy_params()
1806 free_params(dmi, param_kernel->data_size, *param_flags); in copy_params()
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-devices-platform-ipmi181 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 …]
Dsysfs-firmware-dmi-tables1 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
Dsysfs-firmware-dmi-entries1 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
/kernel/linux/linux-5.10/drivers/pci/
Dpci-label.c46 const struct dmi_device *dmi; in find_smbios_instance_string() local
56 dmi = NULL; in find_smbios_instance_string()
57 while ((dmi = dmi_find_device(DMI_DEV_TYPE_DEV_ONBOARD, in find_smbios_instance_string()
58 NULL, dmi)) != NULL) { in find_smbios_instance_string()
59 donboard = dmi->device_data; in find_smbios_instance_string()
71 dmi->name); in find_smbios_instance_string()
73 return strlen(dmi->name); in find_smbios_instance_string()
/kernel/linux/linux-5.10/drivers/platform/x86/
Dfujitsu-tablet.c306 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()
Deeepc-wmi.c122 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()
Dasus-nb-wmi.c117 static int dmi_matched(const struct dmi_system_id *dmi) in dmi_matched() argument
119 pr_info("Identified laptop model '%s'\n", dmi->ident); in dmi_matched()
120 quirks = dmi->driver_data; in dmi_matched()
Dhp_accel.c152 static int lis3lv02d_dmi_matched(const struct dmi_system_id *dmi) in lis3lv02d_dmi_matched() argument
154 lis3_dev.ac = *((union axis_conversion *)dmi->driver_data); in lis3lv02d_dmi_matched()
155 pr_info("hardware type %s found\n", dmi->ident); in lis3lv02d_dmi_matched()
Dintel_atomisp2_led.c73 MODULE_DEVICE_TABLE(dmi, atomisp2_led_systems);
Dsamsung-q10.c129 MODULE_DEVICE_TABLE(dmi, samsungq10_dmi_table);
Damilo-rfkill.c175 MODULE_DEVICE_TABLE(dmi, amilo_rfkill_id_table);
Ddell-smbios-smm.c56 MODULE_DEVICE_TABLE(dmi, dell_device_table);
/kernel/linux/linux-5.10/drivers/firmware/
DMakefile9 obj-$(CONFIG_DMI_SYSFS) += dmi-sysfs.o
12 obj-$(CONFIG_DMIID) += dmi-id.o
Ddmi_scan.c827 static bool dmi_matches(const struct dmi_system_id *dmi) in dmi_matches() argument
831 for (i = 0; i < ARRAY_SIZE(dmi->matches); i++) { in dmi_matches()
832 int s = dmi->matches[i].slot; in dmi_matches()
840 dmi->matches[i].substr, NULL); in dmi_matches()
844 if (dmi->matches[i].exact_match) { in dmi_matches()
846 dmi->matches[i].substr)) in dmi_matches()
850 dmi->matches[i].substr)) in dmi_matches()
865 static bool dmi_is_end_of_table(const struct dmi_system_id *dmi) in dmi_is_end_of_table() argument
867 return dmi->matches[0].slot == DMI_NONE; in dmi_is_end_of_table()
/kernel/linux/linux-5.10/drivers/ata/
Dahci.c1172 const struct dmi_system_id *dmi = dmi_first_match(broken_systems); in ahci_broken_system_poweroff() local
1174 if (dmi) { in ahci_broken_system_poweroff()
1175 unsigned long slot = (unsigned long)dmi->driver_data; in ahci_broken_system_poweroff()
1254 const struct dmi_system_id *dmi = dmi_first_match(sysids); in ahci_broken_suspend() local
1258 if (!dmi || pdev->bus->number || pdev->devfn != PCI_DEVFN(0x1f, 2)) in ahci_broken_suspend()
1264 return strcmp(buf, dmi->driver_data) < 0; in ahci_broken_suspend()
1307 const struct dmi_system_id *dmi = dmi_first_match(sysids); in ahci_broken_lpm() local
1311 if (!dmi) in ahci_broken_lpm()
1317 return strcmp(buf, dmi->driver_data) < 0; in ahci_broken_lpm()
1359 const struct dmi_system_id *dmi = dmi_first_match(sysids); in ahci_broken_online() local
[all …]
Dsata_sil.c711 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()
/kernel/linux/linux-5.10/drivers/hid/i2c-hid/
DMakefile9 i2c-hid-$(CONFIG_DMI) += i2c-hid-dmi-quirks.o
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
DMakefile48 dmi.o
/kernel/linux/linux-5.10/drivers/platform/chrome/
Dchromeos_pstore.c47 MODULE_DEVICE_TABLE(dmi, chromeos_pstore_dmi_table);
/kernel/linux/linux-5.10/drivers/firmware/google/
Dmemconsole-x86-legacy.c130 MODULE_DEVICE_TABLE(dmi, memconsole_dmi_table);
/kernel/linux/linux-5.10/drivers/mcb/
Dmcb-lpc.c149 MODULE_DEVICE_TABLE(dmi, mcb_lpc_dmi_table);
/kernel/linux/linux-5.10/drivers/leds/
Dleds-clevo-mail.c93 MODULE_DEVICE_TABLE(dmi, clevo_mail_led_dmi_table);

123