tag | line | file | source code |
sts | 754 | drivers/net/de4x5.c | s32 imr, omr, sts; |
sts | 831 | drivers/net/de4x5.c | sts = inl(DE4X5_STS); |
sts | 832 | drivers/net/de4x5.c | outl(sts, DE4X5_STS); |
sts | 943 | drivers/net/de4x5.c | s32 imr, omr, sts; |
sts | 1014 | drivers/net/de4x5.c | sts = inl(DE4X5_STS); |
sts | 1015 | drivers/net/de4x5.c | outl(sts, DE4X5_STS); |
sts | 1072 | drivers/net/de4x5.c | s32 imr, omr, sts; |
sts | 1087 | drivers/net/de4x5.c | while ((sts = inl(DE4X5_STS)) & lp->irq_mask) { /* Read IRQ status */ |
sts | 1088 | drivers/net/de4x5.c | outl(sts, DE4X5_STS); /* Reset the board interrupts */ |
sts | 1090 | drivers/net/de4x5.c | if (sts & (STS_RI | STS_RU)) /* Rx interrupt (packet[s] arrived) */ |
sts | 1093 | drivers/net/de4x5.c | if (sts & (STS_TI | STS_TU)) /* Tx interrupt (packet sent) */ |
sts | 1096 | drivers/net/de4x5.c | if (sts & STS_TM) /* Autosense tick */ |
sts | 1099 | drivers/net/de4x5.c | if (sts & STS_LNF) { /* TP Link has failed */ |
sts | 1105 | drivers/net/de4x5.c | if (sts & STS_SE) { /* Bus Error */ |
sts | 1108 | drivers/net/de4x5.c | dev->name, sts); |
sts | 1866 | drivers/net/de4x5.c | s32 sts, irqs, irq_mask, omr; |
sts | 1874 | drivers/net/de4x5.c | sts = test_media(dev, irqs, irq_mask, 0xef01, 0xffff, 0x0008, 2400); |
sts | 1875 | drivers/net/de4x5.c | if (sts & STS_LNP) { |
sts | 1886 | drivers/net/de4x5.c | sts = test_ans(dev, irqs, irq_mask, 3000); |
sts | 1887 | drivers/net/de4x5.c | if (!(sts & STS_LNP) && (lp->autosense == AUTO)) { |
sts | 1898 | drivers/net/de4x5.c | sts = test_media(dev, irqs, irq_mask, 0xef01, 0xff3f, 0x0008, 2400); |
sts | 1899 | drivers/net/de4x5.c | if (!(sts & STS_LNP) && (lp->autosense == AUTO)) { |
sts | 1914 | drivers/net/de4x5.c | sts = test_media(dev, irqs, irq_mask, 0xef09, 0xf7fd, 0x000e, 1000); |
sts | 1926 | drivers/net/de4x5.c | sts = test_media(dev, irqs, irq_mask, 0xef09, 0xf7fd, 0x0006, 1000); |
sts | 1977 | drivers/net/de4x5.c | s32 sts, time, csr12; |
sts | 1985 | drivers/net/de4x5.c | sts = inl(DE4X5_STS); |
sts | 1986 | drivers/net/de4x5.c | outl(sts, DE4X5_STS); |
sts | 1995 | drivers/net/de4x5.c | sts = inl(DE4X5_STS); |
sts | 1996 | drivers/net/de4x5.c | } while ((time != 0) && !(sts & irqs)); |
sts | 1998 | drivers/net/de4x5.c | sts = inl(DE4X5_STS); |
sts | 2000 | drivers/net/de4x5.c | return sts; |
sts | 2063 | drivers/net/de4x5.c | s32 sts, ans; |
sts | 2071 | drivers/net/de4x5.c | sts = inl(DE4X5_STS); |
sts | 2072 | drivers/net/de4x5.c | outl(sts, DE4X5_STS); |
sts | 2077 | drivers/net/de4x5.c | sts = inl(DE4X5_STS); |
sts | 2078 | drivers/net/de4x5.c | } while (!(sts & irqs) && (ans ^ ANS_NWOK) != 0); |
sts | 2080 | drivers/net/de4x5.c | return ((sts & STS_LNP) && ((ans ^ ANS_NWOK) == 0) ? STS_LNP : 0); |