Searched refs:csr12 (Results 1 - 7 of 7) sorted by relevance

/drivers/net/ethernet/dec/tulip/
H A D21142.c34 int csr12 = ioread32(ioaddr + CSR12); local
40 if ((csr14 & 0x80) && (csr12 & 0x7000) != 0x5000)
41 csr12 |= 6;
44 csr12, medianame[dev->if_port]);
57 "Using NWay-set %s media, csr12 %08x\n",
58 medianame[dev->if_port], csr12);
62 if (csr12 & 2) { /* No 100mbps link beat, revert to 10mbps. */
66 csr12);
70 } else if ((csr12 & 0x7000) != 0x5000) {
75 csr12);
143 int csr12 = ioread32(ioaddr + CSR12); local
[all...]
H A Dpnic2.c101 int csr12; local
163 csr12 = (ioread32(ioaddr + CSR12) & 0xffff8fff);
164 csr12 |= 0x1000;
165 iowrite32(csr12, ioaddr + CSR12);
177 int csr12 = ioread32(ioaddr + CSR12); local
182 csr12, csr5, ioread32(ioaddr + CSR14));
191 if ((csr12 & 0x7000) == 0x5000) {
204 int negotiated = ((csr12 >> 16) & 0x01E0) & tp->sym_advertise;
205 tp->lpar = (csr12 >> 16);
215 "funny autonegotiate result csr12
[all...]
H A Dtimer.c23 u32 csr12 = ioread32(ioaddr + CSR12); local
31 csr12, ioread32(ioaddr + CSR13),
50 csr12 & 0xff);
63 csr12);
65 if (mleaf->media == 3 && (csr12 & 0x02))
72 csr12, (bitnum >> 1) & 7,
73 (csr12 & (1 << ((bitnum >> 1) & 7))) != 0,
77 ((csr12 & (1 << ((bitnum >> 1) & 7))) != 0)) {
H A Dpnic.c109 int csr12 = ioread32(ioaddr + CSR12); local
128 csr12,
H A Dinterrupt.c493 int csr12 = ioread32(tp->base_addr + CSR12) & 0xff; local
495 if (csr12 != tp->csr12_shadow) {
497 iowrite32(csr12 | 0x02, tp->base_addr + CSR12);
498 tp->csr12_shadow = csr12;
504 iowrite32(csr12 & ~0x02, tp->base_addr + CSR12);
H A Dtulip_core.c934 int csr12 = ioread32 (ioaddr + CSR12); local
948 ((csr12&0x7000) == 0x5000 ? 0x20 : 0) +
949 ((csr12&0x06) == 6 ? 0 : 4);
H A Dde4x5.c3324 s32 sts, csr12; local
3339 /* clear csr12 NRA and SRA bits */
3341 csr12 = inl(DE4X5_SISR);
3342 outl(csr12, DE4X5_SISR);

Completed in 612 milliseconds