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
372 page = (u8)(addr / QSFP_PAGESIZE); in qsfp_write()385 offset = addr % QSFP_PAGESIZE; in qsfp_write()452 page = (u8)(addr / QSFP_PAGESIZE); in qsfp_read()464 offset = addr % QSFP_PAGESIZE; in qsfp_read()534 ret = qsfp_read(ppd, target, 0, cache, QSFP_PAGESIZE); in refresh_qsfp_cache()535 if (ret != QSFP_PAGESIZE) { in refresh_qsfp_cache()538 __func__, QSFP_PAGESIZE, ret); in refresh_qsfp_cache()
24 #define QSFP_PAGESIZE 256 macro
847 if (*ppos + count > QSFP_PAGESIZE * 4) /* base page + page00-page03 */ in __qsfp_debugfs_write()894 if (*ppos + count > QSFP_PAGESIZE * 4) { /* base page + page00-page03 */ in __qsfp_debugfs_read()