Home
last modified time | relevance | path

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

/drivers/net/ethernet/dec/tulip/
D21142.c34 int csr12 = ioread32(ioaddr + CSR12); in t21142_media_task() local
40 if ((csr14 & 0x80) && (csr12 & 0x7000) != 0x5000) in t21142_media_task()
41 csr12 |= 6; in t21142_media_task()
44 csr12, medianame[dev->if_port]); in t21142_media_task()
58 medianame[dev->if_port], csr12); in t21142_media_task()
62 if (csr12 & 2) { /* No 100mbps link beat, revert to 10mbps. */ in t21142_media_task()
66 csr12); in t21142_media_task()
70 } else if ((csr12 & 0x7000) != 0x5000) { in t21142_media_task()
75 csr12); in t21142_media_task()
76 if (!(csr12 & 4)) { /* 10mbps link beat good. */ in t21142_media_task()
[all …]
Dpnic2.c101 int csr12; in pnic2_start_nway() local
163 csr12 = (ioread32(ioaddr + CSR12) & 0xffff8fff); in pnic2_start_nway()
164 csr12 |= 0x1000; in pnic2_start_nway()
165 iowrite32(csr12, ioaddr + CSR12); in pnic2_start_nway()
177 int csr12 = ioread32(ioaddr + CSR12); in pnic2_lnk_change() local
182 csr12, csr5, ioread32(ioaddr + CSR14)); in pnic2_lnk_change()
191 if ((csr12 & 0x7000) == 0x5000) { in pnic2_lnk_change()
204 int negotiated = ((csr12 >> 16) & 0x01E0) & tp->sym_advertise; in pnic2_lnk_change()
205 tp->lpar = (csr12 >> 16); in pnic2_lnk_change()
216 csr12, tp->sym_advertise); in pnic2_lnk_change()
[all …]
Dtimer.c23 u32 csr12 = ioread32(ioaddr + CSR12); in tulip_media_task() local
31 csr12, ioread32(ioaddr + CSR13), in tulip_media_task()
50 csr12 & 0xff); in tulip_media_task()
63 csr12); in tulip_media_task()
65 if (mleaf->media == 3 && (csr12 & 0x02)) in tulip_media_task()
72 csr12, (bitnum >> 1) & 7, in tulip_media_task()
73 (csr12 & (1 << ((bitnum >> 1) & 7))) != 0, in tulip_media_task()
77 ((csr12 & (1 << ((bitnum >> 1) & 7))) != 0)) { in tulip_media_task()
Dinterrupt.c493 int csr12 = ioread32(tp->base_addr + CSR12) & 0xff; in phy_interrupt() local
495 if (csr12 != tp->csr12_shadow) { in phy_interrupt()
497 iowrite32(csr12 | 0x02, tp->base_addr + CSR12); in phy_interrupt()
498 tp->csr12_shadow = csr12; in phy_interrupt()
504 iowrite32(csr12 & ~0x02, tp->base_addr + CSR12); in phy_interrupt()
Dpnic.c109 int csr12 = ioread32(ioaddr + CSR12); in pnic_timer() local
128 csr12, in pnic_timer()
Dtulip_core.c934 int csr12 = ioread32 (ioaddr + CSR12); in private_ioctl() local
948 ((csr12&0x7000) == 0x5000 ? 0x20 : 0) + in private_ioctl()
949 ((csr12&0x06) == 6 ? 0 : 4); in private_ioctl()
Dde4x5.c3325 s32 sts, csr12; in test_media() local
3342 csr12 = inl(DE4X5_SISR); in test_media()
3343 outl(csr12, DE4X5_SISR); in test_media()