Searched refs:AW_SPI_WRITE_4 (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/dev/spibus/controller/allwinner/ |
H A D | aw_spi.c | 162 #define AW_SPI_WRITE_4(sc, reg, val) bus_write_4((sc)->res[0], (reg), (val)) macro 290 AW_SPI_WRITE_4(sc, AW_SPI_GCR, reg); in aw_spi_setup_mode() 299 AW_SPI_WRITE_4(sc, AW_SPI_TCR, reg); in aw_spi_setup_mode() 317 AW_SPI_WRITE_4(sc, AW_SPI_TCR, reg); in aw_spi_setup_cs() 378 AW_SPI_WRITE_4(sc, AW_SPI_CCR, ccr); in aw_spi_setup_clock() 444 AW_SPI_WRITE_4(sc, AW_SPI_IER, AW_SPI_IER_TC | in aw_spi_intr() 453 AW_SPI_WRITE_4(sc, AW_SPI_IER, 0); in aw_spi_intr() 459 AW_SPI_WRITE_4(sc, AW_SPI_ISR, intr); in aw_spi_intr() 477 AW_SPI_WRITE_4(sc, AW_SPI_FCR, AW_SPI_FCR_TX_RST | AW_SPI_FCR_RX_RST); in aw_spi_xfer() 493 AW_SPI_WRITE_4(sc, AW_SPI_FCR, in aw_spi_xfer() [all …]
|