Lines Matching refs:intr_sts
745 uint32_t intr_sts, intr_en; in mgb_rxq_intr() local
751 intr_sts = CSR_READ_REG(sc, MGB_INTR_STS); in mgb_rxq_intr()
753 intr_sts &= intr_en; in mgb_rxq_intr()
756 if ((intr_sts & MGB_INTR_STS_RX(qidx))){ in mgb_rxq_intr()
770 uint32_t intr_sts, intr_en; in mgb_admin_intr() local
776 intr_sts = CSR_READ_REG(sc, MGB_INTR_STS); in mgb_admin_intr()
778 intr_sts &= intr_en; in mgb_admin_intr()
781 if ((intr_sts & MGB_INTR_STS_ANY) == 0) in mgb_admin_intr()
783 if ((intr_sts & MGB_INTR_STS_TEST) != 0) { in mgb_admin_intr()
788 if ((intr_sts & MGB_INTR_STS_RX_ANY) != 0) { in mgb_admin_intr()
790 if ((intr_sts & MGB_INTR_STS_RX(qidx))){ in mgb_admin_intr()
797 if ((intr_sts & MGB_INTR_STS_TX_ANY) != 0) { in mgb_admin_intr()
799 if ((intr_sts & MGB_INTR_STS_RX(qidx))) { in mgb_admin_intr()
871 int i, dmac_enable = 0, intr_sts = 0, vec_en = 0; in mgb_intr_enable_all() local
875 intr_sts |= MGB_INTR_STS_ANY; in mgb_intr_enable_all()
879 intr_sts |= MGB_INTR_STS_RX(i); in mgb_intr_enable_all()
886 CSR_WRITE_REG(sc, MGB_INTR_ENBL_SET, intr_sts); in mgb_intr_enable_all()