Home
last modified time | relevance | path

Searched refs:qsfp_read (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_qsfp.c47 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 …]
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dqsfp.c435 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 …]
Dqsfp.h196 int qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp,
Ddebugfs.c907 total_read = qsfp_read(ppd, target, *ppos, buff, count); in __qsfp_debugfs_read()