Lines Matching refs:iovp
308 #define SBA_IOVA(ioc,iovp,offset,hint_reg) ((ioc->ibase) | (iovp) | (offset)) argument
312 #define SBA_IOVA(ioc,iovp,offset,hint_reg) ((iovp) | (offset)) argument
316 #define PDIR_INDEX(iovp) ((iovp)>>IOVP_SHIFT) argument
493 unsigned long iovp = SBA_IOVP(ioc, iova); in sba_free_range() local
494 unsigned int pide = PDIR_INDEX(iovp); in sba_free_range()
614 u32 iovp = (u32) SBA_IOVP(ioc,iova); in sba_mark_invalid() local
615 u64 *pdir_ptr = &ioc->pdir_base[PDIR_INDEX(iovp)]; in sba_mark_invalid()
625 sba_dump_pdir_entry(ioc,"sba_mark_invalid()", PDIR_INDEX(iovp)); in sba_mark_invalid()
639 iovp |= get_order(byte_cnt) + PAGE_SHIFT; in sba_mark_invalid()
654 iovp |= IOVP_SHIFT; /* set "size" field for PCOM */ in sba_mark_invalid()
667 WRITE_REG( SBA_IOVA(ioc, iovp, 0, 0), ioc->ioc_hpa+IOC_PCOM); in sba_mark_invalid()
723 dma_addr_t iovp; in sba_map_single() local
748 iovp = (dma_addr_t) pide << IOVP_SHIFT; in sba_map_single()
751 __func__, addr, (long) iovp | offset); in sba_map_single()
785 return SBA_IOVA(ioc, iovp, offset, DEFAULT_DMA_HINT_REG); in sba_map_single()