Searched refs:intreg (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/arm/freescale/imx/ |
H A D | imx_spi.c | 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() [all …]
|
/freebsd/sys/dev/spibus/controller/rockchip/ |
H A D | rk_spi.c | 112 uint32_t intreg; member 231 sc->intreg |= (IMR_TFEIM | IMR_RFFIM); in rk_spi_fill_txfifo() 248 sc->intreg = 0; in rk_spi_xfer_buf() 251 RK_SPI_WRITE_4(sc, RK_SPI_IMR, sc->intreg); in rk_spi_xfer_buf() 254 while (err == 0 && sc->intreg != 0) in rk_spi_xfer_buf() 376 uint32_t intreg, isr; in rk_spi_intr() local 381 intreg = RK_SPI_READ_4(sc, RK_SPI_IMR); in rk_spi_intr() 393 sc->intreg = 0; in rk_spi_intr() 397 if (sc->intreg != intreg) { in rk_spi_intr() 398 (void)RK_SPI_WRITE_4(sc, RK_SPI_IMR, sc->intreg); in rk_spi_intr()
|
/freebsd/sys/powerpc/powermac/ |
H A D | pmu.c | 601 uint8_t out_len, intreg; in pmu_send() local 603 intreg = pmu_read_reg(sc, vIER); in pmu_send() 604 intreg &= 0x10; in pmu_send() 605 pmu_write_reg(sc, vIER, intreg); in pmu_send() 641 pmu_write_reg(sc, vIER, (intreg == 0) ? 0 : 0x90); in pmu_send()
|