Lines Matching defs:intreg
132 uint32_t intreg;
296 sc->intreg = (sc->intreg & ~INTREG_TDREN) | INTREG_TEEN;
303 uint32_t intreg, status;
308 intreg = sc->intreg;
322 sc->intreg = 0;
344 sc->intreg = 0;
347 sc->intreg &= ~(sc->intreg & ~INTREG_TEEN);
348 sc->intreg |= INTREG_TCEN | INTREG_RREN;
357 if (sc->intreg != intreg) {
358 WR4(sc, ECSPI_INTREG, sc->intreg);
364 "spi_intr, sreg 0x%08x intreg was 0x%08x now 0x%08x\n",
365 status, intreg, sc->intreg);
391 sc->intreg = INTREG_RDREN | INTREG_TDREN;
394 /* Enable interrupts last; spi_fill_txfifo() can change sc->intreg */
395 WR4(sc, ECSPI_INTREG, sc->intreg);
398 while (err == 0 && sc->intreg != 0)