Lines Matching refs:iotsb
118 iotsb_num = pbm->iommu->atu->iotsb->iotsb_num; in iommu_batch_flush()
344 iotsb_num = atu->iotsb->iotsb_num; in dma_4v_free_coherent()
460 iotsb_num = atu->iotsb->iotsb_num; in dma_4v_unmap_page()
662 iotsb_num = atu->iotsb->iotsb_num; in dma_4v_unmap_sg()
744 struct atu_iotsb *iotsb; in pci_sun4v_atu_alloc_iotsb() local
751 iotsb = kzalloc(sizeof(*iotsb), GFP_KERNEL); in pci_sun4v_atu_alloc_iotsb()
752 if (!iotsb) { in pci_sun4v_atu_alloc_iotsb()
756 atu->iotsb = iotsb; in pci_sun4v_atu_alloc_iotsb()
766 iotsb->table = table; in pci_sun4v_atu_alloc_iotsb()
767 iotsb->ra = __pa(table); in pci_sun4v_atu_alloc_iotsb()
768 iotsb->dvma_size = atu->size; in pci_sun4v_atu_alloc_iotsb()
769 iotsb->dvma_base = atu->base; in pci_sun4v_atu_alloc_iotsb()
770 iotsb->table_size = table_size; in pci_sun4v_atu_alloc_iotsb()
771 iotsb->page_size = IO_PAGE_SIZE; in pci_sun4v_atu_alloc_iotsb()
775 iotsb->ra, in pci_sun4v_atu_alloc_iotsb()
776 iotsb->table_size, in pci_sun4v_atu_alloc_iotsb()
777 iotsb->page_size, in pci_sun4v_atu_alloc_iotsb()
778 iotsb->dvma_base, in pci_sun4v_atu_alloc_iotsb()
784 iotsb->iotsb_num = iotsb_num; in pci_sun4v_atu_alloc_iotsb()
797 kfree(iotsb); in pci_sun4v_atu_alloc_iotsb()