Lines Matching defs:csr5
502 int csr5;
519 csr5 = ioread32(ioaddr + CSR5);
524 if ((csr5 & (NormalIntr|AbnormalIntr)) == 0)
533 if (!rxd && (csr5 & (RxIntr | RxNoBuf))) {
539 if (!(csr5&~(AbnormalIntr|NormalIntr|RxPollInt|TPLnkPass)))
546 iowrite32(csr5 & 0x0001ff3f, ioaddr + CSR5);
550 iowrite32(csr5 & 0x0001ffff, ioaddr + CSR5);
553 if (csr5 & (RxIntr | RxNoBuf)) {
561 printk(KERN_DEBUG "%s: interrupt csr5=%#8.8x new csr5=%#8.8x.\n",
562 dev->name, csr5, ioread32(ioaddr + CSR5));
565 if (csr5 & (TxNoBuf | TxDied | TxIntr | TimerInt)) {
633 if (csr5 & TxDied) {
637 dev->name, csr5, ioread32(ioaddr + CSR6), tp->csr6);
644 if (csr5 & AbnormalIntr) { /* Abnormal error summary bit. */
645 if (csr5 == 0xffffffff)
647 if (csr5 & TxJabber) tp->stats.tx_errors++;
648 if (csr5 & TxFIFOUnderflow) {
657 if (csr5 & (RxDied | RxNoBuf)) {
663 if (csr5 & RxDied) { /* Missed a Rx frame. */
672 if (csr5 & (TPLnkPass | TPLnkFail | 0x08000000)) {
674 (tp->link_change)(dev, csr5);
676 if (csr5 & SystemError) {
677 int error = (csr5 >> 23) & 7;
695 if (csr5 & TimerInt) {
699 dev->name, csr5);
707 "csr5=0x%8.8x. (%lu) (%d,%d,%d)\n", dev->name, csr5, tp->nir, tx, rx, oi);
722 iowrite32(((~csr5) & 0x0001ebef) | AbnormalIntr | TimerInt, ioaddr + CSR7);
732 csr5 = ioread32(ioaddr + CSR5);
736 csr5 &= ~RxPollInt;
737 } while ((csr5 & (TxNoBuf |
748 } while ((csr5 & (NormalIntr|AbnormalIntr)) != 0);
779 printk(KERN_DEBUG "%s: exiting interrupt, csr5=%#4.4x.\n",