csr12 34 drivers/net/ethernet/dec/tulip/21142.c int csr12 = ioread32(ioaddr + CSR12); csr12 40 drivers/net/ethernet/dec/tulip/21142.c if ((csr14 & 0x80) && (csr12 & 0x7000) != 0x5000) csr12 41 drivers/net/ethernet/dec/tulip/21142.c csr12 |= 6; csr12 44 drivers/net/ethernet/dec/tulip/21142.c csr12, medianame[dev->if_port]); csr12 58 drivers/net/ethernet/dec/tulip/21142.c medianame[dev->if_port], csr12); csr12 62 drivers/net/ethernet/dec/tulip/21142.c if (csr12 & 2) { /* No 100mbps link beat, revert to 10mbps. */ csr12 66 drivers/net/ethernet/dec/tulip/21142.c csr12); csr12 70 drivers/net/ethernet/dec/tulip/21142.c } else if ((csr12 & 0x7000) != 0x5000) { csr12 75 drivers/net/ethernet/dec/tulip/21142.c csr12); csr12 76 drivers/net/ethernet/dec/tulip/21142.c if (!(csr12 & 4)) { /* 10mbps link beat good. */ csr12 143 drivers/net/ethernet/dec/tulip/21142.c int csr12 = ioread32(ioaddr + CSR12); csr12 147 drivers/net/ethernet/dec/tulip/21142.c if ((csr14 & 0x80) && (csr12 & 0x7000) != 0x5000) csr12 148 drivers/net/ethernet/dec/tulip/21142.c csr12 |= 6; csr12 152 drivers/net/ethernet/dec/tulip/21142.c csr12, csr5, csr14); csr12 155 drivers/net/ethernet/dec/tulip/21142.c if (tp->nway && !tp->nwayset && (csr12 & 0x7000) == 0x5000) { csr12 157 drivers/net/ethernet/dec/tulip/21142.c int negotiated = tp->sym_advertise & (csr12 >> 16); csr12 158 drivers/net/ethernet/dec/tulip/21142.c tp->lpar = csr12 >> 16; csr12 161 drivers/net/ethernet/dec/tulip/21142.c if (!(csr12 & 0x8000)) dev->if_port = 0; csr12 168 drivers/net/ethernet/dec/tulip/21142.c if ((csr12 & 2) == 0 && (tp->sym_advertise & 0x0180)) csr12 183 drivers/net/ethernet/dec/tulip/21142.c medianame[dev->if_port], csr12); csr12 216 drivers/net/ethernet/dec/tulip/21142.c (csr12 & 2) == 2) || csr12 227 drivers/net/ethernet/dec/tulip/21142.c (csr12 & 2) ? "failed" : "good"); csr12 228 drivers/net/ethernet/dec/tulip/21142.c if ((csr12 & 2) && ! tp->medialock) { csr12 236 drivers/net/ethernet/dec/tulip/21142.c if ((csr12 & 4) == 0) csr12 238 drivers/net/ethernet/dec/tulip/21142.c } else if (!(csr12 & 4)) { /* 10mbps link beat good. */ csr12 3329 drivers/net/ethernet/dec/tulip/de4x5.c s32 sts, csr12; csr12 3346 drivers/net/ethernet/dec/tulip/de4x5.c csr12 = inl(DE4X5_SISR); csr12 3347 drivers/net/ethernet/dec/tulip/de4x5.c outl(csr12, DE4X5_SISR); csr12 493 drivers/net/ethernet/dec/tulip/interrupt.c int csr12 = ioread32(tp->base_addr + CSR12) & 0xff; csr12 495 drivers/net/ethernet/dec/tulip/interrupt.c if (csr12 != tp->csr12_shadow) { csr12 497 drivers/net/ethernet/dec/tulip/interrupt.c iowrite32(csr12 | 0x02, tp->base_addr + CSR12); csr12 498 drivers/net/ethernet/dec/tulip/interrupt.c tp->csr12_shadow = csr12; csr12 504 drivers/net/ethernet/dec/tulip/interrupt.c iowrite32(csr12 & ~0x02, tp->base_addr + CSR12); csr12 109 drivers/net/ethernet/dec/tulip/pnic.c int csr12 = ioread32(ioaddr + CSR12); csr12 128 drivers/net/ethernet/dec/tulip/pnic.c csr12, csr12 101 drivers/net/ethernet/dec/tulip/pnic2.c int csr12; csr12 163 drivers/net/ethernet/dec/tulip/pnic2.c csr12 = (ioread32(ioaddr + CSR12) & 0xffff8fff); csr12 164 drivers/net/ethernet/dec/tulip/pnic2.c csr12 |= 0x1000; csr12 165 drivers/net/ethernet/dec/tulip/pnic2.c iowrite32(csr12, ioaddr + CSR12); csr12 177 drivers/net/ethernet/dec/tulip/pnic2.c int csr12 = ioread32(ioaddr + CSR12); csr12 182 drivers/net/ethernet/dec/tulip/pnic2.c csr12, csr5, ioread32(ioaddr + CSR14)); csr12 191 drivers/net/ethernet/dec/tulip/pnic2.c if ((csr12 & 0x7000) == 0x5000) { csr12 204 drivers/net/ethernet/dec/tulip/pnic2.c int negotiated = ((csr12 >> 16) & 0x01E0) & tp->sym_advertise; csr12 205 drivers/net/ethernet/dec/tulip/pnic2.c tp->lpar = (csr12 >> 16); csr12 216 drivers/net/ethernet/dec/tulip/pnic2.c csr12, tp->sym_advertise); csr12 219 drivers/net/ethernet/dec/tulip/pnic2.c if ((csr12 & 2) == 0 && (tp->sym_advertise & 0x0180)) csr12 285 drivers/net/ethernet/dec/tulip/pnic2.c medianame[dev->if_port], csr12); csr12 319 drivers/net/ethernet/dec/tulip/pnic2.c (csr12 & 2) == 2) || (tp->nway && (csr5 & (TPLnkFail)))) { csr12 342 drivers/net/ethernet/dec/tulip/pnic2.c (csr12 & 2) ? "failed" : "good"); csr12 350 drivers/net/ethernet/dec/tulip/pnic2.c if ((csr12 & 2) && ! tp->medialock) { csr12 367 drivers/net/ethernet/dec/tulip/pnic2.c (csr12 & 4) ? "failed" : "good"); csr12 374 drivers/net/ethernet/dec/tulip/pnic2.c if ((csr12 & 4) && ! tp->medialock) { csr12 23 drivers/net/ethernet/dec/tulip/timer.c u32 csr12 = ioread32(ioaddr + CSR12); csr12 31 drivers/net/ethernet/dec/tulip/timer.c csr12, ioread32(ioaddr + CSR13), csr12 50 drivers/net/ethernet/dec/tulip/timer.c csr12 & 0xff); csr12 63 drivers/net/ethernet/dec/tulip/timer.c csr12); csr12 65 drivers/net/ethernet/dec/tulip/timer.c if (mleaf->media == 3 && (csr12 & 0x02)) csr12 72 drivers/net/ethernet/dec/tulip/timer.c csr12, (bitnum >> 1) & 7, csr12 73 drivers/net/ethernet/dec/tulip/timer.c (csr12 & (1 << ((bitnum >> 1) & 7))) != 0, csr12 77 drivers/net/ethernet/dec/tulip/timer.c ((csr12 & (1 << ((bitnum >> 1) & 7))) != 0)) { csr12 930 drivers/net/ethernet/dec/tulip/tulip_core.c int csr12 = ioread32 (ioaddr + CSR12); csr12 944 drivers/net/ethernet/dec/tulip/tulip_core.c ((csr12&0x7000) == 0x5000 ? 0x20 : 0) + csr12 945 drivers/net/ethernet/dec/tulip/tulip_core.c ((csr12&0x06) == 6 ? 0 : 4);