Lines Matching refs:csr
1280 u32 csr;
1295 * Read the csr to find what interrupts we have (if any)
1297 csr = LMC_CSR_READ (sc, csr_status);
1302 if ( ! (csr & sc->lmc_intrmask)) {
1306 firstcsr = csr;
1309 while (csr & sc->lmc_intrmask) {
1315 LMC_CSR_WRITE (sc, csr_status, csr);
1330 if (csr & TULIP_STS_ABNRMLINTR){
1335 if (csr & TULIP_STS_RXINTR){
1340 if (csr & (TULIP_STS_TXINTR | TULIP_STS_TXNOBUF | TULIP_STS_TXSTOPPED)) {
1420 if (csr & TULIP_STS_SYSERROR) {
1422 printk (KERN_WARNING "%s: system bus error csr: %#8.8x\n", dev->name, csr);
1423 error = csr>>23 & 0x7;
1451 * Get current csr status to make sure
1454 csr = LMC_CSR_READ (sc, csr_status);
1456 LMC_EVENT_LOG(LMC_EVENT_INT, firstcsr, csr);