Lines Matching refs:dmar
587 static inline int dmar_walk_dmar_table(struct acpi_table_dmar *dmar, in dmar_walk_dmar_table() argument
590 return dmar_walk_remapping_entries((void *)(dmar + 1), in dmar_walk_dmar_table()
591 dmar->header.length - sizeof(*dmar), cb); in dmar_walk_dmar_table()
600 struct acpi_table_dmar *dmar; in parse_dmar_table() local
626 dmar = (struct acpi_table_dmar *)dmar_tbl; in parse_dmar_table()
627 if (!dmar) in parse_dmar_table()
630 if (dmar->width < PAGE_SHIFT - 1) { in parse_dmar_table()
635 pr_info("Host address width %d\n", dmar->width + 1); in parse_dmar_table()
636 ret = dmar_walk_dmar_table(dmar, &cb); in parse_dmar_table()
1860 struct acpi_table_dmar *dmar; in dmar_ir_support() local
1861 dmar = (struct acpi_table_dmar *)dmar_tbl; in dmar_ir_support()
1862 if (!dmar) in dmar_ir_support()
1864 return dmar->flags & 0x1; in dmar_ir_support()
2144 struct acpi_table_dmar *dmar; in dmar_platform_optin() local
2149 (struct acpi_table_header **)&dmar); in dmar_platform_optin()
2153 ret = !!(dmar->flags & DMAR_PLATFORM_OPT_IN); in dmar_platform_optin()
2154 acpi_put_table((struct acpi_table_header *)dmar); in dmar_platform_optin()