Lines Matching refs:dmareq
571 pci_dma_setup(dev_info_t *dip, dev_info_t *rdip, ddi_dma_req_t *dmareq, in pci_dma_setup() argument
583 if (!(mp = pci_dma_lmts2hdl(dip, rdip, iommu_p, dmareq))) in pci_dma_setup()
587 if (ret = pci_dma_type(pci_p, dmareq, mp)) in pci_dma_setup()
589 if (ret = pci_dma_pfn(pci_p, dmareq, mp)) in pci_dma_setup()
594 if ((ret = pci_dvma_win(pci_p, dmareq, mp)) || !handlep) in pci_dma_setup()
605 if (ret = pci_dvma_map(mp, dmareq, iommu_p)) in pci_dma_setup()
609 if ((ret = pci_dma_physwin(pci_p, dmareq, mp)) || !handlep) in pci_dma_setup()
695 ddi_dma_handle_t handle, ddi_dma_req_t *dmareq, in pci_dma_bindhdl() argument
704 ddi_driver_name(rdip), ddi_get_instance(rdip), mp, dmareq); in pci_dma_bindhdl()
712 if (ret = pci_dma_type(pci_p, dmareq, mp)) in pci_dma_bindhdl()
714 if (ret = pci_dma_pfn(pci_p, dmareq, mp)) in pci_dma_bindhdl()
719 if (ret = pci_dvma_win(pci_p, dmareq, mp)) in pci_dma_bindhdl()
729 if (ret = pci_dvma_map(mp, dmareq, iommu_p)) in pci_dma_bindhdl()
739 if (ret = pci_dma_physwin(pci_p, dmareq, mp)) in pci_dma_bindhdl()