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