Lines Matching refs:qsfp_read

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()
356 ret = qsfp_read(ppd, QSFP_PN_OFFS, &cp->partnum, QSFP_PN_LEN); in qib_refresh_qsfp_cache()
362 ret = qsfp_read(ppd, QSFP_REV_OFFS, &cp->rev, QSFP_REV_LEN); in qib_refresh_qsfp_cache()
368 ret = qsfp_read(ppd, QSFP_ATTEN_OFFS, &cp->atten, QSFP_ATTEN_LEN); in qib_refresh_qsfp_cache()
380 ret = qsfp_read(ppd, QSFP_CC_OFFS, &cp->cks1, 1); in qib_refresh_qsfp_cache()
394 ret = qsfp_read(ppd, QSFP_SN_OFFS, &cp->serial, QSFP_SN_LEN); in qib_refresh_qsfp_cache()
400 ret = qsfp_read(ppd, QSFP_DATE_OFFS, &cp->date, QSFP_DATE_LEN); in qib_refresh_qsfp_cache()
406 ret = qsfp_read(ppd, QSFP_LOT_OFFS, &cp->lot, QSFP_LOT_LEN); in qib_refresh_qsfp_cache()
417 ret = qsfp_read(ppd, QSFP_CC_EXT_OFFS, &cp->cks2, 1); in qib_refresh_qsfp_cache()
536 ret = qsfp_read(ppd, bidx, bin_buff, QSFP_DUMP_CHUNK); in qib_qsfp_dump()