Lines Matching refs:ioc_hpa

199 	void __iomem	*ioc_hpa;	/* I/O MMU base address */  member
665 READ_REG(ioc->ioc_hpa+IOC_PCOM); /* flush purges */ in sba_alloc_range()
674 __func__, ioc->ioc_hpa, ioc->res_size, in sba_alloc_range()
681 __func__, ioc->ioc_hpa, ioc->res_size, in sba_alloc_range()
897 WRITE_REG(iovp | ioc->ibase, ioc->ioc_hpa+IOC_PCOM); in sba_mark_invalid()
1088 READ_REG(ioc->ioc_hpa+IOC_PCOM); /* flush purges */ in sba_unmap_page()
1096 READ_REG(ioc->ioc_hpa+IOC_PCOM); /* flush purges */ in sba_unmap_page()
1588 ioc->ibase = READ_REG(ioc->ioc_hpa + IOC_IBASE) & ~0x1UL; in ioc_iova_init()
1589 ioc->imask = READ_REG(ioc->ioc_hpa + IOC_IMASK) | 0xFFFFFFFF00000000UL; in ioc_iova_init()
1594 __func__, ioc->ioc_hpa, ioc->ibase, ioc->imask, in ioc_iova_init()
1607 WRITE_REG(tcnfg, ioc->ioc_hpa + IOC_TCNFG); in ioc_iova_init()
1621 WRITE_REG(virt_to_phys(ioc->pdir_base), ioc->ioc_hpa + IOC_PDIR_BASE); in ioc_iova_init()
1670 WRITE_REG(ioc->ibase | (get_iovp_order(ioc->iov_size) + iovp_shift), ioc->ioc_hpa + IOC_PCOM); in ioc_iova_init()
1671 READ_REG(ioc->ioc_hpa + IOC_PCOM); in ioc_iova_init()
1674 WRITE_REG(ioc->ibase | 1, ioc->ioc_hpa + IOC_IBASE); in ioc_iova_init()
1675 READ_REG(ioc->ioc_hpa + IOC_IBASE); in ioc_iova_init()
1761 rope_config = READ_REG(ioc->ioc_hpa + IOC_ROPE0_CFG + i); in ioc_zx1_init()
1763 WRITE_REG(rope_config, ioc->ioc_hpa + IOC_ROPE0_CFG + i); in ioc_zx1_init()
1789 ioc->ioc_hpa = ioremap(hpa, 0x1000); in ioc_init()
1791 ioc->func_id = READ_REG(ioc->ioc_hpa + IOC_FUNC_ID); in ioc_init()
1792 ioc->rev = READ_REG(ioc->ioc_hpa + IOC_FCLASS) & 0xFFUL; in ioc_init()