Lines Matching refs:dmi
5 #include <linux/dmi.h>
8 #include <asm/dmi.h>
442 * @dmi: pointer to the dmi_system_id structure to check
444 static bool dmi_matches(const struct dmi_system_id *dmi)
448 WARN(!dmi_initialized, KERN_ERR "dmi check: not initialized yet.\n");
450 for (i = 0; i < ARRAY_SIZE(dmi->matches); i++) {
451 int s = dmi->matches[i].slot;
455 && strstr(dmi_ident[s], dmi->matches[i].substr))
465 * @dmi: pointer to the dmi_system_id structure to check
467 static bool dmi_is_end_of_table(const struct dmi_system_id *dmi)
469 return dmi->matches[0].slot == DMI_NONE;
699 * dmi_match - compare a string to the dmi field (if exists)