tag | line | file | source code |
csr0 | 959 | drivers/net/depca.c | int csr0, ioaddr, nicsr; |
csr0 | 978 | drivers/net/depca.c | csr0 = inw(DEPCA_DATA); |
csr0 | 981 | drivers/net/depca.c | outw(csr0 & ~(INEA|TDMD|STOP|STRT|INIT), DEPCA_DATA); |
csr0 | 985 | drivers/net/depca.c | dev->name, csr0, inw(DEPCA_DATA)); |
csr0 | 987 | drivers/net/depca.c | if (csr0 & RINT) /* Rx interrupt (packet arrived) */ |
csr0 | 990 | drivers/net/depca.c | if (csr0 & TINT) /* Tx interrupt (packet sent) */ |
csr0 | 758 | drivers/net/lance.c | int csr0, ioaddr, boguscnt=10; |
csr0 | 773 | drivers/net/lance.c | while ((csr0 = inw(dev->base_addr + LANCE_DATA)) & 0x8600 |
csr0 | 776 | drivers/net/lance.c | outw(csr0 & ~0x004f, dev->base_addr + LANCE_DATA); |
csr0 | 780 | drivers/net/lance.c | dev->name, csr0, inw(dev->base_addr + LANCE_DATA)); |
csr0 | 782 | drivers/net/lance.c | if (csr0 & 0x0400) /* Rx interrupt */ |
csr0 | 785 | drivers/net/lance.c | if (csr0 & 0x0200) { /* Tx-done interrupt */ |
csr0 | 809 | drivers/net/lance.c | dev->name, csr0); |
csr0 | 848 | drivers/net/lance.c | if (csr0 & 0x4000) lp->stats.tx_errors++; /* Tx babble. */ |
csr0 | 849 | drivers/net/lance.c | if (csr0 & 0x1000) lp->stats.rx_errors++; /* Missed a Rx frame. */ |
csr0 | 850 | drivers/net/lance.c | if (csr0 & 0x0800) { |
csr0 | 852 | drivers/net/lance.c | dev->name, csr0); |
csr0 | 404 | drivers/net/ni65.c | int csr0; |
csr0 | 412 | drivers/net/ni65.c | csr0 = inw(PORT+L_DATAREG); |
csr0 | 413 | drivers/net/ni65.c | writedatareg(csr0 & CSR0_CLRALL); /* ack interrupts, disable int. */ |
csr0 | 417 | drivers/net/ni65.c | if(csr0 & CSR0_ERR) |
csr0 | 421 | drivers/net/ni65.c | if(csr0 & CSR0_BABL) |
csr0 | 423 | drivers/net/ni65.c | if(csr0 & CSR0_MISS) |
csr0 | 427 | drivers/net/ni65.c | if(csr0 & CSR0_RINT) /* RECV-int? */ |
csr0 | 431 | drivers/net/ni65.c | if(csr0 & CSR0_TINT) /* XMIT-int? */ |
csr0 | 1316 | drivers/net/sk_g16.c | int csr0; |
csr0 | 1335 | drivers/net/sk_g16.c | csr0 = SK_read_reg(CSR0); /* store register for checking */ |
csr0 | 1344 | drivers/net/sk_g16.c | SK_write_reg(CSR0, csr0 & CSR0_CLRALL); |
csr0 | 1346 | drivers/net/sk_g16.c | if (csr0 & CSR0_ERR) /* LANCE Error */ |
csr0 | 1348 | drivers/net/sk_g16.c | printk("%s: error: %04x\n", dev->name, csr0); |
csr0 | 1350 | drivers/net/sk_g16.c | if (csr0 & CSR0_MISS) /* No place to store packet ? */ |
csr0 | 1356 | drivers/net/sk_g16.c | if (csr0 & CSR0_RINT) /* Receive Interrupt (packet arrived) */ |
csr0 | 1361 | drivers/net/sk_g16.c | if (csr0 & CSR0_TINT) /* Transmit interrupt (packet sent) */ |