Lines Matching refs:ibase
202 unsigned long ibase; /* pdir IOV Space base */ member
427 #define SBA_IOVA(ioc,iovp,offset) ((ioc->ibase) | (iovp) | (offset))
428 #define SBA_IOVP(ioc,iova) ((iova) & ~(ioc->ibase))
490 BUG_ON(ioc->ibase & ~iovp_mask); in sba_search_bitmap()
491 shift = ioc->ibase >> iovp_shift; in sba_search_bitmap()
897 WRITE_REG(iovp | ioc->ibase, ioc->ioc_hpa+IOC_PCOM); in sba_mark_invalid()
1046 if (likely((iova & ioc->imask) != ioc->ibase)) { in sba_unmap_page()
1230 dma_sg->dma_address = pide | ioc->ibase; in sba_fill_pdir()
1588 ioc->ibase = READ_REG(ioc->ioc_hpa + IOC_IBASE) & ~0x1UL; in ioc_iova_init()
1594 __func__, ioc->ioc_hpa, ioc->ibase, ioc->imask, in ioc_iova_init()
1636 ioc->iov_size/2 >> 20, ioc->ibase + ioc->iov_size/2); 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()
1674 WRITE_REG(ioc->ibase | 1, ioc->ioc_hpa + IOC_IBASE); in ioc_iova_init()
1825 hpa, ioc->iov_size >> 20, ioc->ibase); in ioc_init()