Searched refs:csr12 (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/net/ethernet/dec/tulip/ |
H A D | 21142.c | 34 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 …]
|
H A D | pnic2.c | 101 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 …]
|
H A D | timer.c | 23 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()
|
H A D | pnic.c | 109 int csr12 = ioread32(ioaddr + CSR12); in pnic_timer() local 128 csr12, in pnic_timer()
|
H A D | interrupt.c | 500 int csr12 = ioread32(tp->base_addr + CSR12) & 0xff; in phy_interrupt() local 502 if (csr12 != tp->csr12_shadow) { in phy_interrupt() 504 iowrite32(csr12 | 0x02, tp->base_addr + CSR12); in phy_interrupt() 505 tp->csr12_shadow = csr12; in phy_interrupt() 511 iowrite32(csr12 & ~0x02, tp->base_addr + CSR12); in phy_interrupt()
|
H A D | tulip_core.c | 920 int csr12 = ioread32 (ioaddr + CSR12); in private_ioctl() local 934 ((csr12&0x7000) == 0x5000 ? 0x20 : 0) + in private_ioctl() 935 ((csr12&0x06) == 6 ? 0 : 4); in private_ioctl()
|