/drivers/net/ethernet/amd/ |
H A D | ariadne.c | 244 int csr0, boguscnt; local 255 while ((csr0 = lance->RDP) & (ERR | RINT | TINT) && --boguscnt >= 0) { 257 lance->RDP = csr0 & ~(INEA | TDMD | STOP | STRT | INIT); 261 netdev_dbg(dev, "interrupt csr0=%#02x new csr=%#02x [", 262 csr0, lance->RDP); 263 if (csr0 & INTR) 265 if (csr0 & INEA) 267 if (csr0 & RXON) 269 if (csr0 & TXON) 271 if (csr0 [all...] |
H A D | ni65.c | 726 int csr0 = CSR0_INEA; local 766 writedatareg(CSR0_STRT | csr0); 775 writedatareg(CSR0_TDMD | CSR0_INEA | csr0); 788 writedatareg(CSR0_STRT | csr0); 878 int csr0 = 0; local 888 csr0 = inw(PORT+L_DATAREG); 891 writedatareg( (csr0 & CSR0_CLRALL) ); /* ack interrupts, disable int. */ 893 writedatareg( (csr0 & CSR0_CLRALL) | CSR0_INEA ); /* ack interrupts, interrupts enabled */ 896 if(!(csr0 & (CSR0_ERR | CSR0_RINT | CSR0_TINT))) 899 if(csr0 985 ni65_xmit_intr(struct net_device *dev,int csr0) argument 1049 ni65_recv_intr(struct net_device *dev,int csr0) argument [all...] |
H A D | 7990.c | 129 /* Point back to csr0 */ 241 printk("LANCE unopened after %d ticks, csr0=%4.4x.\n", i, READRDP(lp)); 362 /* csr0 is 2f3 */ 364 /* csr0 is 73 */ 444 int csr0; local 449 csr0 = READRDP(lp); 453 if (!(csr0 & LE_C0_INTR)) { /* Check if any interrupt has */ 459 WRITERDP(lp, csr0 & ~(LE_C0_INEA|LE_C0_TDMD|LE_C0_STOP|LE_C0_STRT|LE_C0_INIT)); 461 if ((csr0 & LE_C0_ERR)) { 466 if (csr0 [all...] |
H A D | a2065.c | 144 /* Point back to csr0 */ 233 pr_err("unopened after %d ticks, csr0=%04x\n", i, ll->rdp); 332 /* csr0 is 2f3 */ 334 /* csr0 is 73 */ 418 int csr0; local 421 csr0 = ll->rdp; 423 if (!(csr0 & LE_C0_INTR)) /* Check if any interrupt has */ 427 ll->rdp = csr0 & ~(LE_C0_INEA | LE_C0_TDMD | LE_C0_STOP | LE_C0_STRT | 430 if (csr0 & LE_C0_ERR) { 435 if (csr0 [all...] |
H A D | atarilance.c | 663 DPRINTK( 2, ( "lance_open(): opening %s failed, i=%d, csr0=%04x\n", 674 DPRINTK( 2, ( "%s: LANCE is open, csr0 %04x\n", dev->name, DREG )); 781 DPRINTK( 2, ( "%s: lance_start_xmit() called, csr0 %4.4x.\n", 854 int csr0, boguscnt = 10; local 868 while( ((csr0 = DREG) & (CSR0_ERR | CSR0_TINT | CSR0_RINT)) && 872 DREG = csr0 & ~(CSR0_INIT | CSR0_STRT | CSR0_STOP | 875 DPRINTK( 2, ( "%s: interrupt csr0=%04x new csr=%04x.\n", 876 dev->name, csr0, DREG )); 878 if (csr0 & CSR0_RINT) /* Rx interrupt */ 881 if (csr0 [all...] |
H A D | sun3lance.c | 436 DPRINTK( 2, ( "lance_open(): opening %s failed, i=%d, csr0=%04x\n", 446 DPRINTK( 2, ( "%s: LANCE is open, csr0 %04x\n", dev->name, DREG )); 582 DPRINTK( 2, ( "%s: lance_start_xmit() called, csr0 %4.4x.\n", 637 DPRINTK( 2, ( "%s: lance_start_xmit() exiting, csr0 %4.4x.\n", 657 int csr0; local 673 csr0 = DREG; 676 DREG = csr0 & (CSR0_TINT | CSR0_RINT | CSR0_IDON); 679 if(csr0 & CSR0_ERR) 683 DPRINTK( 2, ( "%s: interrupt csr0=%04x new csr=%04x.\n", 684 dev->name, csr0, DRE [all...] |
H A D | lance.c | 819 printk("%s: LANCE open after %d ticks, init block %#x csr0 %4.4x.\n", 963 printk("%s: lance_start_xmit() called, csr0 %4.4x.\n", dev->name, 1025 int csr0, ioaddr, boguscnt=10; local 1034 while ((csr0 = inw(dev->base_addr + LANCE_DATA)) & 0x8600 && 1037 outw(csr0 & ~0x004f, dev->base_addr + LANCE_DATA); 1042 printk("%s: interrupt csr0=%#2.2x new csr=%#2.2x.\n", 1043 dev->name, csr0, inw(dev->base_addr + LANCE_DATA)); 1045 if (csr0 & 0x0400) /* Rx interrupt */ 1048 if (csr0 & 0x0200) { /* Tx-done interrupt */ 1075 dev->name, csr0); [all...] |
H A D | declance.c | 318 /* Point back to csr0 */ 538 printk("LANCE unopened after %d ticks, csr0=%4.4x.\n", 543 printk("LANCE unopened after %d ticks, csr0=%4.4x.\n", 737 int csr0; local 740 csr0 = ll->rdp; 743 writereg(&ll->rdp, csr0 & (LE_C0_INTR | LE_C0_TINT | LE_C0_RINT)); 745 if ((csr0 & LE_C0_ERR)) { 750 if (csr0 & LE_C0_RINT) 753 if (csr0 & LE_C0_TINT) 756 if (csr0 [all...] |
H A D | sunlance.c | 315 /* Point back to csr0 */ 486 printk(KERN_ERR "LANCE unopened after %d ticks, csr0=%4.4x.\n", 818 int csr0; local 821 csr0 = sbus_readw(lp->lregs + RDP); 824 sbus_writew(csr0 & (LE_C0_INTR | LE_C0_TINT | LE_C0_RINT), 827 if ((csr0 & LE_C0_ERR) != 0) { 834 if (csr0 & LE_C0_RINT) 837 if (csr0 & LE_C0_TINT) 840 if (csr0 & LE_C0_BABL) 843 if (csr0 [all...] |
H A D | pcnet32.c | 1384 int i, csr0; local 1393 csr0 = a->read_csr(ioaddr, CSR0); 1394 if (!(csr0 & CSR0_STOP)) /* If not stopped */ 1431 if (!(csr0 & CSR0_STOP)) { /* If not stopped */ 2212 "pcnet32 open after %d ticks, init block %#x csr0 %4.4x\n", 2419 "%s() called, csr0 %4.4x\n", 2473 u16 csr0; local 2481 csr0 = lp->a->read_csr(ioaddr, CSR0); 2482 while ((csr0 & 0x8f00) && --boguscnt >= 0) { 2483 if (csr0 [all...] |
/drivers/net/wan/ |
H A D | sbni.c | 538 unsigned char csr0; local 550 csr0 = inb( ioaddr + CSR0 ); 551 if( ( csr0 & (RC_RDY | TR_RDY) ) == 0 ) 556 if( csr0 & RC_RDY ) 563 csr0 = inb( ioaddr + CSR0 ); 564 if( !(csr0 & TR_RDY) || (csr0 & RC_RDY) ) 1039 unsigned char csr0; local 1043 csr0 = inb( dev->base_addr + CSR0 ); 1044 if( csr0 1277 unsigned char csr0; local [all...] |
/drivers/net/ethernet/dec/tulip/ |
H A D | tulip_core.c | 87 static int csr0 = 0x01A00000 | 0xE000; variable 89 static int csr0 = 0x01A00000 | 0x8000; variable 95 static int csr0 = 0x01A00000 | 0x9000; variable 97 static int csr0 = 0x01A00000 | 0x4800; variable 99 static int csr0 = 0x00200000 | 0x4000; variable 102 static int csr0 = 0x00A00000 | 0x4800; variable 117 module_param(csr0, int, 0); 326 iowrite32(tp->csr0, ioaddr + CSR0); 1199 u32 csr0; local 1204 tp->csr0 [all...] |
H A D | tulip.h | 437 unsigned int csr0; /* CSR0 setting. */ member in struct:tulip_private
|
H A D | de4x5.c | 827 s32 csr0; /* Saved Bus Mode Register */ member in struct:de4x5_private::__anon3020 3732 lp->cache.csr0 = inl(DE4X5_BMR); 3738 outl(lp->cache.csr0, DE4X5_BMR);
|