Searched refs:dmar_object (Results 1 – 14 of 14) sorted by relevance
/illumos-gate/usr/src/uts/sun4/io/efcode/ |
H A D | fc_ddi.c | 74 dmareq.dmar_object.dmao_size = (uint_t)bp->b_bcount; in fc_ddi_dma_buf_bind_handle() 77 dmareq.dmar_object.dmao_type = DMA_OTYP_PAGES; in fc_ddi_dma_buf_bind_handle() 78 dmareq.dmar_object.dmao_obj.pp_obj.pp_pp = bp->b_pages; in fc_ddi_dma_buf_bind_handle() 79 dmareq.dmar_object.dmao_obj.pp_obj.pp_offset = in fc_ddi_dma_buf_bind_handle() 82 dmareq.dmar_object.dmao_obj.virt_obj.v_addr = bp->b_un.b_addr; in fc_ddi_dma_buf_bind_handle() 84 dmareq.dmar_object.dmao_obj.virt_obj.v_priv = in fc_ddi_dma_buf_bind_handle() 86 dmareq.dmar_object.dmao_type = DMA_OTYP_BUFVADDR; in fc_ddi_dma_buf_bind_handle() 88 dmareq.dmar_object.dmao_type = in fc_ddi_dma_buf_bind_handle() 91 dmareq.dmar_object.dmao_obj.virt_obj.v_priv = NULL; in fc_ddi_dma_buf_bind_handle() 103 dmareq.dmar_object.dmao_obj.virt_obj.v_as = 0; in fc_ddi_dma_buf_bind_handle() [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | rootnex.c | 374 static void rootnex_get_sgl(ddi_dma_obj_t *dmar_object, ddi_dma_cookie_t *sgl, 376 static void rootnex_dvma_get_sgl(ddi_dma_obj_t *dmar_object, 388 static void rootnex_setup_cookie(ddi_dma_obj_t *dmar_object, 404 static boolean_t rootnex_need_bounce_seg(ddi_dma_obj_t *dmar_object, 406 static struct as *rootnex_get_as(ddi_dma_obj_t *dmar_object); 2009 dma->dp_dma = dmareq->dmar_object; in rootnex_coredma_bindhdl() 2705 rootnex_need_bounce_seg(ddi_dma_obj_t *dmar_object, rootnex_sglinfo_t *sglinfo) in rootnex_need_bounce_seg() argument 2722 pplist = dmar_object->dmao_obj.virt_obj.v_priv; in rootnex_need_bounce_seg() 2723 vaddr = dmar_object->dmao_obj.virt_obj.v_addr; in rootnex_need_bounce_seg() 2724 buftype = dmar_object->dmao_type; in rootnex_need_bounce_seg() [all …]
|
H A D | immu_dvma.c | 2561 ddi_dma_obj_t *dmar_object; in immu_map_dvmaseg() local 2581 dmar_object = &dmareq->dmar_object; in immu_map_dvmaseg() 2582 pparray = dmar_object->dmao_obj.virt_obj.v_priv; in immu_map_dvmaseg() 2583 vaddr = dmar_object->dmao_obj.virt_obj.v_addr; in immu_map_dvmaseg() 2584 buftype = dmar_object->dmao_type; in immu_map_dvmaseg() 2585 size = dmar_object->dmao_size; in immu_map_dvmaseg() 2596 page = dmar_object->dmao_obj.pp_obj.pp_pp; in immu_map_dvmaseg() 2597 offset = dmar_object->dmao_obj.pp_obj.pp_offset & in immu_map_dvmaseg() 2602 vas = dmar_object->dmao_obj.virt_obj.v_as; in immu_map_dvmaseg() 2728 ihp->ihp_dvseg[0].dvs_len = dmar_object->dmao_size; in immu_map_dvmaseg() [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | iommu.c | 344 #define OBJSIZE dmareq->dmar_object.dmao_size 839 if (!((addrlow + dmareq->dmar_object.dmao_size == 0) && in check_dma_attr() 876 size = (uint32_t)dmareq->dmar_object.dmao_size; in iommu_dma_bindhdl() 887 switch (dmareq->dmar_object.dmao_type) { in iommu_dma_bindhdl() 890 addr = (uintptr_t)dmareq->dmar_object.dmao_obj.virt_obj.v_addr; in iommu_dma_bindhdl() 892 pplist = dmareq->dmar_object.dmao_obj.virt_obj.v_priv; in iommu_dma_bindhdl() 906 pp = dmareq->dmar_object.dmao_obj.pp_obj.pp_pp; in iommu_dma_bindhdl() 907 offset = dmareq->dmar_object.dmao_obj.pp_obj.pp_offset; in iommu_dma_bindhdl() 965 mp->dmai_object = dmareq->dmar_object; in iommu_dma_bindhdl() 1092 (dmareq->dmar_object.dmao_size + (size - 1)) / size; in iommu_dma_bindhdl() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | bofi.c | 377 *lenp = dmareqp->dmar_object.dmao_size; in ddi_dmareq_mapin() 378 if (dmareqp->dmar_object.dmao_type == DMA_OTYP_PAGES) { in ddi_dmareq_mapin() 379 *mapaddrp = dmareq_pp_mapin(dmareqp->dmar_object.dmao_size, in ddi_dmareq_mapin() 380 dmareqp->dmar_object.dmao_obj.pp_obj.pp_offset, in ddi_dmareq_mapin() 381 dmareqp->dmar_object.dmao_obj.pp_obj.pp_pp, sleep); in ddi_dmareq_mapin() 383 } else if (dmareqp->dmar_object.dmao_obj.virt_obj.v_priv != NULL) { in ddi_dmareq_mapin() 384 *mapaddrp = dmareq_pplist_mapin(dmareqp->dmar_object.dmao_size, in ddi_dmareq_mapin() 385 dmareqp->dmar_object.dmao_obj.virt_obj.v_addr, in ddi_dmareq_mapin() 386 dmareqp->dmar_object.dmao_obj.virt_obj.v_priv, in ddi_dmareq_mapin() 387 dmareqp->dmar_object.dmao_obj.virt_obj.v_as, sleep); in ddi_dmareq_mapin() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | ddidmareq.h | 500 ddi_dma_obj_t dmar_object; member
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | dvma.c | 74 dmareq.dmar_object.dmao_size = pages; in dvma_reserve()
|
/illumos-gate/usr/src/uts/sun4/io/ |
H A D | rootnex.c | 705 #define OBJSIZE dmareq->dmar_object.dmao_size 706 #define ORIGVADDR dmareq->dmar_object.dmao_obj.virt_obj.v_addr
|
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px_fdvma.c | 159 npages = dmareq->dmar_object.dmao_size; in px_fdvma_reserve()
|
H A D | px_dma.c | 391 ddi_dma_obj_t *dobj_p = &dmareq->dmar_object; in px_dma_type()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunddi.c | 7006 dmareq.dmar_object.dmao_size = (uint_t)bp->b_bcount; in ddi_dma_buf_bind_handle() 7009 dmareq.dmar_object.dmao_type = DMA_OTYP_PAGES; in ddi_dma_buf_bind_handle() 7010 dmareq.dmar_object.dmao_obj.pp_obj.pp_pp = bp->b_pages; in ddi_dma_buf_bind_handle() 7011 dmareq.dmar_object.dmao_obj.pp_obj.pp_offset = in ddi_dma_buf_bind_handle() 7014 dmareq.dmar_object.dmao_obj.virt_obj.v_addr = bp->b_un.b_addr; in ddi_dma_buf_bind_handle() 7016 dmareq.dmar_object.dmao_obj.virt_obj.v_priv = in ddi_dma_buf_bind_handle() 7018 dmareq.dmar_object.dmao_type = DMA_OTYP_BUFVADDR; in ddi_dma_buf_bind_handle() 7020 dmareq.dmar_object.dmao_type = in ddi_dma_buf_bind_handle() 7023 dmareq.dmar_object.dmao_obj.virt_obj.v_priv = NULL; in ddi_dma_buf_bind_handle() 7035 dmareq.dmar_object.dmao_obj.virt_obj.v_as = 0; in ddi_dma_buf_bind_handle() [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_fdvma.c | 206 npages = dmareq->dmar_object.dmao_size; in pci_fdvma_reserve()
|
H A D | pci_dma.c | 555 ddi_dma_obj_t *dobj_p = &dmareq->dmar_object; in pci_dma_type()
|
/illumos-gate/usr/src/uts/sun4v/io/niumx/ |
H A D | niumx.c | 730 ddi_dma_obj_t *dobj_p = &dmareq->dmar_object; in niumx_dma_bindhdl()
|