Home
last modified time | relevance | path

Searched refs:QSFP_PAGESIZE (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/infiniband/hw/qib/
Dqib_qsfp.c103 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()
Dqib_qsfp.h51 #define QSFP_PAGESIZE 128 macro
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dqsfp.c414 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()
Dqsfp.h66 #define QSFP_PAGESIZE 256 macro
Ddebugfs.c889 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()