Searched refs:rmrr (Results 1 – 3 of 3) sorted by relevance
223 static void __init dmar_register_rmrr_unit(struct dmar_rmrr_unit *rmrr) in dmar_register_rmrr_unit() argument225 list_add(&rmrr->list, &dmar_rmrr_units); in dmar_register_rmrr_unit()232 struct acpi_dmar_reserved_memory *rmrr; in dmar_parse_one_rmrr() local240 rmrr = (struct acpi_dmar_reserved_memory *)header; in dmar_parse_one_rmrr()241 rmrru->base_address = rmrr->base_address; in dmar_parse_one_rmrr()242 rmrru->end_address = rmrr->end_address; in dmar_parse_one_rmrr()251 struct acpi_dmar_reserved_memory *rmrr; in rmrr_parse_dev() local254 rmrr = (struct acpi_dmar_reserved_memory *) rmrru->hdr; in rmrr_parse_dev()255 ret = dmar_parse_dev_scope((void *)(rmrr + 1), in rmrr_parse_dev()256 ((void *)rmrr) + rmrr->header.length, in rmrr_parse_dev()[all …]
2012 static inline int iommu_prepare_rmrr_dev(struct dmar_rmrr_unit *rmrr, in iommu_prepare_rmrr_dev() argument2017 return iommu_prepare_identity_map(pdev, rmrr->base_address, in iommu_prepare_rmrr_dev()2018 rmrr->end_address + 1); in iommu_prepare_rmrr_dev()2223 struct dmar_rmrr_unit *rmrr; in init_dmars() local2374 for_each_rmrr_units(rmrr) { in init_dmars()2375 for (i = 0; i < rmrr->devices_cnt; i++) { in init_dmars()2376 pdev = rmrr->devices[i]; in init_dmars()2383 ret = iommu_prepare_rmrr_dev(rmrr, pdev); in init_dmars()
219 #define for_each_rmrr_units(rmrr) \ argument220 list_for_each_entry(rmrr, &dmar_rmrr_units, list)