/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/boot/simple/ |
H A D | misc-spruce.c | 174 int csr0; local 234 /* First do a work oriented read of csr0. If the value is 239 csr0 = inw(bar0 + PCNET32_WIO_RDP); 241 if (csr0 == 4) { 249 outw(csr0, bar0 + PCNET32_WIO_RDP); 253 csr0 = inl(bar0 + PCNET32_DWIO_RDP); 254 if (csr0 == 4) { 262 outl(csr0, bar0 + PCNET32_WIO_RDP);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/ |
H A D | ni65.c | 701 int csr0 = CSR0_INEA; local 741 writedatareg(CSR0_STRT | csr0); 750 writedatareg(CSR0_TDMD | CSR0_INEA | csr0); 763 writedatareg(CSR0_STRT | csr0); 853 int csr0 = 0; local 863 csr0 = inw(PORT+L_DATAREG); 865 writedatareg( (csr0 & CSR0_CLRALL) | CSR0_INEA ); /* ack interrupts, interrupts enabled */ 867 if(!(csr0 & (CSR0_ERR | CSR0_RINT | CSR0_TINT))) 870 if(csr0 & CSR0_RINT) /* RECV-int? */ 871 ni65_recv_intr(dev,csr0); 958 ni65_xmit_intr(struct net_device *dev,int csr0) argument 1018 ni65_recv_intr(struct net_device *dev,int csr0) argument [all...] |
H A D | pcnet32.c | 1440 int i, csr0; local 1449 csr0 = a->read_csr(ioaddr, CSR0); 1450 if (!(csr0 & CSR0_STOP)) /* If not stopped */ 1488 if (!(csr0 & CSR0_STOP)) { /* If not stopped */ 2306 "%s: pcnet32 open after %d ticks, init block %#x csr0 %4.4x.\n", 2505 "%s: pcnet32_start_xmit() called, csr0 %4.4x.\n", 2556 u16 csr0; local 2564 csr0 = lp->a.read_csr(ioaddr, CSR0); 2565 while ((csr0 & 0x8f00) && --boguscnt >= 0) { 2566 if (csr0 [all...] |
H A D | sun3lance.c | 435 DPRINTK( 2, ( "lance_open(): opening %s failed, i=%d, csr0=%04x\n", 445 DPRINTK( 2, ( "%s: LANCE is open, csr0 %04x\n", dev->name, DREG )); 582 DPRINTK( 2, ( "%s: lance_start_xmit() called, csr0 %4.4x.\n", 627 DPRINTK( 2, ( "%s: lance_start_xmit() exiting, csr0 %4.4x.\n", 648 int csr0; local 664 csr0 = DREG; 667 DREG = csr0 & (CSR0_TINT | CSR0_RINT | CSR0_IDON); 670 if(csr0 & CSR0_ERR) 674 DPRINTK( 2, ( "%s: interrupt csr0=%04x new csr=%04x.\n", 675 dev->name, csr0, DRE [all...] |
H A D | sunlance.c | 316 /* Point back to csr0 */ 487 printk(KERN_ERR "LANCE unopened after %d ticks, csr0=%4.4x.\n", 825 int csr0; local 828 csr0 = sbus_readw(lp->lregs + RDP); 831 sbus_writew(csr0 & (LE_C0_INTR | LE_C0_TINT | LE_C0_RINT), 834 if ((csr0 & LE_C0_ERR) != 0) { 841 if (csr0 & LE_C0_RINT) 844 if (csr0 & LE_C0_TINT) 847 if (csr0 & LE_C0_BABL) 850 if (csr0 [all...] |
H A D | 7990.c | 132 /* Point back to csr0 */ 244 printk ("LANCE unopened after %d ticks, csr0=%4.4x.\n", i, READRDP(lp)); 365 /* csr0 is 2f3 */ 367 /* 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 | 157 /* Point back to csr0 */ 254 printk(KERN_ERR "LANCE unopened after %d ticks, csr0=%4.4x.\n", 352 /* csr0 is 2f3 */ 354 /* csr0 is 73 */ 432 int csr0; local 440 csr0 = ll->rdp; 442 if (!(csr0 & LE_C0_INTR)) /* Check if any interrupt has */ 446 ll->rdp = csr0 & ~(LE_C0_INEA|LE_C0_TDMD|LE_C0_STOP|LE_C0_STRT| 449 if ((csr0 & LE_C0_ERR)) { 454 if (csr0 [all...] |
H A D | ariadne.c | 412 int csr0, boguscnt; local 428 while ((csr0 = lance->RDP) & (ERR|RINT|TINT) && --boguscnt >= 0) { 430 lance->RDP = csr0 & ~(INEA|TDMD|STOP|STRT|INIT); 433 if (csr0 & RINT) { /* Rx interrupt */ 438 if (csr0 & TINT) { /* Tx-done interrupt */ 466 dev->name, csr0); 497 if (csr0 & BABL) { 501 if (csr0 & MISS) { 505 if (csr0 & MERR) { 508 "%4.4x.\n", dev->name, csr0); [all...] |
H A D | atarilance.c | 672 DPRINTK( 2, ( "lance_open(): opening %s failed, i=%d, csr0=%04x\n", 683 DPRINTK( 2, ( "%s: LANCE is open, csr0 %04x\n", dev->name, DREG )); 789 DPRINTK( 2, ( "%s: lance_start_xmit() called, csr0 %4.4x.\n", 869 int csr0, boguscnt = 10; local 883 while( ((csr0 = DREG) & (CSR0_ERR | CSR0_TINT | CSR0_RINT)) && 887 DREG = csr0 & ~(CSR0_INIT | CSR0_STRT | CSR0_STOP | 890 DPRINTK( 2, ( "%s: interrupt csr0=%04x new csr=%04x.\n", 891 dev->name, csr0, DREG )); 893 if (csr0 & CSR0_RINT) /* Rx interrupt */ 896 if (csr0 [all...] |
H A D | declance.c | 321 /* Point back to csr0 */ 532 printk("LANCE unopened after %d ticks, csr0=%4.4x.\n", 537 printk("LANCE unopened after %d ticks, csr0=%4.4x.\n", 734 int csr0; local 737 csr0 = ll->rdp; 740 writereg(&ll->rdp, csr0 & (LE_C0_INTR | LE_C0_TINT | LE_C0_RINT)); 742 if ((csr0 & LE_C0_ERR)) { 747 if (csr0 & LE_C0_RINT) 750 if (csr0 & LE_C0_TINT) 753 if (csr0 [all...] |
H A D | depca.c | 972 s16 csr0, nicsr; local 991 csr0 = inw(DEPCA_DATA); 994 outw(csr0 & INTE, DEPCA_DATA); 996 if (csr0 & RINT) /* Rx interrupt (packet arrived) */ 999 if (csr0 & TINT) /* Tx interrupt (packet sent) */ 1227 printk("%s: DEPCA open after %d ticks, init block 0x%08lx csr0 %4.4x.\n", dev->name, i, lp->mem_start, inw(DEPCA_DATA)); 1230 printk("%s: DEPCA unopen after %d ticks, init block 0x%08lx csr0 %4.4x.\n", dev->name, i, lp->mem_start, inw(DEPCA_DATA));
|
H A D | lance.c | 812 printk("%s: LANCE open after %d ticks, init block %#x csr0 %4.4x.\n", 956 printk("%s: lance_start_xmit() called, csr0 %4.4x.\n", dev->name, 1020 int csr0, ioaddr, boguscnt=10; local 1029 while ((csr0 = inw(dev->base_addr + LANCE_DATA)) & 0x8600 1032 outw(csr0 & ~0x004f, dev->base_addr + LANCE_DATA); 1037 printk("%s: interrupt csr0=%#2.2x new csr=%#2.2x.\n", 1038 dev->name, csr0, inw(dev->base_addr + LANCE_DATA)); 1040 if (csr0 & 0x0400) /* Rx interrupt */ 1043 if (csr0 & 0x0200) { /* Tx-done interrupt */ 1067 dev->name, csr0); [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/tulip/ |
H A D | de4x5.c | 827 s32 csr0; /* Saved Bus Mode Register */ member in struct:de4x5_private::__anon5954 3775 lp->cache.csr0 = inl(DE4X5_BMR); 3781 outl(lp->cache.csr0, DE4X5_BMR);
|
H A D | tulip.h | 377 unsigned int csr0; /* CSR0 setting. */ member in struct:tulip_private
|
H A D | tulip_core.c | 90 static int csr0 = 0x01A00000 | 0xE000; variable 92 static int csr0 = 0x01A00000 | 0x8000; variable 98 static int csr0 = 0x01A00000 | 0x9000; variable 100 static int csr0 = 0x01A00000 | 0x4800; variable 102 static int csr0 = 0x00200000 | 0x4000; variable 105 static int csr0 = 0x00A00000 | 0x4800; variable 120 module_param(csr0, int, 0); 311 iowrite32(tp->csr0, ioaddr + CSR0); 1140 u32 csr0; local 1145 tp->csr0 [all...] |
H A D | xircom_tulip_cb.c | 65 static int csr0 = 0x01A00000 | 0xE000; variable 67 static int csr0 = 0x01B00000 | 0x8000; variable 69 static int csr0 = 0x01B00080 | 0x8000; variable 71 static int csr0 = 0x01A00000 | 0x8000; variable 74 static int csr0 = 0x00A00000 | 0x4800; variable 116 module_param(csr0, int, 0); 311 unsigned int csr0; /* CSR0 setting. */ member in struct:xircom_private 501 outl(tp->csr0, ioaddr + CSR0); 578 tp->csr0 = csr0 [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wan/ |
H A D | sbni.c | 539 unsigned char csr0; local 551 csr0 = inb( ioaddr + CSR0 ); 552 if( ( csr0 & (RC_RDY | TR_RDY) ) == 0 ) 557 if( csr0 & RC_RDY ) 564 csr0 = inb( ioaddr + CSR0 ); 565 if( !(csr0 & TR_RDY) || (csr0 & RC_RDY) ) 1046 unsigned char csr0; local 1050 csr0 = inb( dev->base_addr + CSR0 ); 1051 if( csr0 1285 unsigned char csr0; local [all...] |