Home
last modified time | relevance | path

Searched refs:CTX2DOM (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/x86/iommu/
H A Damd_ctx.c293 domain = CTX2DOM(ctx); in amdiommu_ctx_link()
308 domain = CTX2DOM(ctx); in amdiommu_ctx_unlink()
386 domain = CTX2DOM(ctx); in amdiommu_free_ctx_locked()
434 domain = CTX2DOM(ctx); in dte_entry_init_one()
484 domain = CTX2DOM(ctx); in dte_entry_init()
574 domain = CTX2DOM(ctx); in amdiommu_get_ctx_for_dev()
578 domain = CTX2DOM(ctx); in amdiommu_get_ctx_for_dev()
H A Dintel_ctx.c159 domain = CTX2DOM(ctx); in ctx_id_entry_init()
441 domain = CTX2DOM(ctx); in dmar_ctx_link()
456 domain = CTX2DOM(ctx); in dmar_ctx_unlink()
594 domain = CTX2DOM(ctx); in dmar_get_ctx_for_dev1()
598 domain = CTX2DOM(ctx); in dmar_get_ctx_for_dev1()
675 old_domain = CTX2DOM(ctx); in dmar_move_ctx_to_domain()
797 domain = CTX2DOM(ctx); in dmar_free_ctx_locked()
H A Damd_iommu.h126 #define CTX2DOM(ctx) IODOM2DOM((ctx)->context.domain) macro
127 #define CTX2AMD(ctx) (CTX2DOM(ctx)->unit)
H A Dintel_dmar.h99 #define CTX2DOM(ctx) IODOM2DOM((ctx)->context.domain) macro
100 #define CTX2DMAR(ctx) (CTX2DOM(ctx)->dmar)