Lines Matching defs:portal
64 /* Map bman portal to physical address space */
69 /* Set portal properties for XX_VirtToPhys() */
118 t_Handle portal;
129 portal = NULL;
132 /* Check if portal is ready */
137 /* Return if portal is already initialized */
149 /* Map portal registers */
152 /* Configure and initialize portal */
159 portal = BM_PORTAL_Config(&bpp);
160 if (portal == NULL)
163 if (BM_PORTAL_Init(portal) != E_OK)
166 atomic_store_rel_ptr((uintptr_t *)&sc->sc_dp[cpu].dp_ph, (uintptr_t)portal);
170 return (portal);
173 if (portal != NULL)
174 BM_PORTAL_Free(portal);