Lines Matching refs:hwerrs
394 static void hwerr_crcbits(struct ipath_devdata *dd, ipath_err_t hwerrs, in hwerr_crcbits() argument
398 ipath_err_t crcbits = hwerrs & in hwerr_crcbits()
460 (hwerrs & (_IPATH_HTLINK0_CRCBITS | in hwerr_crcbits()
504 ipath_err_t hwerrs; in ipath_ht_handle_hwerrors() local
510 hwerrs = ipath_read_kreg64(dd, dd->ipath_kregs->kr_hwerrstatus); in ipath_ht_handle_hwerrors()
512 if (!hwerrs) { in ipath_ht_handle_hwerrors()
520 } else if (hwerrs == -1LL) { in ipath_ht_handle_hwerrors()
533 hwerrs&~INFINIPATH_HWE_MEMBISTFAILED); in ipath_ht_handle_hwerrors()
535 hwerrs &= dd->ipath_hwerrmask; in ipath_ht_handle_hwerrors()
539 if (hwerrs & dd->ipath_eep_st_masks[log_idx].hwerrs_to_log) in ipath_ht_handle_hwerrors()
547 if ((hwerrs & ~(dd->ipath_lasthwerror | TXE_PIO_PARITY | in ipath_ht_handle_hwerrors()
551 "(cleared)\n", (unsigned long long) hwerrs); in ipath_ht_handle_hwerrors()
552 dd->ipath_lasthwerror |= hwerrs; in ipath_ht_handle_hwerrors()
554 if (hwerrs & ~dd->ipath_hwe_bitsextant) in ipath_ht_handle_hwerrors()
557 (hwerrs & ~dd->ipath_hwe_bitsextant)); in ipath_ht_handle_hwerrors()
569 if (hwerrs & TXE_PIO_PARITY) { in ipath_ht_handle_hwerrors()
571 hwerrs &= ~TXE_PIO_PARITY; in ipath_ht_handle_hwerrors()
574 if (!hwerrs) { in ipath_ht_handle_hwerrors()
587 if (hwerrs & (infinipath_hwe_htcmemparityerr_mask in ipath_ht_handle_hwerrors()
589 bits = (u32) ((hwerrs >> in ipath_ht_handle_hwerrors()
597 ipath_format_hwerrors(hwerrs, in ipath_ht_handle_hwerrors()
603 if (hwerrs & (_IPATH_HTLINK0_CRCBITS | _IPATH_HTLINK1_CRCBITS)) in ipath_ht_handle_hwerrors()
604 hwerr_crcbits(dd, hwerrs, msg, msgl); in ipath_ht_handle_hwerrors()
606 if (hwerrs & INFINIPATH_HWE_MEMBISTFAILED) { in ipath_ht_handle_hwerrors()
621 if (hwerrs & _IPATH_PLL_FAIL) { in ipath_ht_handle_hwerrors()
624 (unsigned long long) (hwerrs & _IPATH_PLL_FAIL)); in ipath_ht_handle_hwerrors()
627 dd->ipath_hwerrmask &= ~(hwerrs & _IPATH_PLL_FAIL); in ipath_ht_handle_hwerrors()
632 if (hwerrs & INFINIPATH_HWE_SERDESPLLFAILED) { in ipath_ht_handle_hwerrors()
642 if (hwerrs) { in ipath_ht_handle_hwerrors()