Home
last modified time | relevance | path

Searched refs:STM32_SPI_SR (Results 1 – 1 of 1) sorted by relevance

/external/u-boot/drivers/spi/
Dstm32_spi.c24 #define STM32_SPI_SR 0x14 macro
113 (readl(priv->base + STM32_SPI_SR) & SPI_SR_TXP)) { in stm32_spi_write_txfifo()
141 u32 sr = readl(priv->base + STM32_SPI_SR); in stm32_spi_read_rxfifo()
170 sr = readl(priv->base + STM32_SPI_SR); in stm32_spi_read_rxfifo()
233 ret = readl_poll_timeout(priv->base + STM32_SPI_SR, sr, in stm32_spi_stopxfer()
238 if (readl_poll_timeout(priv->base + STM32_SPI_SR, in stm32_spi_stopxfer()
416 sr = readl(priv->base + STM32_SPI_SR); in stm32_spi_xfer()
470 while (readl(priv->base + STM32_SPI_SR) & SPI_SR_TXP) in stm32_spi_get_fifo_size()