Home
last modified time | relevance | path

Searched refs:immu_devi (Results 1 – 5 of 5) sorted by relevance

/titanic_50/usr/src/uts/i86pc/io/
H A Dimmu_dvma.c78 static void destroy_immu_devi(immu_devi_t *immu_devi);
186 bdf_domain_lookup(immu_devi_t *immu_devi) in bdf_domain_lookup() argument
189 int16_t seg = immu_devi->imd_seg; in bdf_domain_lookup()
190 int16_t bus = immu_devi->imd_bus; in bdf_domain_lookup()
191 int16_t devfunc = immu_devi->imd_devfunc; in bdf_domain_lookup()
210 bdf_domain_insert(immu_devi_t *immu_devi, domain_t *domain) in bdf_domain_insert() argument
212 int16_t seg = immu_devi->imd_seg; in bdf_domain_insert()
213 int16_t bus = immu_devi->imd_bus; in bdf_domain_insert()
214 int16_t devfunc = immu_devi->imd_devfunc; in bdf_domain_insert()
227 immu_devi_t *immu_devi; in match_lpc() local
[all …]
H A Dimmu.c185 immu_devi_t *immu_devi; in check_conf() local
201 immu_devi = immu_devi_get(dip); in check_conf()
206 immu_devi->imd_dvma_flags |= IMMU_FLAGS_UNITY; in check_conf()
213 immu_devi->imd_dvma_flags &= ~IMMU_FLAGS_UNITY; in check_conf()
217 old_premap = immu_devi->imd_use_premap; in check_conf()
222 immu_devi->imd_use_premap = B_FALSE; in check_conf()
229 immu_devi->imd_use_premap = B_TRUE; in check_conf()
236 if (hasmapprop && (immu_devi->imd_dvma_flags ^ immu_global_dvma_flags)) in check_conf()
238 immu_devi->imd_dvma_flags & IMMU_FLAGS_UNITY ? in check_conf()
241 if (haspreprop && (immu_devi->imd_use_premap != old_premap)) in check_conf()
[all …]
H A Dimmu_intrmap.c407 immu_devi_t *immu_devi; in get_top_pcibridge() local
410 immu_devi = DEVI(dip)->devi_iommu; in get_top_pcibridge()
413 if (immu_devi == NULL || immu_devi->imd_pcib_type == IMMU_PCIB_BAD || in get_top_pcibridge()
414 immu_devi->imd_pcib_type == IMMU_PCIB_ENDPOINT) { in get_top_pcibridge()
441 immu_devi_t *immu_devi; in get_sid() local
459 immu_devi = DEVI(pdip)->devi_iommu; in get_sid()
460 ASSERT(immu_devi); in get_sid()
461 if (immu_devi->imd_pcib_type == IMMU_PCIB_PCIE_PCI) { in get_sid()
463 sid = (immu_devi->imd_bus << 8) | immu_devi->imd_sec; in get_sid()
468 sid = (immu_devi->imd_bus << 8) | in get_sid()
[all …]
H A Dimmu_dmar.c766 immu_devi_t *immu_devi; in match_bdf() local
779 immu_devi = IMMU_DEVI(ddip); in match_bdf()
780 ASSERT(immu_devi); in match_bdf()
782 if (immu_devi->imd_seg == imarg->ima_seg && in match_bdf()
783 immu_devi->imd_bus == imarg->ima_bus && in match_bdf()
784 immu_devi->imd_devfunc == imarg->ima_devfunc) { in match_bdf()
/titanic_50/usr/src/uts/i86pc/sys/
H A Dimmu.h699 typedef struct immu_devi { struct