Lines Matching defs:dmareq

338  *			and convert dmareq->dmar_limits to mp->dmai_attr
354 * The dlim_dmaspeed member of dmareq->dmar_limits is ignored.
358 ddi_dma_req_t *dmareq)
365 ddi_dma_lim_t *lim_p = dmareq->dmar_limits;
376 if (!(mp = pci_dma_allocmp(dip, rdip, dmareq->dmar_fp,
377 dmareq->dmar_arg)))
541 * mp->dmai_object - dmareq->dmar_object
542 * mp->dmai_rflags - consistent?, nosync?, dmareq->dmar_flags
550 pci_dma_type(pci_t *pci_p, ddi_dma_req_t *dmareq, ddi_dma_impl_t *mp)
553 ddi_dma_obj_t *dobj_p = &dmareq->dmar_object;
561 mp->dmai_rflags = pci_dma_consist_check(dmareq->dmar_flags, pbm_p);
582 int (*waitfp)(caddr_t) = dmareq->dmar_fp;
595 dmareq->dmar_arg,
699 pci_dma_vapfn(pci_t *pci_p, ddi_dma_req_t *dmareq, ddi_dma_impl_t *mp,
720 int (*waitfp)(caddr_t) = dmareq->dmar_fp;
733 dmareq->dmar_arg, &pci_kmem_clid);
761 pci_dma_pfn(pci_t *pci_p, ddi_dma_req_t *dmareq, ddi_dma_impl_t *mp)
764 int (*waitfp)(caddr_t) = dmareq->dmar_fp;
783 ddi_set_callback(waitfp, dmareq->dmar_arg,
790 pci_dma_vapfn(pci_p, dmareq, mp, npages)) != DDI_SUCCESS)
838 pci_dvma_win(pci_t *pci_p, ddi_dma_req_t *dmareq, ddi_dma_impl_t *mp)
882 if (!(dmareq->dmar_flags & DDI_DMA_PARTIAL)) {
985 pci_dvma_map(ddi_dma_impl_t *mp, ddi_dma_req_t *dmareq, iommu_t *iommu_p)
991 int sleep = dmareq->dmar_fp == DDI_DMA_SLEEP ? VM_SLEEP : VM_NOSLEEP;
1042 if (dmareq->dmar_fp != DDI_DMA_DONTWAIT) {
1044 ddi_set_callback(dmareq->dmar_fp, dmareq->dmar_arg,
1173 pci_dma_newwin(ddi_dma_req_t *dmareq, ddi_dma_impl_t *mp, uint32_t cookie_no,
1177 int (*waitfp)(caddr_t) = dmareq->dmar_fp;
1225 ddi_set_callback(waitfp, dmareq->dmar_arg, &pci_kmem_clid);
1248 pci_dma_adjust(ddi_dma_req_t *dmareq, ddi_dma_impl_t *mp, pci_dma_win_t *win_p)
1327 pci_dma_physwin(pci_t *pci_p, ddi_dma_req_t *dmareq, ddi_dma_impl_t *mp)
1384 if (ret = pci_dma_newwin(dmareq, mp, cookie_no,
1400 if (ret = pci_dma_newwin(dmareq, mp, cookie_no, win_pfn0_index,
1404 pci_dma_adjust(dmareq, mp, mp->dmai_winlst);