Lines Matching refs:errs

1346 static void err_decode(char *msg, size_t len, u64 errs,  in err_decode()  argument
1352 while (errs && msp && msp->mask) { in err_decode()
1354 while (errs & msp->mask) { in err_decode()
1355 these = (errs & msp->mask); in err_decode()
1371 errs &= ~lmask; in err_decode()
1388 if (len && errs) in err_decode()
1390 (unsigned long long) errs); in err_decode()
1564 static void sdma_7322_p_errors(struct qib_pportdata *ppd, u64 errs) in sdma_7322_p_errors() argument
1569 errs &= QIB_E_P_SDMAERRS; in sdma_7322_p_errors()
1571 errs, qib_7322p_error_msgs); in sdma_7322_p_errors()
1573 if (errs & QIB_E_P_SDMAUNEXPDATA) in sdma_7322_p_errors()
1579 if (errs != QIB_E_P_SDMAHALT) { in sdma_7322_p_errors()
1584 errs, ppd->cpspec->sdmamsgbuf); in sdma_7322_p_errors()
1593 if (errs & QIB_E_P_SDMAHALT) in sdma_7322_p_errors()
1605 if (errs & QIB_E_P_SDMAHALT) in sdma_7322_p_errors()
1611 if (errs & QIB_E_P_SDMAHALT) in sdma_7322_p_errors()
1632 u64 errs; in handle_7322_errors() local
1636 errs = qib_read_kreg64(dd, kr_errstatus); in handle_7322_errors()
1637 if (!errs) { in handle_7322_errors()
1644 errs &= dd->cspec->errormask; in handle_7322_errors()
1648 if (errs & QIB_E_HARDWARE) { in handle_7322_errors()
1653 if (errs & QIB_E_SPKTERRS) { in handle_7322_errors()
1656 } else if (errs & QIB_E_INVALIDADDR) in handle_7322_errors()
1658 else if (errs & QIB_E_ARMLAUNCH) { in handle_7322_errors()
1662 qib_write_kreg(dd, kr_errclear, errs); in handle_7322_errors()
1672 err_decode(msg, sizeof(dd->cspec->emsgbuf), errs & ~mask, in handle_7322_errors()
1679 if (errs & QIB_E_RESET) { in handle_7322_errors()
1702 if (errs & (ERR_MASK(RcvEgrFullErr) | ERR_MASK(RcvHdrFullErr))) { in handle_7322_errors()
1704 if (errs & ERR_MASK(RcvEgrFullErr)) in handle_7322_errors()
1838 u64 ignore_this_time = 0, iserr = 0, errs, fmask; in handle_7322_p_errors() local
1846 errs = qib_read_kreg_port(ppd, krp_errstatus); in handle_7322_p_errors()
1847 if (!errs) in handle_7322_p_errors()
1852 errs &= ~QIB_E_P_IBSTATUSCHANGED; in handle_7322_p_errors()
1853 if (!errs) in handle_7322_p_errors()
1859 if (errs & ~QIB_E_P_BITSEXTANT) { in handle_7322_p_errors()
1861 errs & ~QIB_E_P_BITSEXTANT, qib_7322p_error_msgs); in handle_7322_p_errors()
1867 (errs & ~QIB_E_P_BITSEXTANT), msg); in handle_7322_p_errors()
1871 if (errs & QIB_E_P_SHDR) { in handle_7322_p_errors()
1883 if (errs & QIB_E_P_SPKTERRS) { in handle_7322_p_errors()
1884 if ((errs & QIB_E_P_LINK_PKTERRS) && in handle_7322_p_errors()
1894 (errs & QIB_E_P_LINK_PKTERRS), in handle_7322_p_errors()
1897 ignore_this_time = errs & QIB_E_P_LINK_PKTERRS; in handle_7322_p_errors()
1900 } else if ((errs & QIB_E_P_LINK_PKTERRS) && in handle_7322_p_errors()
1909 err_decode(msg, sizeof(ppd->cpspec->epmsgbuf), errs, in handle_7322_p_errors()
1911 ignore_this_time = errs & QIB_E_P_LINK_PKTERRS; in handle_7322_p_errors()
1915 qib_write_kreg_port(ppd, krp_errclear, errs); in handle_7322_p_errors()
1917 errs &= ~ignore_this_time; in handle_7322_p_errors()
1918 if (!errs) in handle_7322_p_errors()
1921 if (errs & QIB_E_P_RPKTERRS) in handle_7322_p_errors()
1923 if (errs & QIB_E_P_SPKTERRS) in handle_7322_p_errors()
1926 iserr = errs & ~(QIB_E_P_RPKTERRS | QIB_E_P_PKTERRS); in handle_7322_p_errors()
1928 if (errs & QIB_E_P_SDMAERRS) in handle_7322_p_errors()
1929 sdma_7322_p_errors(ppd, errs); in handle_7322_p_errors()
1931 if (errs & QIB_E_P_IBSTATUSCHANGED) { in handle_7322_p_errors()