Lines Matching refs:errs
817 } errs[] = {
846 for (i = 0; i < ARRAY_SIZE(errs); i++) {
847 if (err & errs[i].err)
849 "%s ", errs[i].msg);
897 static void sdma_7220_errors(struct qib_pportdata *ppd, u64 errs)
903 errs &= QLOGIC_IB_E_SDMAERRS;
906 qib_decode_7220_sdma_errs(ppd, errs, msg,
910 if (errs & ERR_MASK(SendBufMisuseErr)) {
923 if (errs & ERR_MASK(SDmaUnexpDataErr))
945 if (errs & ERR_MASK(SDmaDisabledErr))
955 if (errs & DISABLES_SDMA)
1094 static void handle_7220_errors(struct qib_devdata *dd, u64 errs)
1103 errs &= dd->cspec->errormask;
1107 if (errs & ERR_MASK(HardwareErr))
1110 if (errs & QLOGIC_IB_E_SDMAERRS)
1111 sdma_7220_errors(ppd, errs);
1113 if (errs & ~IB_E_BITSEXTANT)
1116 (unsigned long long) (errs & ~IB_E_BITSEXTANT));
1118 if (errs & E_SUM_ERRS) {
1120 if ((errs & E_SUM_LINK_PKTERRS) &&
1129 ignore_this_time = errs & E_SUM_LINK_PKTERRS;
1131 } else if ((errs & E_SUM_LINK_PKTERRS) &&
1140 ignore_this_time = errs & E_SUM_LINK_PKTERRS;
1143 qib_write_kreg(dd, kr_errclear, errs);
1145 errs &= ~ignore_this_time;
1146 if (!errs)
1158 qib_decode_7220_err(dd, msg, sizeof(dd->cspec->emsgbuf), errs & ~mask);
1160 if (errs & E_SUM_PKTERRS)
1162 if (errs & E_SUM_ERRS)
1164 iserr = errs & ~(E_SUM_PKTERRS | QLOGIC_IB_E_PKTERRS |
1167 if (errs & ERR_MASK(IBStatusChanged)) {
1194 if (errs & ERR_MASK(ResetNegated)) {
1216 if (errs & (ERR_MASK(RcvEgrFullErr) | ERR_MASK(RcvHdrFullErr))) {
1218 if (errs & ERR_MASK(RcvEgrFullErr))