tag | line | file | source code |
csr0 | 498 | drivers/net/de4x5.c | s32 csr0; /* Saved Bus Mode Register */ |
csr0 | 2581 | drivers/net/de4x5.c | lp->cache.csr0 = inl(DE4X5_BMR); |
csr0 | 2592 | drivers/net/de4x5.c | outl(lp->cache.csr0, DE4X5_BMR); |
csr0 | 843 | drivers/net/depca.c | s16 csr0, nicsr; |
csr0 | 863 | drivers/net/depca.c | csr0 = inw(DEPCA_DATA); |
csr0 | 866 | drivers/net/depca.c | outw(csr0 & INTE, DEPCA_DATA); |
csr0 | 868 | drivers/net/depca.c | if (csr0 & RINT) /* Rx interrupt (packet arrived) */ |
csr0 | 871 | drivers/net/depca.c | if (csr0 & TINT) /* Tx interrupt (packet sent) */ |
csr0 | 882 | drivers/net/lance.c | int csr0, ioaddr, boguscnt=10; |
csr0 | 898 | drivers/net/lance.c | while ((csr0 = inw(dev->base_addr + LANCE_DATA)) & 0x8600 |
csr0 | 901 | drivers/net/lance.c | outw(csr0 & ~0x004f, dev->base_addr + LANCE_DATA); |
csr0 | 907 | drivers/net/lance.c | dev->name, csr0, inw(dev->base_addr + LANCE_DATA)); |
csr0 | 909 | drivers/net/lance.c | if (csr0 & 0x0400) /* Rx interrupt */ |
csr0 | 912 | drivers/net/lance.c | if (csr0 & 0x0200) { /* Tx-done interrupt */ |
csr0 | 936 | drivers/net/lance.c | dev->name, csr0); |
csr0 | 975 | drivers/net/lance.c | if (csr0 & 0x4000) lp->stats.tx_errors++; /* Tx babble. */ |
csr0 | 976 | drivers/net/lance.c | if (csr0 & 0x1000) lp->stats.rx_errors++; /* Missed a Rx frame. */ |
csr0 | 977 | drivers/net/lance.c | if (csr0 & 0x0800) { |
csr0 | 979 | drivers/net/lance.c | dev->name, csr0); |
csr0 | 541 | drivers/net/lance32.c | int csr0, ioaddr, boguscnt=10; |
csr0 | 557 | drivers/net/lance32.c | while ((csr0 = inw(dev->base_addr + LANCE_DATA)) & 0x8600 |
csr0 | 560 | drivers/net/lance32.c | outw(csr0 & ~0x004f, dev->base_addr + LANCE_DATA); |
csr0 | 566 | drivers/net/lance32.c | dev->name, csr0, inw(dev->base_addr + LANCE_DATA)); |
csr0 | 568 | drivers/net/lance32.c | if (csr0 & 0x0400) /* Rx interrupt */ |
csr0 | 571 | drivers/net/lance32.c | if (csr0 & 0x0200) { /* Tx-done interrupt */ |
csr0 | 595 | drivers/net/lance32.c | dev->name, csr0); |
csr0 | 633 | drivers/net/lance32.c | if (csr0 & 0x4000) lp->stats.tx_errors++; /* Tx babble. */ |
csr0 | 634 | drivers/net/lance32.c | if (csr0 & 0x1000) lp->stats.rx_errors++; /* Missed a Rx frame. */ |
csr0 | 635 | drivers/net/lance32.c | if (csr0 & 0x0800) { |
csr0 | 637 | drivers/net/lance32.c | dev->name, csr0); |
csr0 | 456 | drivers/net/ni65.c | int csr0; |
csr0 | 469 | drivers/net/ni65.c | csr0 = inw(PORT+L_DATAREG); |
csr0 | 470 | drivers/net/ni65.c | writedatareg(csr0 & CSR0_CLRALL); /* ack interrupts, disable int. */ |
csr0 | 472 | drivers/net/ni65.c | if(!(csr0 & (CSR0_ERR | CSR0_RINT | CSR0_TINT))) |
csr0 | 475 | drivers/net/ni65.c | if(csr0 & CSR0_ERR) |
csr0 | 479 | drivers/net/ni65.c | if(csr0 & CSR0_BABL) |
csr0 | 481 | drivers/net/ni65.c | if(csr0 & CSR0_MISS) |
csr0 | 483 | drivers/net/ni65.c | if(csr0 & CSR0_MERR) { |
csr0 | 488 | drivers/net/ni65.c | if(csr0 & CSR0_RINT) /* RECV-int? */ |
csr0 | 489 | drivers/net/ni65.c | ni65_recv_intr(dev,csr0); |
csr0 | 490 | drivers/net/ni65.c | if(csr0 & CSR0_TINT) /* XMIT-int? */ |
csr0 | 491 | drivers/net/ni65.c | ni65_xmit_intr(dev,csr0); |
csr0 | 510 | drivers/net/ni65.c | ni65_recv_intr(dev,csr0); |
csr0 | 515 | drivers/net/ni65.c | if(csr0 & (CSR0_RXON | CSR0_TXON) != (CSR0_RXON | CSR0_TXON) ) { |
csr0 | 530 | drivers/net/ni65.c | static void ni65_xmit_intr(struct device *dev,int csr0) |
csr0 | 568 | drivers/net/ni65.c | printk(KERN_ERR "%s: xmit-error: %04x %02x-%04x\n",dev->name,csr0,(int) tmdstat,(int) tmdp->status2); |
csr0 | 587 | drivers/net/ni65.c | static void ni65_recv_intr(struct device *dev,int csr0) |
csr0 | 607 | drivers/net/ni65.c | dev->name,(int) rmdstat,csr0,(int) inw(PORT+L_DATAREG) ); |
csr0 | 1312 | drivers/net/sk_g16.c | int csr0; |
csr0 | 1331 | drivers/net/sk_g16.c | csr0 = SK_read_reg(CSR0); /* store register for checking */ |
csr0 | 1340 | drivers/net/sk_g16.c | SK_write_reg(CSR0, csr0 & CSR0_CLRALL); |
csr0 | 1342 | drivers/net/sk_g16.c | if (csr0 & CSR0_ERR) /* LANCE Error */ |
csr0 | 1344 | drivers/net/sk_g16.c | printk("%s: error: %04x\n", dev->name, csr0); |
csr0 | 1346 | drivers/net/sk_g16.c | if (csr0 & CSR0_MISS) /* No place to store packet ? */ |
csr0 | 1352 | drivers/net/sk_g16.c | if (csr0 & CSR0_RINT) /* Receive Interrupt (packet arrived) */ |
csr0 | 1357 | drivers/net/sk_g16.c | if (csr0 & CSR0_TINT) /* Transmit interrupt (packet sent) */ |
csr0 | 497 | drivers/net/sunlance.c | int csr0; |
csr0 | 521 | drivers/net/sunlance.c | csr0 = ll->rdp; |
csr0 | 524 | drivers/net/sunlance.c | ll->rdp = csr0 & 0x004f; |
csr0 | 526 | drivers/net/sunlance.c | if ((csr0 & LE_C0_ERR)) { |
csr0 | 531 | drivers/net/sunlance.c | if (csr0 & LE_C0_RINT) |
csr0 | 534 | drivers/net/sunlance.c | if (csr0 & LE_C0_TINT) |