Lines Matching refs:csr5
527 int csr5; in tulip_interrupt() local
544 csr5 = ioread32(ioaddr + CSR5); in tulip_interrupt()
549 if ((csr5 & (NormalIntr|AbnormalIntr)) == 0) in tulip_interrupt()
558 if (!rxd && (csr5 & (RxIntr | RxNoBuf))) { in tulip_interrupt()
564 if (!(csr5&~(AbnormalIntr|NormalIntr|RxPollInt|TPLnkPass))) in tulip_interrupt()
571 iowrite32(csr5 & 0x0001ff3f, ioaddr + CSR5); in tulip_interrupt()
575 iowrite32(csr5 & 0x0001ffff, ioaddr + CSR5); in tulip_interrupt()
578 if (csr5 & (RxIntr | RxNoBuf)) { in tulip_interrupt()
587 csr5, ioread32(ioaddr + CSR5)); in tulip_interrupt()
590 if (csr5 & (TxNoBuf | TxDied | TxIntr | TimerInt)) { in tulip_interrupt()
664 if (csr5 & TxDied) { in tulip_interrupt()
668 csr5, ioread32(ioaddr + CSR6), in tulip_interrupt()
676 if (csr5 & AbnormalIntr) { /* Abnormal error summary bit. */ in tulip_interrupt()
677 if (csr5 == 0xffffffff) in tulip_interrupt()
679 if (csr5 & TxJabber) in tulip_interrupt()
681 if (csr5 & TxFIFOUnderflow) { in tulip_interrupt()
690 if (csr5 & (RxDied | RxNoBuf)) { in tulip_interrupt()
696 if (csr5 & RxDied) { /* Missed a Rx frame. */ in tulip_interrupt()
705 if (csr5 & (TPLnkPass | TPLnkFail | 0x08000000)) { in tulip_interrupt()
707 (tp->link_change)(dev, csr5); in tulip_interrupt()
709 if (csr5 & SystemError) { in tulip_interrupt()
710 int error = (csr5 >> 23) & 7; in tulip_interrupt()
729 if (csr5 & TimerInt) { in tulip_interrupt()
734 csr5); in tulip_interrupt()
742 csr5, tp->nir, tx, rx, oi); in tulip_interrupt()
757 … iowrite32(((~csr5) & 0x0001ebef) | AbnormalIntr | TimerInt, ioaddr + CSR7); in tulip_interrupt()
767 csr5 = ioread32(ioaddr + CSR5); in tulip_interrupt()
771 csr5 &= ~RxPollInt; in tulip_interrupt()
772 } while ((csr5 & (TxNoBuf | in tulip_interrupt()
783 } while ((csr5 & (NormalIntr|AbnormalIntr)) != 0); in tulip_interrupt()