Lines Matching defs:intr_status
415 static void rhine_error(struct net_device *dev, int intr_status);
436 u32 intr_status;
438 intr_status = ioread16(ioaddr + IntrStatus);
441 intr_status |= ioread8(ioaddr + IntrStatus2) << 16;
442 return intr_status;
1310 u32 intr_status;
1314 while ((intr_status = get_intr_status(dev))) {
1318 if (intr_status & IntrTxDescRace)
1320 iowrite16(intr_status & 0xffff, ioaddr + IntrStatus);
1325 dev->name, intr_status);
1327 if (intr_status & (IntrRxDone | IntrRxErr | IntrRxDropped |
1337 if (intr_status & (IntrTxErrSummary | IntrTxDone)) {
1338 if (intr_status & IntrTxErrSummary) {
1351 if (intr_status & (IntrPCIErr | IntrLinkChange |
1354 rhine_error(dev, intr_status);
1359 dev->name, intr_status);
1580 u32 intr_status;
1586 intr_status = get_intr_status(dev);
1588 if ((intr_status & IntrTxErrSummary) == 0) {
1605 dev->name, intr_status);
1610 static void rhine_error(struct net_device *dev, int intr_status)
1617 if (intr_status & IntrLinkChange)
1619 if (intr_status & IntrStatsMax) {
1624 if (intr_status & IntrTxAborted) {
1627 dev->name, intr_status);
1629 if (intr_status & IntrTxUnderrun) {
1637 if (intr_status & IntrTxDescRace) {
1642 if ((intr_status & IntrTxError) &&
1643 (intr_status & (IntrTxAborted |
1653 if (intr_status & (IntrTxAborted | IntrTxUnderrun | IntrTxDescRace |
1657 if (intr_status & ~(IntrLinkChange | IntrStatsMax | IntrTxUnderrun |
1662 "%8.8x.\n", dev->name, intr_status);