Searched refs:IOVP_MASK (Results 1 – 2 of 2) sorted by relevance
185 #define IOVP_MASK PAGE_MASK macro571 ASSERT(0 == (size & ~IOVP_MASK)); in sba_alloc_range()758 ASSERT(0 == (byte_cnt & ~IOVP_MASK)); in sba_mark_invalid()847 offset = ((dma_addr_t) (long) addr) & ~IOVP_MASK; in sba_map_single()850 size = (size + offset + ~IOVP_MASK) & IOVP_MASK; in sba_map_single()921 offset = iova & ~IOVP_MASK; in sba_unmap_single()1073 dma_offset = (unsigned long) pide & ~IOVP_MASK; in sba_fill_pdir()1159 dma_offset = vaddr & ~IOVP_MASK; in sba_coalesce_chunks()1186 if (((dma_len + dma_offset + startsg->length + ~IOVP_MASK) & IOVP_MASK) > DMA_CHUNK_SIZE) in sba_coalesce_chunks()1248 dma_len = (dma_len + dma_offset + ~IOVP_MASK) & IOVP_MASK; in sba_coalesce_chunks()[all …]
190 #define IOVP_MASK PAGE_MASK macro194 #define CCIO_IOVP(iova) ((iova) & IOVP_MASK)528 iovp &= IOVP_MASK; /* clear offset bits, just want pagenum */ in ccio_clear_io_tlb()644 offset = ((unsigned long) addr) & ~IOVP_MASK; in ccio_map_single()700 dma_addr_t offset = iova & ~IOVP_MASK; in ccio_unmap_single()816 dma_offset = (unsigned long) pide & ~IOVP_MASK; in ccio_fill_pdir()882 dma_offset = (unsigned long) sg_virt_addr(startsg) & ~IOVP_MASK; in ccio_coalesce_chunks()