Lines Matching refs:csr5
520 int csr5; in tulip_interrupt() local
537 csr5 = ioread32(ioaddr + CSR5); in tulip_interrupt()
542 if ((csr5 & (NormalIntr|AbnormalIntr)) == 0) in tulip_interrupt()
551 if (!rxd && (csr5 & (RxIntr | RxNoBuf))) { in tulip_interrupt()
557 if (!(csr5&~(AbnormalIntr|NormalIntr|RxPollInt|TPLnkPass))) in tulip_interrupt()
564 iowrite32(csr5 & 0x0001ff3f, ioaddr + CSR5); in tulip_interrupt()
568 iowrite32(csr5 & 0x0001ffff, ioaddr + CSR5); in tulip_interrupt()
571 if (csr5 & (RxIntr | RxNoBuf)) { in tulip_interrupt()
580 csr5, ioread32(ioaddr + CSR5)); in tulip_interrupt()
583 if (csr5 & (TxNoBuf | TxDied | TxIntr | TimerInt)) { in tulip_interrupt()
656 if (csr5 & TxDied) { in tulip_interrupt()
660 csr5, ioread32(ioaddr + CSR6), in tulip_interrupt()
668 if (csr5 & AbnormalIntr) { /* Abnormal error summary bit. */ in tulip_interrupt()
669 if (csr5 == 0xffffffff) in tulip_interrupt()
671 if (csr5 & TxJabber) in tulip_interrupt()
673 if (csr5 & TxFIFOUnderflow) { in tulip_interrupt()
682 if (csr5 & (RxDied | RxNoBuf)) { in tulip_interrupt()
688 if (csr5 & RxDied) { /* Missed a Rx frame. */ in tulip_interrupt()
697 if (csr5 & (TPLnkPass | TPLnkFail | 0x08000000)) { in tulip_interrupt()
699 (tp->link_change)(dev, csr5); in tulip_interrupt()
701 if (csr5 & SystemError) { in tulip_interrupt()
702 int error = (csr5 >> 23) & 7; in tulip_interrupt()
721 if (csr5 & TimerInt) { in tulip_interrupt()
726 csr5); in tulip_interrupt()
734 csr5, tp->nir, tx, rx, oi); in tulip_interrupt()
749 … iowrite32(((~csr5) & 0x0001ebef) | AbnormalIntr | TimerInt, ioaddr + CSR7); in tulip_interrupt()
759 csr5 = ioread32(ioaddr + CSR5); in tulip_interrupt()
763 csr5 &= ~RxPollInt; in tulip_interrupt()
764 } while ((csr5 & (TxNoBuf | in tulip_interrupt()
775 } while ((csr5 & (NormalIntr|AbnormalIntr)) != 0); in tulip_interrupt()