Lines Matching refs:errs
85 /* ignore armlaunch errs for a bit */
131 static u64 handle_e_sum_errs(struct ipath_devdata *dd, ipath_err_t errs)
136 if ((errs & E_SUM_LINK_PKTERRS) &&
146 "ACTIVE\n", (unsigned long long) errs);
147 ignore_this_time = errs & E_SUM_LINK_PKTERRS;
258 ipath_err_t errs)
500 ipath_err_t errs, char *msg,
531 static void handle_sdma_errors(struct ipath_devdata *dd, ipath_err_t errs)
538 ipath_decode_err(dd, msg, sizeof msg, errs &
540 ipath_dbg("errors %lx (%s)\n", (unsigned long)errs, msg);
632 static int handle_errors(struct ipath_devdata *dd, ipath_err_t errs)
646 errs &= dd->ipath_errormask & ~dd->ipath_maskederrs;
648 supp_msgs = handle_frequent_errors(dd, errs, msg, (u32)sizeof msg,
652 if (errs & INFINIPATH_E_HARDWARE) {
659 if (errs & mask)
664 if (errs & INFINIPATH_E_SDMAERRS)
665 handle_sdma_errors(dd, errs);
667 if (!noprint && (errs & ~dd->ipath_e_bitsextant))
670 (errs & ~dd->ipath_e_bitsextant));
672 if (errs & E_SUM_ERRS)
673 ignore_this_time = handle_e_sum_errs(dd, errs);
674 else if ((errs & E_SUM_LINK_PKTERRS) &&
684 "ACTIVE\n", (unsigned long long) errs);
685 ignore_this_time = errs & E_SUM_LINK_PKTERRS;
696 dd->ipath_maskederrs |= dd->ipath_lasterror | errs;
740 ipath_write_kreg(dd, dd->ipath_kregs->kr_errorclear, errs);
742 errs &= ~ignore_this_time;
743 if (errs & ~dd->ipath_lasterror) {
744 errs &= ~dd->ipath_lasterror;
746 dd->ipath_lasterror |= errs &
751 if (errs & INFINIPATH_E_SENDSPECIALTRIGGER) {
758 if ((errs & (INFINIPATH_E_SPKTLEN | INFINIPATH_E_SPIOARMLAUNCH)) &&
763 (errs & INFINIPATH_E_SPIOARMLAUNCH) ?
764 "armlaunch" : "sendpktlen", (unsigned long long)errs);
765 errs &= ~(INFINIPATH_E_SPIOARMLAUNCH | INFINIPATH_E_SPKTLEN);
768 if (!errs)
786 ipath_decode_err(dd, msg, sizeof msg, errs & ~mask);
791 if (errs & E_SUM_PKTERRS) {
795 if (errs & E_SUM_ERRS)
798 if (errs & (INFINIPATH_E_RICRC | INFINIPATH_E_RVCRC)) {
802 iserr = errs & ~(E_SUM_PKTERRS | INFINIPATH_E_PKTERRS);
812 if (errs & INFINIPATH_E_RRCVHDRFULL)
814 if (errs & INFINIPATH_E_RRCVEGRFULL) {
833 if (errs & INFINIPATH_E_RIBLOSTLINK) {
837 errs |= INFINIPATH_E_IBSTATUSCHANGED;
848 if (errs & INFINIPATH_E_IBSTATUSCHANGED)
849 handle_e_ibstatuschanged(dd, errs);
851 if (errs & INFINIPATH_E_RESET) {