Lines Matching defs:intr_sts
744 uint32_t intr_sts, intr_en;
750 intr_sts = CSR_READ_REG(sc, MGB_INTR_STS);
752 intr_sts &= intr_en;
755 if ((intr_sts & MGB_INTR_STS_RX(qidx))){
769 uint32_t intr_sts, intr_en;
775 intr_sts = CSR_READ_REG(sc, MGB_INTR_STS);
777 intr_sts &= intr_en;
780 if ((intr_sts & MGB_INTR_STS_ANY) == 0)
782 if ((intr_sts & MGB_INTR_STS_TEST) != 0) {
787 if ((intr_sts & MGB_INTR_STS_RX_ANY) != 0) {
789 if ((intr_sts & MGB_INTR_STS_RX(qidx))){
796 if ((intr_sts & MGB_INTR_STS_TX_ANY) != 0) {
798 if ((intr_sts & MGB_INTR_STS_RX(qidx))) {
870 int i, dmac_enable = 0, intr_sts = 0, vec_en = 0;
874 intr_sts |= MGB_INTR_STS_ANY;
878 intr_sts |= MGB_INTR_STS_RX(i);
885 CSR_WRITE_REG(sc, MGB_INTR_ENBL_SET, intr_sts);