Searched refs:MCSPI_CTRL_CH (Results 1 - 2 of 2) sorted by relevance
/freebsd-current/sys/arm/ti/ |
H A D | ti_spireg.h | 84 #define MCSPI_CTRL_CH(_c) (0x134 + 0x14 * (_c)) macro
|
H A D | ti_spi.c | 94 ctrl = TI_SPI_READ(sc, MCSPI_CTRL_CH(i)); 139 reg = TI_SPI_READ(sc, MCSPI_CTRL_CH(ch)); 142 TI_SPI_WRITE(sc, MCSPI_CTRL_CH(ch), reg); 503 reg = TI_SPI_READ(sc, MCSPI_CTRL_CH(sc->sc_cs)); 504 TI_SPI_WRITE(sc, MCSPI_CTRL_CH(sc->sc_cs), reg | MCSPI_CTRL_ENABLE); 526 reg = TI_SPI_READ(sc, MCSPI_CTRL_CH(sc->sc_cs)); 528 TI_SPI_WRITE(sc, MCSPI_CTRL_CH(sc->sc_cs), reg);
|
Completed in 107 milliseconds