Lines Matching refs:intreg
132 uint32_t intreg; member
296 sc->intreg = (sc->intreg & ~INTREG_TDREN) | INTREG_TEEN; in spi_fill_txfifo()
303 uint32_t intreg, status; in spi_intr() local
308 intreg = sc->intreg; in spi_intr()
322 sc->intreg = 0; in spi_intr()
344 sc->intreg = 0; in spi_intr()
347 sc->intreg &= ~(sc->intreg & ~INTREG_TEEN); in spi_intr()
348 sc->intreg |= INTREG_TCEN | INTREG_RREN; in spi_intr()
357 if (sc->intreg != intreg) { in spi_intr()
358 WR4(sc, ECSPI_INTREG, sc->intreg); in spi_intr()
365 status, intreg, sc->intreg); in spi_intr()
391 sc->intreg = INTREG_RDREN | INTREG_TDREN; in spi_xfer_buf()
395 WR4(sc, ECSPI_INTREG, sc->intreg); in spi_xfer_buf()
398 while (err == 0 && sc->intreg != 0) in spi_xfer_buf()