Lines Matching refs:errs

1368 static void err_decode(char *msg, size_t len, u64 errs,  in err_decode()  argument
1374 while (errs && msp && msp->mask) { in err_decode()
1376 while (errs & msp->mask) { in err_decode()
1377 these = (errs & msp->mask); in err_decode()
1393 errs &= ~lmask; in err_decode()
1410 if (len && errs) in err_decode()
1412 (unsigned long long) errs); in err_decode()
1586 static void sdma_7322_p_errors(struct qib_pportdata *ppd, u64 errs) in sdma_7322_p_errors() argument
1591 errs &= QIB_E_P_SDMAERRS; in sdma_7322_p_errors()
1593 errs, qib_7322p_error_msgs); in sdma_7322_p_errors()
1595 if (errs & QIB_E_P_SDMAUNEXPDATA) in sdma_7322_p_errors()
1601 if (errs != QIB_E_P_SDMAHALT) { in sdma_7322_p_errors()
1606 errs, ppd->cpspec->sdmamsgbuf); in sdma_7322_p_errors()
1615 if (errs & QIB_E_P_SDMAHALT) in sdma_7322_p_errors()
1627 if (errs & QIB_E_P_SDMAHALT) in sdma_7322_p_errors()
1633 if (errs & QIB_E_P_SDMAHALT) in sdma_7322_p_errors()
1654 u64 errs; in handle_7322_errors() local
1658 errs = qib_read_kreg64(dd, kr_errstatus); in handle_7322_errors()
1659 if (!errs) { in handle_7322_errors()
1666 errs &= dd->cspec->errormask; in handle_7322_errors()
1670 if (errs & QIB_E_HARDWARE) { in handle_7322_errors()
1675 if (errs & QIB_E_SPKTERRS) { in handle_7322_errors()
1678 } else if (errs & QIB_E_INVALIDADDR) in handle_7322_errors()
1680 else if (errs & QIB_E_ARMLAUNCH) { in handle_7322_errors()
1684 qib_write_kreg(dd, kr_errclear, errs); in handle_7322_errors()
1694 err_decode(msg, sizeof(dd->cspec->emsgbuf), errs & ~mask, in handle_7322_errors()
1701 if (errs & QIB_E_RESET) { in handle_7322_errors()
1724 if (errs & (ERR_MASK(RcvEgrFullErr) | ERR_MASK(RcvHdrFullErr))) { in handle_7322_errors()
1726 if (errs & ERR_MASK(RcvEgrFullErr)) in handle_7322_errors()
1860 u64 ignore_this_time = 0, iserr = 0, errs, fmask; in handle_7322_p_errors() local
1868 errs = qib_read_kreg_port(ppd, krp_errstatus); in handle_7322_p_errors()
1869 if (!errs) in handle_7322_p_errors()
1874 errs &= ~QIB_E_P_IBSTATUSCHANGED; in handle_7322_p_errors()
1875 if (!errs) in handle_7322_p_errors()
1881 if (errs & ~QIB_E_P_BITSEXTANT) { in handle_7322_p_errors()
1883 errs & ~QIB_E_P_BITSEXTANT, qib_7322p_error_msgs); in handle_7322_p_errors()
1889 (errs & ~QIB_E_P_BITSEXTANT), msg); in handle_7322_p_errors()
1893 if (errs & QIB_E_P_SHDR) { in handle_7322_p_errors()
1905 if (errs & QIB_E_P_SPKTERRS) { in handle_7322_p_errors()
1906 if ((errs & QIB_E_P_LINK_PKTERRS) && in handle_7322_p_errors()
1916 (errs & QIB_E_P_LINK_PKTERRS), in handle_7322_p_errors()
1919 ignore_this_time = errs & QIB_E_P_LINK_PKTERRS; in handle_7322_p_errors()
1922 } else if ((errs & QIB_E_P_LINK_PKTERRS) && in handle_7322_p_errors()
1931 err_decode(msg, sizeof(ppd->cpspec->epmsgbuf), errs, in handle_7322_p_errors()
1933 ignore_this_time = errs & QIB_E_P_LINK_PKTERRS; in handle_7322_p_errors()
1937 qib_write_kreg_port(ppd, krp_errclear, errs); in handle_7322_p_errors()
1939 errs &= ~ignore_this_time; in handle_7322_p_errors()
1940 if (!errs) in handle_7322_p_errors()
1943 if (errs & QIB_E_P_RPKTERRS) in handle_7322_p_errors()
1945 if (errs & QIB_E_P_SPKTERRS) in handle_7322_p_errors()
1948 iserr = errs & ~(QIB_E_P_RPKTERRS | QIB_E_P_PKTERRS); in handle_7322_p_errors()
1950 if (errs & QIB_E_P_SDMAERRS) in handle_7322_p_errors()
1951 sdma_7322_p_errors(ppd, errs); in handle_7322_p_errors()
1953 if (errs & QIB_E_P_IBSTATUSCHANGED) { in handle_7322_p_errors()