Searched refs:immu_devi (Results 1 – 5 of 5) sorted by relevance
80 static void destroy_immu_devi(immu_devi_t *immu_devi);188 bdf_domain_lookup(immu_devi_t *immu_devi) in bdf_domain_lookup() argument191 int16_t seg = immu_devi->imd_seg; in bdf_domain_lookup()192 int16_t bus = immu_devi->imd_bus; in bdf_domain_lookup()193 int16_t devfunc = immu_devi->imd_devfunc; in bdf_domain_lookup()212 bdf_domain_insert(immu_devi_t *immu_devi, domain_t *domain) in bdf_domain_insert() argument214 int16_t seg = immu_devi->imd_seg; in bdf_domain_insert()215 int16_t bus = immu_devi->imd_bus; in bdf_domain_insert()216 int16_t devfunc = immu_devi->imd_devfunc; in bdf_domain_insert()229 immu_devi_t *immu_devi; in match_lpc() local[all …]
189 immu_devi_t *immu_devi; in check_conf() local205 immu_devi = immu_devi_get(dip); in check_conf()210 immu_devi->imd_dvma_flags |= IMMU_FLAGS_UNITY; in check_conf()217 immu_devi->imd_dvma_flags &= ~IMMU_FLAGS_UNITY; in check_conf()221 old_premap = immu_devi->imd_use_premap; in check_conf()226 immu_devi->imd_use_premap = B_FALSE; in check_conf()233 immu_devi->imd_use_premap = B_TRUE; in check_conf()240 if (hasmapprop && (immu_devi->imd_dvma_flags ^ immu_global_dvma_flags)) in check_conf()242 immu_devi->imd_dvma_flags & IMMU_FLAGS_UNITY ? in check_conf()245 if (haspreprop && (immu_devi->imd_use_premap != old_premap)) in check_conf()[all …]
407 immu_devi_t *immu_devi; in get_top_pcibridge() local410 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() local459 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 …]
768 immu_devi_t *immu_devi; in match_bdf() local781 immu_devi = IMMU_DEVI(ddip); in match_bdf()782 ASSERT(immu_devi); in match_bdf()784 if (immu_devi->imd_seg == imarg->ima_seg && in match_bdf()785 immu_devi->imd_bus == imarg->ima_bus && in match_bdf()786 immu_devi->imd_devfunc == imarg->ima_devfunc) { in match_bdf()
699 typedef struct immu_devi { struct