tag | line | file | source code |
csr0 | 875 | drivers/net/depca.c | s16 csr0, nicsr; |
csr0 | 895 | drivers/net/depca.c | csr0 = inw(DEPCA_DATA); |
csr0 | 898 | drivers/net/depca.c | outw(csr0 & INTE, DEPCA_DATA); |
csr0 | 900 | drivers/net/depca.c | if (csr0 & RINT) /* Rx interrupt (packet arrived) */ |
csr0 | 903 | drivers/net/depca.c | if (csr0 & TINT) /* Tx interrupt (packet sent) */ |
csr0 | 839 | drivers/net/lance.c | int csr0, ioaddr, boguscnt=10; |
csr0 | 855 | drivers/net/lance.c | while ((csr0 = inw(dev->base_addr + LANCE_DATA)) & 0x8600 |
csr0 | 858 | drivers/net/lance.c | outw(csr0 & ~0x004f, dev->base_addr + LANCE_DATA); |
csr0 | 864 | drivers/net/lance.c | dev->name, csr0, inw(dev->base_addr + LANCE_DATA)); |
csr0 | 866 | drivers/net/lance.c | if (csr0 & 0x0400) /* Rx interrupt */ |
csr0 | 869 | drivers/net/lance.c | if (csr0 & 0x0200) { /* Tx-done interrupt */ |
csr0 | 893 | drivers/net/lance.c | dev->name, csr0); |
csr0 | 932 | drivers/net/lance.c | if (csr0 & 0x4000) lp->stats.tx_errors++; /* Tx babble. */ |
csr0 | 933 | drivers/net/lance.c | if (csr0 & 0x1000) lp->stats.rx_errors++; /* Missed a Rx frame. */ |
csr0 | 934 | drivers/net/lance.c | if (csr0 & 0x0800) { |
csr0 | 936 | drivers/net/lance.c | dev->name, csr0); |
csr0 | 402 | drivers/net/ni65.c | int csr0; |
csr0 | 410 | drivers/net/ni65.c | csr0 = inw(PORT+L_DATAREG); |
csr0 | 411 | drivers/net/ni65.c | writedatareg(csr0 & CSR0_CLRALL); /* ack interrupts, disable int. */ |
csr0 | 415 | drivers/net/ni65.c | if(csr0 & CSR0_ERR) |
csr0 | 419 | drivers/net/ni65.c | if(csr0 & CSR0_BABL) |
csr0 | 421 | drivers/net/ni65.c | if(csr0 & CSR0_MISS) |
csr0 | 425 | drivers/net/ni65.c | if(csr0 & CSR0_RINT) /* RECV-int? */ |
csr0 | 429 | drivers/net/ni65.c | if(csr0 & CSR0_TINT) /* XMIT-int? */ |
csr0 | 1314 | drivers/net/sk_g16.c | int csr0; |
csr0 | 1333 | drivers/net/sk_g16.c | csr0 = SK_read_reg(CSR0); /* store register for checking */ |
csr0 | 1342 | drivers/net/sk_g16.c | SK_write_reg(CSR0, csr0 & CSR0_CLRALL); |
csr0 | 1344 | drivers/net/sk_g16.c | if (csr0 & CSR0_ERR) /* LANCE Error */ |
csr0 | 1346 | drivers/net/sk_g16.c | printk("%s: error: %04x\n", dev->name, csr0); |
csr0 | 1348 | drivers/net/sk_g16.c | if (csr0 & CSR0_MISS) /* No place to store packet ? */ |
csr0 | 1354 | drivers/net/sk_g16.c | if (csr0 & CSR0_RINT) /* Receive Interrupt (packet arrived) */ |
csr0 | 1359 | drivers/net/sk_g16.c | if (csr0 & CSR0_TINT) /* Transmit interrupt (packet sent) */ |