Home
last modified time | relevance | path

Searched refs:DOM2IODOM (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/x86/iommu/
H A Damd_ctx.c153 iodom = DOM2IODOM(domain); in amdiommu_domain_destroy()
200 end = DOM2IODOM(domain)->end; in amdiommu_domain_init_pglvl()
243 iodom = DOM2IODOM(domain); in amdiommu_domain_alloc()
252 iommu_gas_init_domain(DOM2IODOM(domain)); in amdiommu_domain_alloc()
280 ctx->context.domain = DOM2IODOM(domain); in amdiommu_ctx_alloc()
463 if ((DOM2IODOM(domain)->flags & IOMMU_DOMAIN_IDMAP) != 0) { in dte_entry_init_one()
H A Damd_idpgtbl.c346 KASSERT(base < DOM2IODOM(domain)->end, in amdiommu_unmap_buf_locked()
348 (uintmax_t)size, (uintmax_t)DOM2IODOM(domain)->end)); in amdiommu_unmap_buf_locked()
349 KASSERT(base + size < DOM2IODOM(domain)->end, in amdiommu_unmap_buf_locked()
351 (uintmax_t)size, (uintmax_t)DOM2IODOM(domain)->end)); in amdiommu_unmap_buf_locked()
H A Dintel_ctx.c267 error1 = iommu_gas_map_region(DOM2IODOM(domain), entry, in domain_init_rmrr()
319 iodom = DOM2IODOM(domain); in dmar_reserve_pci_regions()
374 iodom = DOM2IODOM(domain); in dmar_domain_alloc()
397 iommu_gas_init_domain(DOM2IODOM(domain)); in dmar_domain_alloc()
428 ctx->context.domain = DOM2IODOM(domain); in dmar_ctx_alloc()
474 iodom = DOM2IODOM(domain); in dmar_domain_destroy()
H A Damd_iommu.h118 #define DOM2IODOM(domain) (&((domain)->iodom)) macro
H A Dintel_dmar.h91 #define DOM2IODOM(domain) (&((domain)->iodom)) macro
H A Dintel_drv.c927 entry = iommu_gas_alloc_entry(DOM2IODOM(ria->domain), in dmar_rmrr_iter()
1107 iodom = DOM2IODOM(domain); in dmar_print_domain()
H A Damd_drv.c1110 iodom = DOM2IODOM(domain); in amdiommu_print_domain()