Lines Matching refs:iotsb
112 iotsb_num = pbm->iommu->atu->iotsb->iotsb_num; in iommu_batch_flush()
341 iotsb_num = atu->iotsb->iotsb_num; in dma_4v_free_coherent()
457 iotsb_num = atu->iotsb->iotsb_num; in dma_4v_unmap_page()
660 iotsb_num = atu->iotsb->iotsb_num; in dma_4v_unmap_sg()
754 struct atu_iotsb *iotsb; in pci_sun4v_atu_alloc_iotsb() local
761 iotsb = kzalloc(sizeof(*iotsb), GFP_KERNEL); in pci_sun4v_atu_alloc_iotsb()
762 if (!iotsb) { in pci_sun4v_atu_alloc_iotsb()
766 atu->iotsb = iotsb; in pci_sun4v_atu_alloc_iotsb()
776 iotsb->table = table; in pci_sun4v_atu_alloc_iotsb()
777 iotsb->ra = __pa(table); in pci_sun4v_atu_alloc_iotsb()
778 iotsb->dvma_size = atu->size; in pci_sun4v_atu_alloc_iotsb()
779 iotsb->dvma_base = atu->base; in pci_sun4v_atu_alloc_iotsb()
780 iotsb->table_size = table_size; in pci_sun4v_atu_alloc_iotsb()
781 iotsb->page_size = IO_PAGE_SIZE; in pci_sun4v_atu_alloc_iotsb()
785 iotsb->ra, in pci_sun4v_atu_alloc_iotsb()
786 iotsb->table_size, in pci_sun4v_atu_alloc_iotsb()
787 iotsb->page_size, in pci_sun4v_atu_alloc_iotsb()
788 iotsb->dvma_base, in pci_sun4v_atu_alloc_iotsb()
794 iotsb->iotsb_num = iotsb_num; in pci_sun4v_atu_alloc_iotsb()
807 kfree(iotsb); in pci_sun4v_atu_alloc_iotsb()