Lines Matching refs:dmareq

204     ddi_dma_handle_t handle, struct ddi_dma_req *dmareq,
232 ddi_dma_handle_t handle, struct ddi_dma_req *dmareq,
382 static int rootnex_valid_bind_parms(ddi_dma_req_t *dmareq,
388 static int rootnex_bind_slowpath(ddi_dma_impl_t *hp, struct ddi_dma_req *dmareq,
390 static int rootnex_setup_copybuf(ddi_dma_impl_t *hp, struct ddi_dma_req *dmareq,
1961 ddi_dma_handle_t handle, struct ddi_dma_req *dmareq, in rootnex_coredma_bindhdl() argument
1984 if (dmareq->dmar_fp == DDI_DMA_SLEEP) { in rootnex_coredma_bindhdl()
1990 hp->dmai_rflags = dmareq->dmar_flags & DMP_DDIFLAGS; in rootnex_coredma_bindhdl()
2018 e = rootnex_valid_bind_parms(dmareq, attr); in rootnex_coredma_bindhdl()
2027 dma->dp_dma = dmareq->dmar_object; in rootnex_coredma_bindhdl()
2032 e = iommulib_nexdma_mapobject(dip, rdip, handle, dmareq, dmao); in rootnex_coredma_bindhdl()
2216 e = rootnex_bind_slowpath(hp, dmareq, dma, attr, &dma->dp_dma, in rootnex_coredma_bindhdl()
2275 ddi_dma_handle_t handle, struct ddi_dma_req *dmareq, in rootnex_dma_bindhdl() argument
2281 ret = iommulib_nexdma_bindhdl(dip, rdip, handle, dmareq, in rootnex_dma_bindhdl()
2285 ret = rootnex_coredma_bindhdl(dip, rdip, handle, dmareq, in rootnex_dma_bindhdl()
2288 if (ret == DDI_DMA_NORESOURCES && dmareq->dmar_fp != DDI_DMA_DONTWAIT) { in rootnex_dma_bindhdl()
2289 ddi_set_callback(dmareq->dmar_fp, dmareq->dmar_arg, in rootnex_dma_bindhdl()
2719 rootnex_valid_bind_parms(ddi_dma_req_t *dmareq, ddi_dma_attr_t *attr) in rootnex_valid_bind_parms() argument
2726 if (dmareq->dmar_object.dmao_size > 0x7FFFFFFF) { in rootnex_valid_bind_parms()
3250 rootnex_bind_slowpath(ddi_dma_impl_t *hp, struct ddi_dma_req *dmareq, in rootnex_bind_slowpath() argument
3275 e = rootnex_setup_copybuf(hp, dmareq, dma, attr); in rootnex_bind_slowpath()
3301 !(dmareq->dmar_flags & DDI_DMA_PARTIAL)) { in rootnex_bind_slowpath()
3338 cur_pp = dmareq->dmar_object.dmao_obj.pp_obj.pp_pp; in rootnex_bind_slowpath()
3464 rootnex_setup_copybuf(ddi_dma_impl_t *hp, struct ddi_dma_req *dmareq, in rootnex_setup_copybuf() argument
3496 if ((dmareq->dmar_object.dmao_type == DMA_OTYP_PAGES) || in rootnex_setup_copybuf()
3497 (dmareq->dmar_object.dmao_obj.virt_obj.v_as != NULL)) { in rootnex_setup_copybuf()
3500 if (dmareq->dmar_fp == DDI_DMA_SLEEP) { in rootnex_setup_copybuf()
3516 if (dmareq->dmar_fp == DDI_DMA_SLEEP) { in rootnex_setup_copybuf()