Lines Matching defs:context
495 * This same struct is used for root and context tables as well.
860 * root/context table)
1291 * passthrough is set in the context entry instead.
1452 pgtable_t *context;
1465 context = *(pgtable_t **)(ctxp + bus);
1476 hw_cent = (hw_rce_t *)(context->hwpg_vaddr) + devfunc;
1498 ROOT_SET_CONT(hw_rent, context->hwpg_paddr);
1504 hw_cent = (hw_rce_t *)(context->hwpg_vaddr) + devfunc;
1505 /* need to disable context entry before reprogramming it */
1542 pgtable_t *context;
1553 * Setup context tables for all possible root table entries.
1559 context = pgtable_alloc(immu, IMMU_FLAGS_SLEEP);
1560 pgtable_zero(context);
1562 ROOT_SET_CONT(hw_rent, context->hwpg_paddr);
1563 hw_cent = (hw_rce_t *)(context->hwpg_vaddr);
1580 immu_regs_cpu_flush(immu, context->hwpg_vaddr, IMMU_PAGESIZE);
1581 *((pgtable_t **)ctxp) = context;
1649 * We need to set the context fields
1676 /* rdip is a PCIE device. set context for it only */
1685 /* rdip is a PCIE device. set context for it only */
1691 * ddip is a PCIE_PCI bridge. Set context for ddip's
1693 * bus, set context for rdip. Else, set context
1729 "set iommu context.");
2945 * Update the root and context entries
2949 ddi_err(DER_MODE, rdip, "DVMA map: context update failed");