Lines Matching refs:ioc_hpa

203 	void __iomem	*ioc_hpa;	/* I/O MMU base address */  member
674 READ_REG(ioc->ioc_hpa+IOC_PCOM); /* flush purges */ in sba_alloc_range()
683 __func__, ioc->ioc_hpa, ioc->res_size, in sba_alloc_range()
690 __func__, ioc->ioc_hpa, ioc->res_size, in sba_alloc_range()
906 WRITE_REG(iovp | ioc->ibase, ioc->ioc_hpa+IOC_PCOM); in sba_mark_invalid()
1104 READ_REG(ioc->ioc_hpa+IOC_PCOM); /* flush purges */ in sba_unmap_page()
1112 READ_REG(ioc->ioc_hpa+IOC_PCOM); /* flush purges */ in sba_unmap_page()
1614 ioc->ibase = READ_REG(ioc->ioc_hpa + IOC_IBASE) & ~0x1UL; in ioc_iova_init()
1615 ioc->imask = READ_REG(ioc->ioc_hpa + IOC_IMASK) | 0xFFFFFFFF00000000UL; in ioc_iova_init()
1620 __func__, ioc->ioc_hpa, ioc->ibase, ioc->imask, in ioc_iova_init()
1633 WRITE_REG(tcnfg, ioc->ioc_hpa + IOC_TCNFG); in ioc_iova_init()
1647 WRITE_REG(virt_to_phys(ioc->pdir_base), ioc->ioc_hpa + IOC_PDIR_BASE); in ioc_iova_init()
1696 WRITE_REG(ioc->ibase | (get_iovp_order(ioc->iov_size) + iovp_shift), ioc->ioc_hpa + IOC_PCOM); in ioc_iova_init()
1697 READ_REG(ioc->ioc_hpa + IOC_PCOM); in ioc_iova_init()
1700 WRITE_REG(ioc->ibase | 1, ioc->ioc_hpa + IOC_IBASE); in ioc_iova_init()
1701 READ_REG(ioc->ioc_hpa + IOC_IBASE); in ioc_iova_init()
1789 rope_config = READ_REG(ioc->ioc_hpa + IOC_ROPE0_CFG + i); in ioc_zx1_init()
1791 WRITE_REG(rope_config, ioc->ioc_hpa + IOC_ROPE0_CFG + i); in ioc_zx1_init()
1824 ioc->ioc_hpa = ioremap(hpa, 0x1000); in ioc_init()
1826 ioc->func_id = READ_REG(ioc->ioc_hpa + IOC_FUNC_ID); in ioc_init()
1827 ioc->rev = READ_REG(ioc->ioc_hpa + IOC_FCLASS) & 0xFFUL; in ioc_init()