Lines Matching defs:dmareq
794 ddi_dma_handle_t handle, struct ddi_dma_req *dmareq,
804 return ((*funcp)(dip, rdip, handle, dmareq, cp, ccountp));
5237 ddi_dma_handle_t handle, struct ddi_dma_req *dmareq,
5240 _NOTE(ARGUNUSED(dip, rdip, handle, dmareq, cp, ccountp))
7074 struct ddi_dma_req dmareq;
7077 dmareq.dmar_flags = flags;
7078 dmareq.dmar_fp = waitfp;
7079 dmareq.dmar_arg = arg;
7080 dmareq.dmar_object.dmao_size = (uint_t)bp->b_bcount;
7083 dmareq.dmar_object.dmao_type = DMA_OTYP_PAGES;
7084 dmareq.dmar_object.dmao_obj.pp_obj.pp_pp = bp->b_pages;
7085 dmareq.dmar_object.dmao_obj.pp_obj.pp_offset =
7088 dmareq.dmar_object.dmao_obj.virt_obj.v_addr = bp->b_un.b_addr;
7090 dmareq.dmar_object.dmao_obj.virt_obj.v_priv =
7092 dmareq.dmar_object.dmao_type = DMA_OTYP_BUFVADDR;
7094 dmareq.dmar_object.dmao_type =
7097 dmareq.dmar_object.dmao_obj.virt_obj.v_priv = NULL;
7109 dmareq.dmar_object.dmao_obj.virt_obj.v_as = 0;
7111 dmareq.dmar_object.dmao_obj.virt_obj.v_as =
7120 return ((*funcp)(dip, rdip, handle, &dmareq, cookiep, ccountp));
7130 struct ddi_dma_req dmareq;
7136 dmareq.dmar_flags = flags;
7137 dmareq.dmar_fp = waitfp;
7138 dmareq.dmar_arg = arg;
7139 dmareq.dmar_object.dmao_size = len;
7140 dmareq.dmar_object.dmao_type = DMA_OTYP_VADDR;
7141 dmareq.dmar_object.dmao_obj.virt_obj.v_as = as;
7142 dmareq.dmar_object.dmao_obj.virt_obj.v_addr = addr;
7143 dmareq.dmar_object.dmao_obj.virt_obj.v_priv = NULL;
7149 return ((*funcp)(dip, rdip, handle, &dmareq, cookiep, ccountp));