Searched refs:MCSPI_CONF_CH (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/arm/ti/ |
H A D | ti_spi.c | 95 conf = TI_SPI_READ(sc, MCSPI_CONF_CH(i)); in ti_spi_printr() 144 reg = TI_SPI_READ(sc, MCSPI_CONF_CH(ch)); in ti_spi_set_clock() 146 TI_SPI_WRITE(sc, MCSPI_CONF_CH(ch), reg | conf); in ti_spi_set_clock() 255 TI_SPI_WRITE(sc, MCSPI_CONF_CH(i), in ti_spi_attach() 487 reg = TI_SPI_READ(sc, MCSPI_CONF_CH(sc->sc_cs)); in ti_spi_transfer() 494 TI_SPI_WRITE(sc, MCSPI_CONF_CH(sc->sc_cs), reg); in ti_spi_transfer() 508 reg = TI_SPI_READ(sc, MCSPI_CONF_CH(sc->sc_cs)); in ti_spi_transfer() 509 TI_SPI_WRITE(sc, MCSPI_CONF_CH(sc->sc_cs), reg |= MCSPI_CONF_FORCE); in ti_spi_transfer() 516 reg = TI_SPI_READ(sc, MCSPI_CONF_CH(sc->sc_cs)); in ti_spi_transfer() 518 TI_SPI_WRITE(sc, MCSPI_CONF_CH(sc->sc_cs), reg); in ti_spi_transfer() [all …]
|
H A D | ti_spireg.h | 59 #define MCSPI_CONF_CH(_c) (0x12c + 0x14 * (_c)) macro
|