Lines Matching refs:dmareq
179 ddi_dma_req_t *dmareq) in px_dma_lmts2hdl() argument
186 ddi_dma_lim_t *lim_p = dmareq->dmar_limits; in px_dma_lmts2hdl()
197 if (!(mp = px_dma_allocmp(dip, rdip, dmareq->dmar_fp, in px_dma_lmts2hdl()
198 dmareq->dmar_arg))) in px_dma_lmts2hdl()
388 px_dma_type(px_t *px_p, ddi_dma_req_t *dmareq, ddi_dma_impl_t *mp) in px_dma_type() argument
391 ddi_dma_obj_t *dobj_p = &dmareq->dmar_object; in px_dma_type()
397 mp->dmai_rflags = dmareq->dmar_flags & DMP_DDIFLAGS; in px_dma_type()
552 px_dma_pfn(px_t *px_p, ddi_dma_req_t *dmareq, ddi_dma_impl_t *mp) in px_dma_pfn() argument
555 int (*waitfp)(caddr_t) = dmareq->dmar_fp; in px_dma_pfn()
578 ddi_set_callback(waitfp, dmareq->dmar_arg, in px_dma_pfn()
632 px_dvma_win(px_t *px_p, ddi_dma_req_t *dmareq, ddi_dma_impl_t *mp) in px_dvma_win() argument
675 if (!(dmareq->dmar_flags & DDI_DMA_PARTIAL)) { in px_dvma_win()
781 px_dvma_map(ddi_dma_impl_t *mp, ddi_dma_req_t *dmareq, px_mmu_t *mmu_p) in px_dvma_map() argument
788 int sleep = dmareq->dmar_fp == DDI_DMA_SLEEP ? VM_SLEEP : VM_NOSLEEP; in px_dvma_map()
848 if (dmareq->dmar_fp != DDI_DMA_DONTWAIT) { in px_dvma_map()
850 ddi_set_callback(dmareq->dmar_fp, dmareq->dmar_arg, in px_dvma_map()
954 px_dma_newwin(dev_info_t *dip, ddi_dma_req_t *dmareq, ddi_dma_impl_t *mp, in px_dma_newwin() argument
958 int (*waitfp)(caddr_t) = dmareq->dmar_fp; in px_dma_newwin()
1026 ddi_set_callback(waitfp, dmareq->dmar_arg, &px_kmem_clid); in px_dma_newwin()
1049 px_dma_adjust(ddi_dma_req_t *dmareq, ddi_dma_impl_t *mp, px_dma_win_t *win_p) in px_dma_adjust() argument
1128 px_dma_physwin(px_t *px_p, ddi_dma_req_t *dmareq, ddi_dma_impl_t *mp) in px_dma_physwin() argument
1208 if (ret = px_dma_newwin(dip, dmareq, mp, cookie_no, in px_dma_physwin()
1224 if (ret = px_dma_newwin(dip, dmareq, mp, cookie_no, win_pfn0_index, in px_dma_physwin()
1228 px_dma_adjust(dmareq, mp, mp->dmai_winlst); in px_dma_physwin()