Lines Matching refs:intreg
134 uint32_t intreg;
298 sc->intreg = (sc->intreg & ~INTREG_TDREN) | INTREG_TEEN;
305 uint32_t intreg, status;
310 intreg = sc->intreg;
324 sc->intreg = 0;
346 sc->intreg = 0;
349 sc->intreg &= ~(sc->intreg & ~INTREG_TEEN);
350 sc->intreg |= INTREG_TCEN | INTREG_RREN;
359 if (sc->intreg != intreg) {
360 WR4(sc, ECSPI_INTREG, sc->intreg);
366 "spi_intr, sreg 0x%08x intreg was 0x%08x now 0x%08x\n",
367 status, intreg, sc->intreg);
393 sc->intreg = INTREG_RDREN | INTREG_TDREN;
396 /* Enable interrupts last; spi_fill_txfifo() can change sc->intreg */
397 WR4(sc, ECSPI_INTREG, sc->intreg);
400 while (err == 0 && sc->intreg != 0)