Lines Matching defs:intreg
112 uint32_t intreg;
231 sc->intreg |= (IMR_TFEIM | IMR_RFFIM);
248 sc->intreg = 0;
251 RK_SPI_WRITE_4(sc, RK_SPI_IMR, sc->intreg);
254 while (err == 0 && sc->intreg != 0)
376 uint32_t intreg, isr;
381 intreg = RK_SPI_READ_4(sc, RK_SPI_IMR);
393 sc->intreg = 0;
397 if (sc->intreg != intreg) {
398 (void)RK_SPI_WRITE_4(sc, RK_SPI_IMR, sc->intreg);