Lines Matching defs:index
49 px_fdvma_load(ddi_dma_handle_t h, caddr_t a, uint_t len, uint_t index,
68 DBG(DBG_FAST_DVMA, dip, "load index=%x: %p+%x ", index, a, len);
69 if (index + npages > mp->dmai_ndvmapages) {
71 "%s%d: kaddr_load index(%x)+pgs(%lx) exceeds limit\n",
73 index, npages);
76 fdvma_p->pagecnt[index] = npages;
78 dvma_addr = mp->dmai_mapping + MMU_PTOB(index);
100 px_fdvma_unload(ddi_dma_handle_t h, uint_t index, uint_t sync_flag)
105 size_t npages = fdvma_p->pagecnt[index];
106 px_dvma_addr_t dvma_pg = MMU_BTOP(mp->dmai_mapping + MMU_PTOB(index));
109 "unload index=%x sync_flag=%x %x+%x+%x\n", index, sync_flag,
110 mp->dmai_mapping, MMU_PTOB(index), MMU_PTOB(npages));
113 fdvma_p->pagecnt[index] = 0;
118 px_fdvma_sync(ddi_dma_handle_t h, uint_t index, uint_t sync_flag)
123 size_t npg = fdvma_p->pagecnt[index];
126 "sync index=%x sync_flag=%x %x+%x+%x\n", index, sync_flag,
127 mp->dmai_mapping, MMU_PTOB(index), MMU_PTOB(npg));