Home
last modified time | relevance | path

Searched refs:dmar_object (Results 1 – 14 of 14) sorted by relevance

/titanic_44/usr/src/uts/sun4/io/efcode/
H A Dfc_ddi.c73 dmareq.dmar_object.dmao_size = (uint_t)bp->b_bcount; in fc_ddi_dma_buf_bind_handle()
76 dmareq.dmar_object.dmao_type = DMA_OTYP_PAGES; in fc_ddi_dma_buf_bind_handle()
77 dmareq.dmar_object.dmao_obj.pp_obj.pp_pp = bp->b_pages; in fc_ddi_dma_buf_bind_handle()
78 dmareq.dmar_object.dmao_obj.pp_obj.pp_offset = in fc_ddi_dma_buf_bind_handle()
81 dmareq.dmar_object.dmao_obj.virt_obj.v_addr = bp->b_un.b_addr; in fc_ddi_dma_buf_bind_handle()
83 dmareq.dmar_object.dmao_obj.virt_obj.v_priv = in fc_ddi_dma_buf_bind_handle()
85 dmareq.dmar_object.dmao_type = DMA_OTYP_BUFVADDR; in fc_ddi_dma_buf_bind_handle()
87 dmareq.dmar_object.dmao_type = in fc_ddi_dma_buf_bind_handle()
90 dmareq.dmar_object.dmao_obj.virt_obj.v_priv = NULL; in fc_ddi_dma_buf_bind_handle()
102 dmareq.dmar_object.dmao_obj.virt_obj.v_as = 0; in fc_ddi_dma_buf_bind_handle()
[all …]
/titanic_44/usr/src/uts/i86pc/io/
H A Drootnex.c384 static void rootnex_get_sgl(ddi_dma_obj_t *dmar_object, ddi_dma_cookie_t *sgl,
386 static void rootnex_dvma_get_sgl(ddi_dma_obj_t *dmar_object,
398 static void rootnex_setup_cookie(ddi_dma_obj_t *dmar_object,
414 static boolean_t rootnex_need_bounce_seg(ddi_dma_obj_t *dmar_object,
416 static struct as *rootnex_get_as(ddi_dma_obj_t *dmar_object);
2027 dma->dp_dma = dmareq->dmar_object; in rootnex_coredma_bindhdl()
2726 if (dmareq->dmar_object.dmao_size > 0x7FFFFFFF) { in rootnex_valid_bind_parms()
2740 rootnex_need_bounce_seg(ddi_dma_obj_t *dmar_object, rootnex_sglinfo_t *sglinfo) in rootnex_need_bounce_seg() argument
2757 pplist = dmar_object->dmao_obj.virt_obj.v_priv; in rootnex_need_bounce_seg()
2758 vaddr = dmar_object->dmao_obj.virt_obj.v_addr; in rootnex_need_bounce_seg()
[all …]
H A Dimmu_dvma.c2558 ddi_dma_obj_t *dmar_object; in immu_map_dvmaseg() local
2576 dmar_object = &dmareq->dmar_object; in immu_map_dvmaseg()
2577 pparray = dmar_object->dmao_obj.virt_obj.v_priv; in immu_map_dvmaseg()
2578 vaddr = dmar_object->dmao_obj.virt_obj.v_addr; in immu_map_dvmaseg()
2579 buftype = dmar_object->dmao_type; in immu_map_dvmaseg()
2580 size = dmar_object->dmao_size; in immu_map_dvmaseg()
2591 page = dmar_object->dmao_obj.pp_obj.pp_pp; in immu_map_dvmaseg()
2592 offset = dmar_object->dmao_obj.pp_obj.pp_offset & in immu_map_dvmaseg()
2597 vas = dmar_object->dmao_obj.virt_obj.v_as; in immu_map_dvmaseg()
2722 ihp->ihp_dvseg[0].dvs_len = dmar_object->dmao_size; in immu_map_dvmaseg()
[all …]
/titanic_44/usr/src/uts/sun4u/io/
H A Diommu.c344 #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 …]
/titanic_44/usr/src/uts/common/io/
H A Dbofi.c374 *lenp = dmareqp->dmar_object.dmao_size; in ddi_dmareq_mapin()
375 if (dmareqp->dmar_object.dmao_type == DMA_OTYP_PAGES) { in ddi_dmareq_mapin()
376 *mapaddrp = dmareq_pp_mapin(dmareqp->dmar_object.dmao_size, in ddi_dmareq_mapin()
377 dmareqp->dmar_object.dmao_obj.pp_obj.pp_offset, in ddi_dmareq_mapin()
378 dmareqp->dmar_object.dmao_obj.pp_obj.pp_pp, sleep); in ddi_dmareq_mapin()
380 } else if (dmareqp->dmar_object.dmao_obj.virt_obj.v_priv != NULL) { in ddi_dmareq_mapin()
381 *mapaddrp = dmareq_pplist_mapin(dmareqp->dmar_object.dmao_size, in ddi_dmareq_mapin()
382 dmareqp->dmar_object.dmao_obj.virt_obj.v_addr, in ddi_dmareq_mapin()
383 dmareqp->dmar_object.dmao_obj.virt_obj.v_priv, in ddi_dmareq_mapin()
384 dmareqp->dmar_object.dmao_obj.virt_obj.v_as, sleep); in ddi_dmareq_mapin()
[all …]
/titanic_44/usr/src/uts/common/sys/
H A Dddidmareq.h500 ddi_dma_obj_t dmar_object; member
/titanic_44/usr/src/uts/sun4/os/
H A Ddvma.c74 dmareq.dmar_object.dmao_size = pages; in dvma_reserve()
/titanic_44/usr/src/uts/sun4/io/
H A Drootnex.c705 #define OBJSIZE dmareq->dmar_object.dmao_size
706 #define ORIGVADDR dmareq->dmar_object.dmao_obj.virt_obj.v_addr
/titanic_44/usr/src/uts/sun4/io/px/
H A Dpx_fdvma.c159 npages = dmareq->dmar_object.dmao_size; in px_fdvma_reserve()
H A Dpx_dma.c389 ddi_dma_obj_t *dobj_p = &dmareq->dmar_object; in px_dma_type()
/titanic_44/usr/src/uts/common/os/
H A Dsunddi.c7080 dmareq.dmar_object.dmao_size = (uint_t)bp->b_bcount; in ddi_dma_buf_bind_handle()
7083 dmareq.dmar_object.dmao_type = DMA_OTYP_PAGES; in ddi_dma_buf_bind_handle()
7084 dmareq.dmar_object.dmao_obj.pp_obj.pp_pp = bp->b_pages; in ddi_dma_buf_bind_handle()
7085 dmareq.dmar_object.dmao_obj.pp_obj.pp_offset = in ddi_dma_buf_bind_handle()
7088 dmareq.dmar_object.dmao_obj.virt_obj.v_addr = bp->b_un.b_addr; in ddi_dma_buf_bind_handle()
7090 dmareq.dmar_object.dmao_obj.virt_obj.v_priv = in ddi_dma_buf_bind_handle()
7092 dmareq.dmar_object.dmao_type = DMA_OTYP_BUFVADDR; in ddi_dma_buf_bind_handle()
7094 dmareq.dmar_object.dmao_type = in ddi_dma_buf_bind_handle()
7097 dmareq.dmar_object.dmao_obj.virt_obj.v_priv = NULL; in ddi_dma_buf_bind_handle()
7109 dmareq.dmar_object.dmao_obj.virt_obj.v_as = 0; in ddi_dma_buf_bind_handle()
[all …]
/titanic_44/usr/src/uts/sun4u/io/pci/
H A Dpci_fdvma.c206 npages = dmareq->dmar_object.dmao_size; in pci_fdvma_reserve()
H A Dpci_dma.c553 ddi_dma_obj_t *dobj_p = &dmareq->dmar_object; in pci_dma_type()
/titanic_44/usr/src/uts/sun4v/io/niumx/
H A Dniumx.c728 ddi_dma_obj_t *dobj_p = &dmareq->dmar_object; in niumx_dma_bindhdl()