tag | line | file | source code |
sts | 1117 | drivers/net/de4x5.c | s32 imr, omr, sts; |
sts | 1134 | drivers/net/de4x5.c | sts = inl(DE4X5_STS); /* Read IRQ status */ |
sts | 1135 | drivers/net/de4x5.c | outl(sts, DE4X5_STS); /* Reset the board interrupts */ |
sts | 1137 | drivers/net/de4x5.c | if (!(sts & lp->irq_mask)) break;/* All done */ |
sts | 1139 | drivers/net/de4x5.c | if (sts & (STS_RI | STS_RU)) /* Rx interrupt (packet[s] arrived) */ |
sts | 1142 | drivers/net/de4x5.c | if (sts & (STS_TI | STS_TU)) /* Tx interrupt (packet sent) */ |
sts | 1145 | drivers/net/de4x5.c | if (sts & STS_LNF) { /* TP Link has failed */ |
sts | 1150 | drivers/net/de4x5.c | if (sts & STS_SE) { /* Bus Error */ |
sts | 1153 | drivers/net/de4x5.c | dev->name, sts); |
sts | 1953 | drivers/net/de4x5.c | s32 sts, irqs, irq_mask, imr, omr; |
sts | 1984 | drivers/net/de4x5.c | sts = test_media(dev, irqs, irq_mask, 0xef01, 0xffff, 0x0008, 2400); |
sts | 1985 | drivers/net/de4x5.c | if (sts < 0) { |
sts | 1986 | drivers/net/de4x5.c | next_tick = sts & ~TIMER_CB; |
sts | 1988 | drivers/net/de4x5.c | if (sts & STS_LNP) { |
sts | 2001 | drivers/net/de4x5.c | sts = test_ans(dev, irqs, irq_mask, 3000); |
sts | 2002 | drivers/net/de4x5.c | if (sts < 0) { |
sts | 2003 | drivers/net/de4x5.c | next_tick = sts & ~TIMER_CB; |
sts | 2005 | drivers/net/de4x5.c | if (!(sts & STS_LNP) && (lp->autosense == AUTO)) { |
sts | 2030 | drivers/net/de4x5.c | sts = test_media(dev,irqs, irq_mask, 0xef01, 0xff3f, 0x0008, 2400); |
sts | 2031 | drivers/net/de4x5.c | if (sts < 0) { |
sts | 2032 | drivers/net/de4x5.c | next_tick = sts & ~TIMER_CB; |
sts | 2034 | drivers/net/de4x5.c | if (!(sts & STS_LNP) && (lp->autosense == AUTO)) { |
sts | 2063 | drivers/net/de4x5.c | sts = test_media(dev,irqs, irq_mask, 0xef09, 0xf7fd, 0x000e, 1000); |
sts | 2064 | drivers/net/de4x5.c | if (sts < 0) { |
sts | 2065 | drivers/net/de4x5.c | next_tick = sts & ~TIMER_CB; |
sts | 2093 | drivers/net/de4x5.c | sts = test_media(dev,irqs, irq_mask, 0xef09, 0xf7fd, 0x0006, 1000); |
sts | 2094 | drivers/net/de4x5.c | if (sts < 0) { |
sts | 2095 | drivers/net/de4x5.c | next_tick = sts & ~TIMER_CB; |
sts | 2108 | drivers/net/de4x5.c | if ((sts = ping_media(dev, 3000)) < 0) { |
sts | 2109 | drivers/net/de4x5.c | next_tick = sts & ~TIMER_CB; |
sts | 2111 | drivers/net/de4x5.c | if (sts) { |
sts | 2325 | drivers/net/de4x5.c | s32 sts, csr12; |
sts | 2335 | drivers/net/de4x5.c | sts = inl(DE4X5_STS); |
sts | 2336 | drivers/net/de4x5.c | outl(sts, DE4X5_STS); |
sts | 2345 | drivers/net/de4x5.c | sts = inl(DE4X5_STS) & ~TIMER_CB; |
sts | 2347 | drivers/net/de4x5.c | if (!(sts & irqs) && --lp->timeout) { |
sts | 2348 | drivers/net/de4x5.c | sts = 100 | TIMER_CB; |
sts | 2353 | drivers/net/de4x5.c | return sts; |
sts | 2653 | drivers/net/de4x5.c | s32 sts, ans; |
sts | 2660 | drivers/net/de4x5.c | sts = inl(DE4X5_STS); |
sts | 2661 | drivers/net/de4x5.c | outl(sts, DE4X5_STS); |
sts | 2665 | drivers/net/de4x5.c | sts = inl(DE4X5_STS) & ~TIMER_CB; |
sts | 2667 | drivers/net/de4x5.c | if (!(sts & irqs) && (ans ^ ANS_NWOK) && --lp->timeout) { |
sts | 2668 | drivers/net/de4x5.c | sts = 100 | TIMER_CB; |
sts | 2673 | drivers/net/de4x5.c | return sts; |
sts | 2680 | drivers/net/de4x5.c | s32 imr, sts; |
sts | 2685 | drivers/net/de4x5.c | sts = inl(DE4X5_STS); /* Reset any pending (stale) interrupts */ |
sts | 2686 | drivers/net/de4x5.c | outl(sts, DE4X5_STS); |