Lines Matching defs:intr_status
575 static void netdev_error(struct net_device *dev, int intr_status);
579 static void netdev_error(struct net_device *dev, int intr_status);
1312 u32 intr_status = readl(ioaddr + IntrClear);
1316 dev->name, intr_status);
1318 if (intr_status == 0 || intr_status == (u32) -1)
1323 if (intr_status & (IntrRxDone | IntrRxEmpty)) {
1397 if (intr_status & IntrStatsMax)
1401 if (intr_status & IntrLinkChange)
1405 if (intr_status & IntrAbnormalSummary)
1406 netdev_error(dev, intr_status);
1412 dev->name, intr_status);
1556 u32 intr_status;
1566 intr_status = readl(ioaddr + IntrStatus);
1567 } while (intr_status & (IntrRxDone | IntrRxEmpty));
1570 intr_status = readl(ioaddr + IntrEnable);
1571 intr_status |= IntrRxDone | IntrRxEmpty;
1572 writel(intr_status, ioaddr + IntrEnable);
1691 static void netdev_error(struct net_device *dev, int intr_status)
1696 if (intr_status & IntrTxDataLow) {
1704 if (intr_status & IntrRxGFPDead) {
1708 if (intr_status & (IntrNoTxCsum | IntrDMAErr)) {
1712 if ((intr_status & ~(IntrNormalMask | IntrAbnormalSummary | IntrLinkChange | IntrStatsMax | IntrTxDataLow | IntrRxGFPDead | IntrNoTxCsum | IntrPCIPad)) && debug)
1714 dev->name, intr_status);