tag | line | file | source code |
sts | 756 | drivers/net/de4x5.c | s32 imr, omr, sts; |
sts | 833 | drivers/net/de4x5.c | sts = inl(DE4X5_STS); |
sts | 834 | drivers/net/de4x5.c | outl(sts, DE4X5_STS); |
sts | 945 | drivers/net/de4x5.c | s32 imr, omr, sts; |
sts | 1016 | drivers/net/de4x5.c | sts = inl(DE4X5_STS); |
sts | 1017 | drivers/net/de4x5.c | outl(sts, DE4X5_STS); |
sts | 1074 | drivers/net/de4x5.c | s32 imr, omr, sts; |
sts | 1089 | drivers/net/de4x5.c | while ((sts = inl(DE4X5_STS)) & lp->irq_mask) { /* Read IRQ status */ |
sts | 1090 | drivers/net/de4x5.c | outl(sts, DE4X5_STS); /* Reset the board interrupts */ |
sts | 1092 | drivers/net/de4x5.c | if (sts & (STS_RI | STS_RU)) /* Rx interrupt (packet[s] arrived) */ |
sts | 1095 | drivers/net/de4x5.c | if (sts & (STS_TI | STS_TU)) /* Tx interrupt (packet sent) */ |
sts | 1098 | drivers/net/de4x5.c | if (sts & STS_TM) /* Autosense tick */ |
sts | 1101 | drivers/net/de4x5.c | if (sts & STS_LNF) { /* TP Link has failed */ |
sts | 1107 | drivers/net/de4x5.c | if (sts & STS_SE) { /* Bus Error */ |
sts | 1110 | drivers/net/de4x5.c | dev->name, sts); |
sts | 1871 | drivers/net/de4x5.c | s32 sts, irqs, irq_mask, omr; |
sts | 1879 | drivers/net/de4x5.c | sts = test_media(dev, irqs, irq_mask, 0xef01, 0xffff, 0x0008, 2400); |
sts | 1880 | drivers/net/de4x5.c | if (sts & STS_LNP) { |
sts | 1891 | drivers/net/de4x5.c | sts = test_ans(dev, irqs, irq_mask, 3000); |
sts | 1892 | drivers/net/de4x5.c | if (!(sts & STS_LNP) && (lp->autosense == AUTO)) { |
sts | 1903 | drivers/net/de4x5.c | sts = test_media(dev, irqs, irq_mask, 0xef01, 0xff3f, 0x0008, 2400); |
sts | 1904 | drivers/net/de4x5.c | if (!(sts & STS_LNP) && (lp->autosense == AUTO)) { |
sts | 1919 | drivers/net/de4x5.c | sts = test_media(dev, irqs, irq_mask, 0xef09, 0xf7fd, 0x000e, 1000); |
sts | 1931 | drivers/net/de4x5.c | sts = test_media(dev, irqs, irq_mask, 0xef09, 0xf7fd, 0x0006, 1000); |
sts | 1982 | drivers/net/de4x5.c | s32 sts, time, csr12; |
sts | 1990 | drivers/net/de4x5.c | sts = inl(DE4X5_STS); |
sts | 1991 | drivers/net/de4x5.c | outl(sts, DE4X5_STS); |
sts | 2000 | drivers/net/de4x5.c | sts = inl(DE4X5_STS); |
sts | 2001 | drivers/net/de4x5.c | } while ((time != 0) && !(sts & irqs)); |
sts | 2003 | drivers/net/de4x5.c | sts = inl(DE4X5_STS); |
sts | 2005 | drivers/net/de4x5.c | return sts; |
sts | 2068 | drivers/net/de4x5.c | s32 sts, ans; |
sts | 2076 | drivers/net/de4x5.c | sts = inl(DE4X5_STS); |
sts | 2077 | drivers/net/de4x5.c | outl(sts, DE4X5_STS); |
sts | 2082 | drivers/net/de4x5.c | sts = inl(DE4X5_STS); |
sts | 2083 | drivers/net/de4x5.c | } while (!(sts & irqs) && (ans ^ ANS_NWOK) != 0); |
sts | 2085 | drivers/net/de4x5.c | return ((sts & STS_LNP) && ((ans ^ ANS_NWOK) == 0) ? STS_LNP : 0); |