Searched refs:epage (Results 1 – 3 of 3) sorted by relevance
46 const unsigned long epage = (addr + len - 1) & PAGE_MASK; in num_user_pages() local48 return 1 + ((epage - spage) >> PAGE_SHIFT); in num_user_pages()
2171 u16 head, tail, tx_mask, spage, epage; in MoxaPortWriteData() local2178 epage = readw(ofsAddr + EndPage_txb); in MoxaPortWriteData()2186 if (spage == epage) { in MoxaPortWriteData()2212 if (++pageno == epage) in MoxaPortWriteData()2230 u16 tail, rx_mask, spage, epage; in MoxaPortReadData() local2239 epage = readw(ofsAddr + EndPage_rxb); in MoxaPortReadData()2246 if (spage == epage) { in MoxaPortReadData()2271 if (pageofs == 0 && ++pageno == epage) in MoxaPortReadData()
610 const unsigned long epage = (addr + len - 1) & PAGE_MASK; in qib_user_sdma_num_pages() local612 return 1 + ((epage - spage) >> PAGE_SHIFT); in qib_user_sdma_num_pages()