Lines Matching refs: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); in intr_handler() local
1316 dev->name, intr_status); in intr_handler()
1318 if (intr_status == 0 || intr_status == (u32) -1) in intr_handler()
1323 if (intr_status & (IntrRxDone | IntrRxEmpty)) { in intr_handler()
1397 if (intr_status & IntrStatsMax) in intr_handler()
1401 if (intr_status & IntrLinkChange) in intr_handler()
1405 if (intr_status & IntrAbnormalSummary) in intr_handler()
1406 netdev_error(dev, intr_status); in intr_handler()
1412 dev->name, intr_status); in intr_handler()
1556 u32 intr_status; in netdev_poll() local
1566 intr_status = readl(ioaddr + IntrStatus); in netdev_poll()
1567 } while (intr_status & (IntrRxDone | IntrRxEmpty)); in netdev_poll()
1570 intr_status = readl(ioaddr + IntrEnable); in netdev_poll()
1571 intr_status |= IntrRxDone | IntrRxEmpty; in netdev_poll()
1572 writel(intr_status, ioaddr + IntrEnable); in netdev_poll()
1691 static void netdev_error(struct net_device *dev, int intr_status) in netdev_error() argument
1696 if (intr_status & IntrTxDataLow) { in netdev_error()
1704 if (intr_status & IntrRxGFPDead) { in netdev_error()
1708 if (intr_status & (IntrNoTxCsum | IntrDMAErr)) { in netdev_error()
1712 …if ((intr_status & ~(IntrNormalMask | IntrAbnormalSummary | IntrLinkChange | IntrStatsMax | IntrTx… in netdev_error()
1714 dev->name, intr_status); in netdev_error()