Searched refs:qsfp_read (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/infiniband/hw/qib/ |
H A D | qib_qsfp.c | 261 ret = qsfp_read(ppd, first, &bval, 1); in qsfp_cks() 288 ret = qsfp_read(ppd, 0, peek, 3); in qib_refresh_qsfp_cache() 311 ret = qsfp_read(ppd, QSFP_MOD_ID_OFFS, &cp->id, 1); in qib_refresh_qsfp_cache() 319 ret = qsfp_read(ppd, QSFP_MOD_PWR_OFFS, &cp->pwr, 1); in qib_refresh_qsfp_cache() 329 ret = qsfp_read(ppd, QSFP_MOD_LEN_OFFS, &cp->len, 1); in qib_refresh_qsfp_cache() 334 ret = qsfp_read(ppd, QSFP_MOD_TECH_OFFS, &cp->tech, 1); in qib_refresh_qsfp_cache() 345 ret = qsfp_read(ppd, QSFP_IBXCV_OFFS, &cp->xt_xcv, 1); in qib_refresh_qsfp_cache() 362 ret = qsfp_read(ppd, QSFP_REV_OFFS, &cp->rev, QSFP_REV_LEN); in qib_refresh_qsfp_cache() 380 ret = qsfp_read(ppd, QSFP_CC_OFFS, &cp->cks1, 1); in qib_refresh_qsfp_cache() 417 ret = qsfp_read(ppd, QSFP_CC_EXT_OFFS, &cp->cks2, 1); in qib_refresh_qsfp_cache() [all …]
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | qsfp.c | 435 int qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, in qsfp_read() function 498 ret = qsfp_read(ppd, target, addr, bp, len); in one_qsfp_read() 534 ret = qsfp_read(ppd, target, 0, cache, QSFP_PAGESIZE); in refresh_qsfp_cache() 547 ret = qsfp_read(ppd, target, 384, cache + 256, 128); in refresh_qsfp_cache() 552 ret = qsfp_read(ppd, target, 640, cache + 384, 128); in refresh_qsfp_cache() 557 ret = qsfp_read(ppd, target, 896, cache + 512, 128); in refresh_qsfp_cache() 564 ret = qsfp_read(ppd, target, 640, cache + 384, 128); in refresh_qsfp_cache() 569 ret = qsfp_read(ppd, target, 896, cache + 512, 128); in refresh_qsfp_cache() 576 ret = qsfp_read(ppd, target, 384, cache + 256, 128); in refresh_qsfp_cache() 581 ret = qsfp_read(ppd, target, 896, cache + 512, 128); in refresh_qsfp_cache() [all …]
|
H A D | qsfp.h | 196 int qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp,
|
H A D | debugfs.c | 907 total_read = qsfp_read(ppd, target, *ppos, buff, count); in __qsfp_debugfs_read()
|