Lines Matching refs:ibase
305 /* Pluto (aka ZX1) boxes need to set or clear the ibase bits appropriately */
306 #define SBA_IOVA(ioc,iovp,offset,hint_reg) ((ioc->ibase) | (iovp) | (offset))
349 BUG_ON(ioc->ibase & ~IOVP_MASK);
350 shift = ioc->ibase >> IOVP_SHIFT;
689 return((int)(mask >= (ioc->ibase - 1 +
1232 lba_set_iregs(lba, ibd->ioc->ibase, ibd->ioc->imask);
1276 ioc->ibase = READ_REG(ioc->ioc_hpa + IOC_IBASE) & ~0x1fffffULL;
1279 if ((ioc->ibase < 0xfed00000UL) && ((ioc->ibase + iova_space_size) > 0xfee00000UL)) {
1351 ** Program the IOC's ibase and enable IOVA translation
1354 WRITE_REG(ioc->ibase | 1, ioc->ioc_hpa + IOC_IBASE);
1360 WRITE_REG(ioc->ibase | 31, ioc->ioc_hpa + IOC_PCOM);
1454 ** ibase=0, imask=0xFE000000, size=0x2000000.
1456 ioc->ibase = 0;
1463 __func__, ioc->ibase, ioc->imask);
1474 ** Program the IOC's ibase and enable IOVA translation
1476 WRITE_REG(ioc->ibase | 1, ioc->ioc_hpa+IOC_IBASE);
1499 ioc->ibase = 0; /* used by SBA_IOVA and related macros */