Home
last modified time | relevance | path

Searched refs:qec_status (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/sun/
H A Dsunbmac.c717 static void bigmac_is_medium_rare(struct bigmac *bp, u32 qec_status, u32 bmac_status) in bigmac_is_medium_rare() argument
720 if (qec_status & (GLOB_STAT_ER | GLOB_STAT_BM)) { in bigmac_is_medium_rare()
721 if (qec_status & GLOB_STAT_ER) in bigmac_is_medium_rare()
723 if (qec_status & GLOB_STAT_BM) in bigmac_is_medium_rare()
891 u32 qec_status, bmac_status; in bigmac_interrupt() local
897 qec_status = sbus_readl(bp->gregs + GLOB_STAT); in bigmac_interrupt()
899 DIRQ(("qec_status=%08x bmac_status=%08x\n", qec_status, bmac_status)); in bigmac_interrupt()
900 if ((qec_status & (GLOB_STAT_ER | GLOB_STAT_BM)) || in bigmac_interrupt()
902 bigmac_is_medium_rare(bp, qec_status, bmac_status); in bigmac_interrupt()
H A Dsunqe.c471 u32 qec_status; in qec_interrupt() local
475 qec_status = sbus_readl(qecp->gregs + GLOB_STAT); in qec_interrupt()
477 if (qec_status & 0xf) { in qec_interrupt()
504 qec_status >>= 4; in qec_interrupt()