Lines Matching refs:qsfp_read
47 static int qsfp_read(struct qib_pportdata *ppd, int addr, void *bp, int len)
259 ret = qsfp_read(ppd, first, &bval, 1);
292 ret = qsfp_read(ppd, 0, peek, 3);
314 ret = qsfp_read(ppd, QSFP_MOD_ID_OFFS, &cp->id, 1);
322 ret = qsfp_read(ppd, QSFP_MOD_PWR_OFFS, &cp->pwr, 1);
332 ret = qsfp_read(ppd, QSFP_MOD_LEN_OFFS, &cp->len, 1);
337 ret = qsfp_read(ppd, QSFP_MOD_TECH_OFFS, &cp->tech, 1);
342 ret = qsfp_read(ppd, QSFP_VEND_OFFS, &cp->vendor, QSFP_VEND_LEN);
348 ret = qsfp_read(ppd, QSFP_IBXCV_OFFS, &cp->xt_xcv, 1);
353 ret = qsfp_read(ppd, QSFP_VOUI_OFFS, &cp->oui, QSFP_VOUI_LEN);
359 ret = qsfp_read(ppd, QSFP_PN_OFFS, &cp->partnum, QSFP_PN_LEN);
365 ret = qsfp_read(ppd, QSFP_REV_OFFS, &cp->rev, QSFP_REV_LEN);
371 ret = qsfp_read(ppd, QSFP_ATTEN_OFFS, &cp->atten, QSFP_ATTEN_LEN);
383 ret = qsfp_read(ppd, QSFP_CC_OFFS, &cp->cks1, 1);
397 ret = qsfp_read(ppd, QSFP_SN_OFFS, &cp->serial, QSFP_SN_LEN);
403 ret = qsfp_read(ppd, QSFP_DATE_OFFS, &cp->date, QSFP_DATE_LEN);
409 ret = qsfp_read(ppd, QSFP_LOT_OFFS, &cp->lot, QSFP_LOT_LEN);
420 ret = qsfp_read(ppd, QSFP_CC_EXT_OFFS, &cp->cks2, 1);
551 ret = qsfp_read(ppd, bidx, bin_buff, QSFP_DUMP_CHUNK);