Searched refs:IOVP_MASK (Results 1 – 4 of 4) sorted by relevance
355 BUG_ON(ioc->ibase & ~IOVP_MASK); in sba_search_bitmap()579 pa &= IOVP_MASK; in sba_io_pdir_entry()725 offset = ((dma_addr_t) (long) addr) & ~IOVP_MASK; in sba_map_single()728 size = (size + offset + ~IOVP_MASK) & IOVP_MASK; in sba_map_single()817 offset = iova & ~IOVP_MASK; in sba_unmap_page()1061 …ioc->usg_pages += ((sg_dma_address(sglist) & ~IOVP_MASK) + sg_dma_len(sglist) + IOVP_SIZE - 1) >> … in sba_unmap_sg()
280 #define IOVP_MASK PAGE_MASK macro284 #define CCIO_IOVP(iova) ((iova) & IOVP_MASK)631 iovp &= IOVP_MASK; /* clear offset bits, just want pagenum */ in ccio_clear_io_tlb()743 offset = ((unsigned long) addr) & ~IOVP_MASK; in ccio_map_single()808 dma_addr_t offset = iova & ~IOVP_MASK; in ccio_unmap_page()
53 dma_offset = (unsigned long) pide & ~IOVP_MASK; in iommu_fill_pdir()
190 #define IOVP_MASK PAGE_MASK macro