Lines Matching refs:int_cause
117 static void mge_intr_rx_check(struct mge_softc *sc, uint32_t int_cause,
742 uint32_t int_cause, int_cause_ext;
753 int_cause = MGE_READ(sc, MGE_PORT_INT_CAUSE);
757 if (int_cause & MGE_PORT_INT_RXERRQ0)
760 if (int_cause || int_cause_ext) {
761 MGE_WRITE(sc, MGE_PORT_INT_CAUSE, ~int_cause);
1214 uint32_t int_cause, int_cause_ext;
1227 int_cause = MGE_READ(sc, MGE_PORT_INT_CAUSE);
1241 mge_intr_rx_check(sc, int_cause, int_cause_ext);
1271 uint32_t int_cause, int_cause_ext;
1284 int_cause = MGE_READ(sc, MGE_PORT_INT_CAUSE);
1287 mge_intr_rx_check(sc, int_cause, int_cause_ext);
1293 mge_intr_rx_check(struct mge_softc *sc, uint32_t int_cause,
1297 if (int_cause & MGE_PORT_INT_RXERRQ0) {
1300 ~(int_cause & MGE_PORT_INT_RXERRQ0));
1303 int_cause &= MGE_PORT_INT_RXQ0;
1306 if (int_cause || int_cause_ext) {
1307 MGE_WRITE(sc, MGE_PORT_INT_CAUSE, ~int_cause);