Lines Matching refs:idx
276 int idx; in qib_refresh_qsfp_cache() local
342 for (idx = 0; idx < QSFP_VEND_LEN; ++idx) in qib_refresh_qsfp_cache()
343 cks += cp->vendor[idx]; in qib_refresh_qsfp_cache()
353 for (idx = 0; idx < QSFP_VOUI_LEN; ++idx) in qib_refresh_qsfp_cache()
354 cks += cp->oui[idx]; in qib_refresh_qsfp_cache()
359 for (idx = 0; idx < QSFP_PN_LEN; ++idx) in qib_refresh_qsfp_cache()
360 cks += cp->partnum[idx]; in qib_refresh_qsfp_cache()
365 for (idx = 0; idx < QSFP_REV_LEN; ++idx) in qib_refresh_qsfp_cache()
366 cks += cp->rev[idx]; in qib_refresh_qsfp_cache()
371 for (idx = 0; idx < QSFP_ATTEN_LEN; ++idx) in qib_refresh_qsfp_cache()
372 cks += cp->atten[idx]; in qib_refresh_qsfp_cache()
397 for (idx = 0; idx < QSFP_SN_LEN; ++idx) in qib_refresh_qsfp_cache()
398 cks += cp->serial[idx]; in qib_refresh_qsfp_cache()
403 for (idx = 0; idx < QSFP_DATE_LEN; ++idx) in qib_refresh_qsfp_cache()
404 cks += cp->date[idx]; in qib_refresh_qsfp_cache()
409 for (idx = 0; idx < QSFP_LOT_LEN; ++idx) in qib_refresh_qsfp_cache()
410 cks += cp->lot[idx]; in qib_refresh_qsfp_cache()