Lines Matching refs:dmareq
196 ddi_dma_handle_t handle, struct ddi_dma_req *dmareq,
224 ddi_dma_handle_t handle, struct ddi_dma_req *dmareq,
378 static int rootnex_bind_slowpath(ddi_dma_impl_t *hp, struct ddi_dma_req *dmareq,
380 static int rootnex_setup_copybuf(ddi_dma_impl_t *hp, struct ddi_dma_req *dmareq,
1953 ddi_dma_handle_t handle, struct ddi_dma_req *dmareq, in rootnex_coredma_bindhdl() argument
1976 if (dmareq->dmar_fp == DDI_DMA_SLEEP) { in rootnex_coredma_bindhdl()
1982 hp->dmai_rflags = dmareq->dmar_flags & DMP_DDIFLAGS; in rootnex_coredma_bindhdl()
2009 dma->dp_dma = dmareq->dmar_object; in rootnex_coredma_bindhdl()
2014 e = iommulib_nexdma_mapobject(dip, rdip, handle, dmareq, dmao); in rootnex_coredma_bindhdl()
2200 e = rootnex_bind_slowpath(hp, dmareq, dma, attr, &dma->dp_dma, in rootnex_coredma_bindhdl()
2261 ddi_dma_handle_t handle, struct ddi_dma_req *dmareq, in rootnex_dma_bindhdl() argument
2267 ret = iommulib_nexdma_bindhdl(dip, rdip, handle, dmareq, in rootnex_dma_bindhdl()
2271 ret = rootnex_coredma_bindhdl(dip, rdip, handle, dmareq, in rootnex_dma_bindhdl()
2274 if (ret == DDI_DMA_NORESOURCES && dmareq->dmar_fp != DDI_DMA_DONTWAIT) { in rootnex_dma_bindhdl()
2275 ddi_set_callback(dmareq->dmar_fp, dmareq->dmar_arg, in rootnex_dma_bindhdl()
3198 rootnex_bind_slowpath(ddi_dma_impl_t *hp, struct ddi_dma_req *dmareq, in rootnex_bind_slowpath() argument
3223 e = rootnex_setup_copybuf(hp, dmareq, dma, attr); in rootnex_bind_slowpath()
3249 !(dmareq->dmar_flags & DDI_DMA_PARTIAL)) { in rootnex_bind_slowpath()
3286 cur_pp = dmareq->dmar_object.dmao_obj.pp_obj.pp_pp; in rootnex_bind_slowpath()
3412 rootnex_setup_copybuf(ddi_dma_impl_t *hp, struct ddi_dma_req *dmareq, in rootnex_setup_copybuf() argument
3437 if (dmareq->dmar_fp == DDI_DMA_SLEEP) { in rootnex_setup_copybuf()