Lines Matching refs:dmi
7 #include <linux/dmi.h>
11 #include <asm/dmi.h>
777 * Set up dmi directory at /sys/firmware/dmi. This entry should stay
779 * dmi-sysfs.
781 dmi_kobj = kobject_create_and_add("dmi", firmware_kobj);
813 pr_err("dmi: Firmware registration failed.\n");
841 * @dmi: pointer to the dmi_system_id structure to check
843 static bool dmi_matches(const struct dmi_system_id *dmi)
847 for (i = 0; i < ARRAY_SIZE(dmi->matches); i++) {
848 int s = dmi->matches[i].slot;
856 dmi->matches[i].substr, NULL);
860 if (dmi->matches[i].exact_match) {
862 dmi->matches[i].substr))
866 dmi->matches[i].substr))
879 * @dmi: pointer to the dmi_system_id structure to check
881 static bool dmi_is_end_of_table(const struct dmi_system_id *dmi)
883 return dmi->matches[0].slot == DMI_NONE;
1136 * dmi_match - compare a string to the dmi field (if exists)