Lines Matching defs:immu_flags

75     dev_info_t *rdip, immu_flags_t immu_flags);
77 int dev, int func, immu_flags_t immu_flags);
81 immu_flags_t immu_flags);
271 immu_devi_set(dev_info_t *dip, immu_flags_t immu_flags)
298 new_imd = create_immu_devi(dip, bus, dev, func, immu_flags);
321 get_lpc_devinfo(immu_t *immu, dev_info_t *rdip, immu_flags_t immu_flags)
329 &dvarg, NULL, immu_flags) != DDI_SUCCESS) {
505 pgtable_alloc(immu_t *immu, immu_flags_t immu_flags)
510 kmflags = (immu_flags & IMMU_FLAGS_NOSLEEP) ? KM_NOSLEEP : KM_SLEEP;
611 immu_dvma_get_immu(dev_info_t *dip, immu_flags_t immu_flags)
622 if (immu_devi_set(dip, immu_flags) != DDI_SUCCESS) {
693 immu_flags_t immu_flags)
707 kmflags = (immu_flags & IMMU_FLAGS_NOSLEEP) ? KM_NOSLEEP : KM_SLEEP;
806 dev_info_t *ddip, immu_flags_t immu_flags)
811 (immu_flags & IMMU_FLAGS_NOSLEEP) ? VM_NOSLEEP : VM_SLEEP);
1020 dev_info_t *rdip, immu_flags_t immu_flags)
1039 vmem_flags = (immu_flags & IMMU_FLAGS_NOSLEEP) ? VM_NOSLEEP : VM_SLEEP;
1171 device_domain(dev_info_t *rdip, dev_info_t **ddipp, immu_flags_t immu_flags)
1192 immu = immu_dvma_get_immu(rdip, immu_flags);
1202 immu_flags |= immu_devi_get(rdip)->imd_dvma_flags;
1207 dvarg.dva_flags = immu_flags;
1210 &dvarg, &level, immu_flags) != DDI_SUCCESS) {
1246 domain = domain_create(immu, ddip, rdip, immu_flags);
1313 immu_flags_t immu_flags)
1330 did = did_alloc(immu, rdip, ddip, immu_flags);
1337 kmflags = (immu_flags & IMMU_FLAGS_NOSLEEP) ? KM_NOSLEEP : KM_SLEEP;
1358 create_xlate_arena(immu, domain, rdip, immu_flags);
1363 domain->dom_pgtable_root = pgtable_alloc(immu, immu_flags);
1630 dev_info_t *rdip, immu_flags_t immu_flags)
1654 if (immu_devi_set(ddip, immu_flags) == DDI_FAILURE) {
1660 if (immu_devi_set(rdip, immu_flags) == DDI_FAILURE) {
1704 &pcibdip, NULL, immu_flags) == DDI_SUCCESS &&
1744 dev_info_t *rdip, immu_flags_t immu_flags)
1830 if ((immu_flags & IMMU_FLAGS_READ) && !PDTE_READ(pdte)) {
1835 if ((immu_flags & IMMU_FLAGS_WRITE) && !PDTE_WRITE(pdte)) {
2012 dev_info_t *rdip, immu_flags_t immu_flags)
2083 if (immu_flags & IMMU_FLAGS_READ)
2085 if (immu_flags & IMMU_FLAGS_WRITE)
2096 int dcount, dev_info_t *rdip, immu_flags_t immu_flags)
2135 PTE_set_one(immu, hwp, paddr, rdip, immu_flags);
2138 ASSERT(PDTE_check(immu, *hwp, NULL, paddr, rdip, immu_flags)
2172 dev_info_t *rdip, immu_flags_t immu_flags)
2226 if (immu_flags & IMMU_FLAGS_READ)
2228 if (immu_flags & IMMU_FLAGS_WRITE)
2242 dev_info_t *rdip, immu_flags_t immu_flags)
2279 new = pgtable_alloc(immu, immu_flags);
2299 PDE_set_one(immu, hwp, next, rdip, immu_flags);
2314 if (immu_flags & IMMU_FLAGS_READ)
2316 if (immu_flags & IMMU_FLAGS_WRITE)
2323 ASSERT(PDTE_check(immu, *hwp, next, 0, rdip, immu_flags)
2347 * immu_flags: flags
2352 immu_flags_t immu_flags)
2368 if (PDE_set_all(immu, domain, xlate, nlevels, rdip, immu_flags)
2375 dcount, rdip, immu_flags);
2556 immu_flags_t immu_flags;
2572 immu_flags = dma_to_immu_flags(dmareq);
2622 if (immu_flags & IMMU_FLAGS_READ)
2624 if (immu_flags & IMMU_FLAGS_WRITE)
2684 immu_flags))
2711 dmax + 1, rdip, immu_flags))
2873 immu_dvma_device_setup(dev_info_t *rdip, immu_flags_t immu_flags)
2881 immu = immu_dvma_get_immu(rdip, immu_flags);
2895 rdip = get_lpc_devinfo(immu, rdip, immu_flags);
2922 domain = device_domain(rdip, &ddip, immu_flags);
2947 if (immu_context_update(immu, domain, ddip, rdip, immu_flags)