Home
last modified time | relevance | path

Searched refs:csr12 (Results 1 – 8 of 8) sorted by relevance

/linux-2.4.37.9/drivers/net/tulip/
D21142.c34 int csr12 = inl(ioaddr + CSR12); in t21142_timer() local
40 dev->name, csr12, medianame[dev->if_port]); in t21142_timer()
48 dev->name, medianame[dev->if_port], csr12); in t21142_timer()
52 if (csr12 & 2) { /* No 100mbps link beat, revert to 10mbps. */ in t21142_timer()
55 "trying NWay.\n", dev->name, csr12); in t21142_timer()
59 } else if ((csr12 & 0x7000) != 0x5000) { in t21142_timer()
63 dev->name, csr12); in t21142_timer()
64 if (!(csr12 & 4)) { /* 10mbps link beat good. */ in t21142_timer()
131 int csr12 = inl(ioaddr + CSR12); in t21142_lnk_change() local
135 "%8.8x.\n", dev->name, csr12, csr5, inl(ioaddr + CSR14)); in t21142_lnk_change()
[all …]
Dpnic2.c106 int csr12; in pnic2_start_nway() local
169 csr12 = (inl(ioaddr + CSR12) & 0xffff8fff); in pnic2_start_nway()
170 csr12 |= 0x1000; in pnic2_start_nway()
171 outl(csr12, ioaddr + CSR12); in pnic2_start_nway()
183 int csr12 = inl(ioaddr + CSR12); in pnic2_lnk_change() local
187 " CSR5 %x, %8.8x.\n", dev->name, csr12, in pnic2_lnk_change()
197 if ((csr12 & 0x7000) == 0x5000) { in pnic2_lnk_change()
210 int negotiated = ((csr12 >> 16) & 0x01E0) & tp->sym_advertise; in pnic2_lnk_change()
211 tp->lpar = (csr12 >> 16); in pnic2_lnk_change()
222 dev->name, csr12, tp->sym_advertise); in pnic2_lnk_change()
[all …]
Dtimer.c26 u32 csr12 = inl(ioaddr + CSR12); in tulip_timer() local
33 inl(ioaddr + CSR6), csr12, inl(ioaddr + CSR13), in tulip_timer()
38 if (!tp->medialock && csr12 & 0x0002) { /* Network error */ in tulip_timer()
49 dev->name, csr12); in tulip_timer()
53 if (csr12 & 0x0004) { /*LnkFail */ in tulip_timer()
56 if (csr12 & 0x0200) in tulip_timer()
72 if (csr12 & 0x0100) { in tulip_timer()
75 } else if ((csr12 & 0x0004) == 0) { in tulip_timer()
81 } else if (tp->mediasense || (csr12 & 0x0002)) { in tulip_timer()
106 dev->name, inl(ioaddr + CSR6), csr12 & 0xff); in tulip_timer()
[all …]
Dinterrupt.c309 int csr12 = inl(dev->base_addr + CSR12) & 0xff; in phy_interrupt() local
312 if (csr12 != tp->csr12_shadow) { in phy_interrupt()
314 outl(csr12 | 0x02, dev->base_addr + CSR12); in phy_interrupt()
315 tp->csr12_shadow = csr12; in phy_interrupt()
321 outl(csr12 & ~0x02, dev->base_addr + CSR12); in phy_interrupt()
Dpnic.c112 int csr12 = inl(ioaddr + CSR12); in pnic_timer() local
132 dev->name, medianame[dev->if_port], csr12, in pnic_timer()
Dtulip_core.c570 int csr12 = inl(ioaddr + CSR12); in tulip_tx_timeout() local
574 dev->name, inl(ioaddr + CSR5), csr12, in tulip_tx_timeout()
579 if (csr12 & 0x0004) { in tulip_tx_timeout()
583 else if (dev->if_port != 0 || (csr12 & 0x0004) != 0) in tulip_tx_timeout()
973 int csr12 = inl (ioaddr + CSR12); in private_ioctl() local
987 ((csr12&0x7000) == 0x5000 ? 0x20 : 0) + in private_ioctl()
988 ((csr12&0x06) == 6 ? 0 : 4); in private_ioctl()
Dmedia.c369 int csr12 = inl(ioaddr + CSR12); in tulip_select_media() local
372 dev->name, medianame[dev->if_port], csr12); in tulip_select_media()
/linux-2.4.37.9/drivers/net/
Dde4x5.c3365 s32 sts, csr12; in test_media() local
3382 csr12 = inl(DE4X5_SISR); in test_media()
3383 outl(csr12, DE4X5_SISR); in test_media()