Searched refs:SPI_SR (Results 1 – 2 of 2) sorted by relevance
91 #define SPI_SR 0x2C /* Status Register */ macro229 while((READ4(sc, SPI_SR) & SR_EOQF) == 0) in spi_txrx()232 reg = READ4(sc, SPI_SR); in spi_txrx()234 WRITE4(sc, SPI_SR, reg); in spi_txrx()238 while((READ4(sc, SPI_SR) & SR_RFDF) == 0) in spi_txrx()
82 #define SPI_SR 0x64 /* Status register */ macro166 while(!(READ4(sc, SPI_SR) & SR_TX_EMPTY)) in spi_txrx()