Lines Matching refs:iotsb_num

92 	unsigned long iotsb_num;  in iommu_batch_flush()  local
118 iotsb_num = pbm->iommu->atu->iotsb->iotsb_num; in iommu_batch_flush()
120 iotsb_num, in iommu_batch_flush()
128 devhandle, iotsb_num, in iommu_batch_flush()
259 unsigned long iotsb_num, in dma_4v_iotsb_bind() argument
271 dma_4v_iotsb_bind(devhandle, iotsb_num, in dma_4v_iotsb_bind()
277 err = pci_sun4v_iotsb_bind(devhandle, iotsb_num, in dma_4v_iotsb_bind()
296 dma_addr_t dvma, unsigned long iotsb_num, in dma_4v_iommu_demap() argument
309 ret = pci_sun4v_iotsb_demap(devhandle, iotsb_num, in dma_4v_iommu_demap()
330 unsigned long iotsb_num; in dma_4v_free_coherent() local
341 iotsb_num = 0; /* we don't care for legacy iommu */ in dma_4v_free_coherent()
344 iotsb_num = atu->iotsb->iotsb_num; in dma_4v_free_coherent()
347 dma_4v_iommu_demap(dev, devhandle, dvma, iotsb_num, entry, npages); in dma_4v_free_coherent()
437 unsigned long iotsb_num; in dma_4v_unmap_page() local
457 iotsb_num = 0; /* we don't care for legacy iommu */ in dma_4v_unmap_page()
460 iotsb_num = atu->iotsb->iotsb_num; in dma_4v_unmap_page()
464 dma_4v_iommu_demap(dev, devhandle, bus_addr, iotsb_num, entry, npages); in dma_4v_unmap_page()
634 unsigned long iotsb_num; in dma_4v_unmap_sg() local
659 iotsb_num = 0; /* we don't care for legacy iommu */ in dma_4v_unmap_sg()
662 iotsb_num = atu->iotsb->iotsb_num; in dma_4v_unmap_sg()
666 dma_4v_iommu_demap(dev, devhandle, dma_handle, iotsb_num, in dma_4v_unmap_sg()
747 u64 iotsb_num; in pci_sun4v_atu_alloc_iotsb() local
779 &iotsb_num); in pci_sun4v_atu_alloc_iotsb()
784 iotsb->iotsb_num = iotsb_num; in pci_sun4v_atu_alloc_iotsb()
786 err = dma_4v_iotsb_bind(pbm->devhandle, iotsb_num, pbm->pci_bus); in pci_sun4v_atu_alloc_iotsb()