Home
last modified time | relevance | path

Searched refs:LCB_START (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/infiniband/hw/hfi1/
Ddebugfs.c646 if (*ppos >= (LCB_END - LCB_START) || !count) in debugfs_lcb_read()
649 if (*ppos + count > LCB_END - LCB_START) in debugfs_lcb_read()
650 count = (LCB_END - LCB_START) - *ppos; in debugfs_lcb_read()
652 csr_off = LCB_START + *ppos; in debugfs_lcb_read()
679 if (*ppos >= (LCB_END - LCB_START) || !count) in debugfs_lcb_write()
682 if (*ppos + count > LCB_END - LCB_START) in debugfs_lcb_write()
683 count = (LCB_END - LCB_START) - *ppos; in debugfs_lcb_write()
685 csr_off = LCB_START + *ppos; in debugfs_lcb_write()
Dchip.h803 #define LCB_START DC_LCB_CSRS macro
807 return (offset >= LCB_START && offset < LCB_END); in is_lcb_offset()