tag | line | file | source code |
sts | 1152 | drivers/net/de4x5.c | s32 imr, omr, sts, limit; |
sts | 1169 | drivers/net/de4x5.c | sts = inl(DE4X5_STS); /* Read IRQ status */ |
sts | 1170 | drivers/net/de4x5.c | outl(sts, DE4X5_STS); /* Reset the board interrupts */ |
sts | 1172 | drivers/net/de4x5.c | if (!(sts & lp->irq_mask)) break;/* All done */ |
sts | 1174 | drivers/net/de4x5.c | if (sts & (STS_RI | STS_RU)) /* Rx interrupt (packet[s] arrived) */ |
sts | 1177 | drivers/net/de4x5.c | if (sts & (STS_TI | STS_TU)) /* Tx interrupt (packet sent) */ |
sts | 1180 | drivers/net/de4x5.c | if (sts & STS_LNF) { /* TP Link has failed */ |
sts | 1185 | drivers/net/de4x5.c | if (sts & STS_UNF) { /* Transmit underrun */ |
sts | 1189 | drivers/net/de4x5.c | if (sts & STS_SE) { /* Bus Error */ |
sts | 1192 | drivers/net/de4x5.c | dev->name, sts); |
sts | 2015 | drivers/net/de4x5.c | s32 sts, irqs, irq_mask, imr, omr; |
sts | 2046 | drivers/net/de4x5.c | sts = test_media(dev, irqs, irq_mask, 0xef01, 0xffff, 0x0008, 2400); |
sts | 2047 | drivers/net/de4x5.c | if (sts < 0) { |
sts | 2048 | drivers/net/de4x5.c | next_tick = sts & ~TIMER_CB; |
sts | 2050 | drivers/net/de4x5.c | if (sts & STS_LNP) { |
sts | 2063 | drivers/net/de4x5.c | sts = test_ans(dev, irqs, irq_mask, 3000); |
sts | 2064 | drivers/net/de4x5.c | if (sts < 0) { |
sts | 2065 | drivers/net/de4x5.c | next_tick = sts & ~TIMER_CB; |
sts | 2067 | drivers/net/de4x5.c | if (!(sts & STS_LNP) && (lp->autosense == AUTO)) { |
sts | 2093 | drivers/net/de4x5.c | sts = test_media(dev,irqs, irq_mask, 0xef01, 0xff3f, 0x0008, 2400); |
sts | 2094 | drivers/net/de4x5.c | if (sts < 0) { |
sts | 2095 | drivers/net/de4x5.c | next_tick = sts & ~TIMER_CB; |
sts | 2097 | drivers/net/de4x5.c | if (!(sts & STS_LNP) && (lp->autosense == AUTO)) { |
sts | 2127 | drivers/net/de4x5.c | sts = test_media(dev,irqs, irq_mask, 0xef09, 0xf73d, 0x000e, 1000); |
sts | 2128 | drivers/net/de4x5.c | if (sts < 0) { |
sts | 2129 | drivers/net/de4x5.c | next_tick = sts & ~TIMER_CB; |
sts | 2158 | drivers/net/de4x5.c | sts = test_media(dev,irqs, irq_mask, 0xef09, 0xf73d, 0x0006, 1000); |
sts | 2159 | drivers/net/de4x5.c | if (sts < 0) { |
sts | 2160 | drivers/net/de4x5.c | next_tick = sts & ~TIMER_CB; |
sts | 2173 | drivers/net/de4x5.c | if ((sts = ping_media(dev, 3000)) < 0) { |
sts | 2174 | drivers/net/de4x5.c | next_tick = sts & ~TIMER_CB; |
sts | 2176 | drivers/net/de4x5.c | if (sts) { |
sts | 2416 | drivers/net/de4x5.c | s32 sts, csr12; |
sts | 2426 | drivers/net/de4x5.c | sts = inl(DE4X5_STS); |
sts | 2427 | drivers/net/de4x5.c | outl(sts, DE4X5_STS); |
sts | 2436 | drivers/net/de4x5.c | sts = inl(DE4X5_STS) & ~TIMER_CB; |
sts | 2438 | drivers/net/de4x5.c | if (!(sts & irqs) && --lp->timeout) { |
sts | 2439 | drivers/net/de4x5.c | sts = 100 | TIMER_CB; |
sts | 2444 | drivers/net/de4x5.c | return sts; |
sts | 2849 | drivers/net/de4x5.c | s32 sts, ans; |
sts | 2856 | drivers/net/de4x5.c | sts = inl(DE4X5_STS); |
sts | 2857 | drivers/net/de4x5.c | outl(sts, DE4X5_STS); |
sts | 2861 | drivers/net/de4x5.c | sts = inl(DE4X5_STS) & ~TIMER_CB; |
sts | 2863 | drivers/net/de4x5.c | if (!(sts & irqs) && (ans ^ ANS_NWOK) && --lp->timeout) { |
sts | 2864 | drivers/net/de4x5.c | sts = 100 | TIMER_CB; |
sts | 2869 | drivers/net/de4x5.c | return sts; |
sts | 2877 | drivers/net/de4x5.c | s32 imr, sts; |
sts | 2882 | drivers/net/de4x5.c | sts = inl(DE4X5_STS); /* Reset any pending (stale) interrupts */ |
sts | 2883 | drivers/net/de4x5.c | outl(sts, DE4X5_STS); |