Home
last modified time | relevance | path

Searched refs:epage (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Duser_exp_rcv.h46 const unsigned long epage = (addr + len - 1) & PAGE_MASK; in num_user_pages() local
48 return 1 + ((epage - spage) >> PAGE_SHIFT); in num_user_pages()
/openbmc/linux/drivers/tty/
H A Dmoxa.c2171 u16 head, tail, tx_mask, spage, epage; in MoxaPortWriteData() local
2178 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() local
2239 epage = readw(ofsAddr + EndPage_rxb); in MoxaPortReadData()
2246 if (spage == epage) { in MoxaPortReadData()
2271 if (pageofs == 0 && ++pageno == epage) in MoxaPortReadData()
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_user_sdma.c608 const unsigned long epage = (addr + len - 1) & PAGE_MASK; in qib_user_sdma_num_pages() local
610 return 1 + ((epage - spage) >> PAGE_SHIFT); in qib_user_sdma_num_pages()