Lines Matching defs:ievent
1058 uint32_t ievent = etsec_read(sc, IEVENT);
1059 while ((ievent & imask_gsc_mask) != imask_gsc_mask) {
1064 ievent);
1068 ievent = etsec_read(sc, IEVENT);
2373 uint32_t ievent = etsec_read(sc, IEVENT);
2374 ievent &= IEVENT_TXF | IEVENT_TXB;
2375 etsec_write(sc, IEVENT, ievent); /* write 1 to clear */
2378 aprint_normal_dev(sc->sc_dev, "%s: ievent=%#x imask=%#x\n",
2379 __func__, ievent, etsec_read(sc, IMASK));
2382 if (ievent == 0) {
2406 uint32_t ievent = etsec_read(sc, IEVENT);
2407 ievent &= IEVENT_RXF | IEVENT_RXB;
2408 etsec_write(sc, IEVENT, ievent); /* write 1 to clear */
2409 if (ievent == 0) {
2415 aprint_normal_dev(sc->sc_dev, "%s: ievent=%#x\n", __func__, ievent);
2438 uint32_t ievent = etsec_read(sc, IEVENT);
2439 ievent &= ~(IEVENT_RXF | IEVENT_RXB | IEVENT_TXF | IEVENT_TXB);
2440 etsec_write(sc, IEVENT, ievent); /* write 1 to clear */
2441 if (ievent == 0) {
2450 aprint_normal_dev(sc->sc_dev, "%s: ievent=%#x imask=%#x\n",
2451 __func__, ievent, etsec_read(sc, IMASK));
2454 if (ievent & (IEVENT_GRSC | IEVENT_GTSC)) {
2459 if (ievent & (IEVENT_MMRD | IEVENT_MMWR)) {
2464 if (ievent & IEVENT_BSY) {
2469 if (ievent & IEVENT_TXE) {
2472 sc->sc_txerrors |= ievent;
2474 if (ievent & IEVENT_TXC) {
2477 if (ievent & IEVENT_RXC) {
2480 if (ievent & IEVENT_DPE) {