Lines Matching refs:dmar
623 static inline int dmar_walk_dmar_table(struct acpi_table_dmar *dmar, in dmar_walk_dmar_table() argument
626 return dmar_walk_remapping_entries((void *)(dmar + 1), in dmar_walk_dmar_table()
627 dmar->header.length - sizeof(*dmar), cb); in dmar_walk_dmar_table()
636 struct acpi_table_dmar *dmar; in parse_dmar_table() local
663 dmar = (struct acpi_table_dmar *)dmar_tbl; in parse_dmar_table()
664 if (!dmar) in parse_dmar_table()
667 if (dmar->width < PAGE_SHIFT - 1) { in parse_dmar_table()
672 pr_info("Host address width %d\n", dmar->width + 1); in parse_dmar_table()
673 ret = dmar_walk_dmar_table(dmar, &cb); in parse_dmar_table()
2166 struct acpi_table_dmar *dmar; in dmar_ir_support() local
2167 dmar = (struct acpi_table_dmar *)dmar_tbl; in dmar_ir_support()
2168 if (!dmar) in dmar_ir_support()
2170 return dmar->flags & 0x1; in dmar_ir_support()
2451 struct acpi_table_dmar *dmar; in dmar_platform_optin() local
2456 (struct acpi_table_header **)&dmar); in dmar_platform_optin()
2460 ret = !!(dmar->flags & DMAR_PLATFORM_OPT_IN); in dmar_platform_optin()
2461 acpi_put_table((struct acpi_table_header *)dmar); in dmar_platform_optin()