Lines Matching defs: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,
1966 ddi_dma_handle_t handle, struct ddi_dma_req *dmareq,
1989 if (dmareq->dmar_fp == DDI_DMA_SLEEP) {
1995 hp->dmai_rflags = dmareq->dmar_flags & DMP_DDIFLAGS;
2023 e = rootnex_valid_bind_parms(dmareq, attr);
2032 dma->dp_dma = dmareq->dmar_object;
2037 e = iommulib_nexdma_mapobject(dip, rdip, handle, dmareq, dmao);
2221 e = rootnex_bind_slowpath(hp, dmareq, dma, attr, &dma->dp_dma,
2280 ddi_dma_handle_t handle, struct ddi_dma_req *dmareq,
2286 ret = iommulib_nexdma_bindhdl(dip, rdip, handle, dmareq,
2290 ret = rootnex_coredma_bindhdl(dip, rdip, handle, dmareq,
2293 if (ret == DDI_DMA_NORESOURCES && dmareq->dmar_fp != DDI_DMA_DONTWAIT) {
2294 ddi_set_callback(dmareq->dmar_fp, dmareq->dmar_arg,
2724 rootnex_valid_bind_parms(ddi_dma_req_t *dmareq, ddi_dma_attr_t *attr)
2731 if (dmareq->dmar_object.dmao_size > 0x7FFFFFFF) {
3255 rootnex_bind_slowpath(ddi_dma_impl_t *hp, struct ddi_dma_req *dmareq,
3280 e = rootnex_setup_copybuf(hp, dmareq, dma, attr);
3306 !(dmareq->dmar_flags & DDI_DMA_PARTIAL)) {
3343 cur_pp = dmareq->dmar_object.dmao_obj.pp_obj.pp_pp;
3469 rootnex_setup_copybuf(ddi_dma_impl_t *hp, struct ddi_dma_req *dmareq,
3501 if ((dmareq->dmar_object.dmao_type == DMA_OTYP_PAGES) ||
3502 (dmareq->dmar_object.dmao_obj.virt_obj.v_as != NULL)) {
3505 if (dmareq->dmar_fp == DDI_DMA_SLEEP) {
3521 if (dmareq->dmar_fp == DDI_DMA_SLEEP) {