Searched refs:qsfp_read (Results 1 – 4 of 4) sorted by relevance
/drivers/infiniband/hw/qib/ |
D | qib_qsfp.c | 47 static int qsfp_read(struct qib_pportdata *ppd, int addr, void *bp, int len) in qsfp_read() function 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() 339 ret = qsfp_read(ppd, QSFP_VEND_OFFS, &cp->vendor, QSFP_VEND_LEN); in qib_refresh_qsfp_cache() 345 ret = qsfp_read(ppd, QSFP_IBXCV_OFFS, &cp->xt_xcv, 1); in qib_refresh_qsfp_cache() 350 ret = qsfp_read(ppd, QSFP_VOUI_OFFS, &cp->oui, QSFP_VOUI_LEN); in qib_refresh_qsfp_cache() [all …]
|
/drivers/infiniband/hw/hfi1/ |
D | qsfp.c | 477 int qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, in qsfp_read() function 540 ret = qsfp_read(ppd, target, addr, bp, len); in one_qsfp_read() 576 ret = qsfp_read(ppd, target, 0, cache, QSFP_PAGESIZE); in refresh_qsfp_cache() 589 ret = qsfp_read(ppd, target, 384, cache + 256, 128); in refresh_qsfp_cache() 594 ret = qsfp_read(ppd, target, 640, cache + 384, 128); in refresh_qsfp_cache() 599 ret = qsfp_read(ppd, target, 896, cache + 512, 128); in refresh_qsfp_cache() 606 ret = qsfp_read(ppd, target, 640, cache + 384, 128); in refresh_qsfp_cache() 611 ret = qsfp_read(ppd, target, 896, cache + 512, 128); in refresh_qsfp_cache() 618 ret = qsfp_read(ppd, target, 384, cache + 256, 128); in refresh_qsfp_cache() 623 ret = qsfp_read(ppd, target, 896, cache + 512, 128); in refresh_qsfp_cache() [all …]
|
D | qsfp.h | 238 int qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp,
|
D | debugfs.c | 949 total_read = qsfp_read(ppd, target, *ppos, buff, count); in __qsfp_debugfs_read()
|