Lines Matching refs:csr0
854 int csr0, boguscnt = 10; in lance_interrupt() local
868 while( ((csr0 = DREG) & (CSR0_ERR | CSR0_TINT | CSR0_RINT)) && in lance_interrupt()
872 DREG = csr0 & ~(CSR0_INIT | CSR0_STRT | CSR0_STOP | in lance_interrupt()
876 dev->name, csr0, DREG )); in lance_interrupt()
878 if (csr0 & CSR0_RINT) /* Rx interrupt */ in lance_interrupt()
881 if (csr0 & CSR0_TINT) { /* Tx-done interrupt */ in lance_interrupt()
905 dev->name, csr0 )); in lance_interrupt()
939 if (csr0 & CSR0_BABL) dev->stats.tx_errors++; /* Tx babble. */ in lance_interrupt()
940 if (csr0 & CSR0_MISS) dev->stats.rx_errors++; /* Missed a Rx frame. */ in lance_interrupt()
941 if (csr0 & CSR0_MERR) { in lance_interrupt()
943 "status %04x.\n", dev->name, csr0 )); in lance_interrupt()