Searched refs:QSFP_PAGESIZE (Results 1 – 5 of 5) sorted by relevance
103 in_page = addr % QSFP_PAGESIZE; in qsfp_read()104 if ((in_page + wlen) > QSFP_PAGESIZE) in qsfp_read()105 wlen = QSFP_PAGESIZE - in_page; in qsfp_read()211 in_page = addr % QSFP_PAGESIZE; in qib_qsfp_write()212 if ((in_page + wlen) > QSFP_PAGESIZE) in qib_qsfp_write()213 wlen = QSFP_PAGESIZE - in_page; in qib_qsfp_write()
51 #define QSFP_PAGESIZE 128 macro
414 page = (u8)(addr / QSFP_PAGESIZE); in qsfp_write()427 offset = addr % QSFP_PAGESIZE; in qsfp_write()494 page = (u8)(addr / QSFP_PAGESIZE); in qsfp_read()506 offset = addr % QSFP_PAGESIZE; in qsfp_read()576 ret = qsfp_read(ppd, target, 0, cache, QSFP_PAGESIZE); in refresh_qsfp_cache()577 if (ret != QSFP_PAGESIZE) { in refresh_qsfp_cache()580 __func__, QSFP_PAGESIZE, ret); in refresh_qsfp_cache()
66 #define QSFP_PAGESIZE 256 macro
889 if (*ppos + count > QSFP_PAGESIZE * 4) /* base page + page00-page03 */ in __qsfp_debugfs_write()936 if (*ppos + count > QSFP_PAGESIZE * 4) { /* base page + page00-page03 */ in __qsfp_debugfs_read()