Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-drv.c409 unsigned int ecc_isr; in xgbe_ecc_isr_bh_work() local
413 ecc_isr = XP_IOREAD(pdata, XP_ECC_ISR); in xgbe_ecc_isr_bh_work()
414 ecc_isr &= XP_IOREAD(pdata, XP_ECC_IER); in xgbe_ecc_isr_bh_work()
415 netif_dbg(pdata, intr, pdata->netdev, "ECC_ISR=%#010x\n", ecc_isr); in xgbe_ecc_isr_bh_work()
417 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, TX_DED)) { in xgbe_ecc_isr_bh_work()
422 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, RX_DED)) { in xgbe_ecc_isr_bh_work()
427 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, DESC_DED)) { in xgbe_ecc_isr_bh_work()
439 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, TX_SEC)) { in xgbe_ecc_isr_bh_work()
445 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, RX_SEC)) in xgbe_ecc_isr_bh_work()
450 if (XP_GET_BITS(ecc_isr, XP_ECC_ISR, DESC_SEC)) in xgbe_ecc_isr_bh_work()
[all …]
H A Dxgbe-dev.c755 unsigned int ecc_isr, ecc_ier = 0; in xgbe_enable_ecc_interrupts() local
761 ecc_isr = XP_IOREAD(pdata, XP_ECC_ISR); in xgbe_enable_ecc_interrupts()
762 XP_IOWRITE(pdata, XP_ECC_ISR, ecc_isr); in xgbe_enable_ecc_interrupts()