Searched defs:mmu_p (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_fdvma.c55 px_mmu_t *mmu_p = px_p->px_mmu_p; local
80 pg_index = dvma_pg - mmu_p->dvma_base_pg;
136 px_mmu_t *mmu_p = px_p->px_mmu_p; local
153 if ((lo >= hi) || (hi < mmu_p->mmu_dvma_base))
160 if ((long)atomic_add_long_nv(&mmu_p->mmu_dvma_reserve, -npages) < 0) {
161 atomic_add_long(&mmu_p->mmu_dvma_reserve, npages);
176 dvma_pg = MMU_BTOP((ulong_t)vmem_xalloc(mmu_p->mmu_dvma_map,
181 atomic_add_long(&mmu_p->mmu_dvma_reserve, npages);
228 px_mmu_t *mmu_p = px_p->px_mmu_p; local
242 px_mmu_unmap_window(mmu_p, m
[all...]
H A Dpx_mmu.c44 px_mmu_t *mmu_p; local
55 mmu_p = kmem_zalloc(sizeof (px_mmu_t), KM_SLEEP);
56 if (mmu_p == NULL)
59 px_p->px_mmu_p = mmu_p;
60 mmu_p->mmu_px_p = px_p;
61 mmu_p->mmu_inst = ddi_get_instance(dip);
73 kmem_free(mmu_p, sizeof (px_mmu_t));
79 mmu_p->mmu_dvma_base = dvma_prop->dvma_base;
80 mmu_p->mmu_dvma_end = dvma_prop->dvma_base +
89 mmu_p
152 px_mmu_t *mmu_p = px_p->px_mmu_p; local
177 px_mmu_map_pages(px_mmu_t *mmu_p, ddi_dma_impl_t *mp, px_dvma_addr_t dvma_pg, size_t npages, size_t pfn_index) argument
228 px_mmu_unmap_pages(px_mmu_t *mmu_p, ddi_dma_impl_t *mp, px_dvma_addr_t dvma_pg, uint_t npages) argument
266 px_mmu_map_window(px_mmu_t *mmu_p, ddi_dma_impl_t *mp, px_window_t win_no) argument
303 px_mmu_unmap_window(px_mmu_t *mmu_p, ddi_dma_impl_t *mp) argument
[all...]
H A Dpx.c843 px_mmu_t *mmu_p = px_p->px_mmu_p; local
851 if (!(mp = px_dma_lmts2hdl(dip, rdip, mmu_p, dmareq)))
866 if (!px_dvma_map_fast(mmu_p, mp))
873 if (ret = px_dvma_map(mp, dmareq, mmu_p))
967 px_mmu_t *mmu_p = px_p->px_mmu_p; local
991 if (!px_dvma_map_fast(mmu_p, mp))
997 if (ret = px_dvma_map(mp, dmareq, mmu_p))
1042 px_mmu_t *mmu_p = px_p->px_mmu_p; local
1059 px_mmu_unmap_window(mmu_p, mp);
1060 px_dvma_unmap(mmu_p, m
1109 px_mmu_t *mmu_p = px_p->px_mmu_p; local
[all...]
H A Dpx_dma.c176 px_dma_lmts2hdl(dev_info_t *dip, dev_info_t *rdip, px_mmu_t *mmu_p, argument
181 uint64_t syslo = mmu_p->mmu_dvma_base;
182 uint64_t syshi = mmu_p->mmu_dvma_end;
183 uint64_t fasthi = mmu_p->mmu_dvma_fast_end;
269 px_mmu_t *mmu_p = px_p->px_mmu_p; local
318 syslo = mmu_p->mmu_dvma_base;
319 syshi = mmu_p->mmu_dvma_end;
352 syshi = mmu_p->mmu_dvma_fast_end;
700 px_dvma_map_fast(px_mmu_t *mmu_p, ddi_dma_impl_t *mp) argument
706 int i = mmu_p
779 px_dvma_map(ddi_dma_impl_t *mp, ddi_dma_req_t *dmareq, px_mmu_t *mmu_p) argument
856 px_dvma_unmap(px_mmu_t *mmu_p, ddi_dma_impl_t *mp) argument
1257 px_dvma_debug_init(px_mmu_t *mmu_p) argument
1273 px_dvma_debug_fini(px_mmu_t *mmu_p) argument
1306 px_dvma_alloc_debug(px_mmu_t *mmu_p, char *address, uint_t len, ddi_dma_impl_t *mp) argument
1339 px_dvma_free_debug(px_mmu_t *mmu_p, char *address, uint_t len, ddi_dma_impl_t *mp) argument
[all...]
/illumos-gate/usr/src/uts/sun4u/io/px/
H A Dpx_hlib.c1948 px_mmu_t *mmu_p = px_p->px_mmu_p; local
1952 dvma_map = mmu_p->mmu_dvma_map;
1972 va = (caddr_t)(MMU_PTOB(mmu_p->dvma_base_pg + obp_tsb_bias +

Completed in 53 milliseconds