Lines Matching refs:fifo_status
79 u32 fifo_status;/* 014:SPI_FIFO_STATUS register */ member
156 setbits_le32(®s->fifo_status, in tegra114_spi_probe()
166 debug("%s: FIFO STATUS = %08x\n", __func__, readl(®s->fifo_status)); in tegra114_spi_probe()
245 reg = readl(®s->fifo_status); in tegra114_spi_xfer()
246 writel(reg, ®s->fifo_status); in tegra114_spi_xfer()
285 u32 fifo_status, xfer_status; in tegra114_spi_xfer() local
291 fifo_status = readl(®s->fifo_status); in tegra114_spi_xfer()
292 if (fifo_status & SPI_FIFO_STS_ERR) { in tegra114_spi_xfer()
294 if (fifo_status & SPI_FIFO_STS_TX_FIFO_OVF) in tegra114_spi_xfer()
296 if (fifo_status & SPI_FIFO_STS_TX_FIFO_UNR) in tegra114_spi_xfer()
298 if (fifo_status & SPI_FIFO_STS_RX_FIFO_OVF) in tegra114_spi_xfer()
300 if (fifo_status & SPI_FIFO_STS_RX_FIFO_UNR) in tegra114_spi_xfer()
302 if (fifo_status & SPI_FIFO_STS_TX_FIFO_FULL) in tegra114_spi_xfer()
304 if (fifo_status & SPI_FIFO_STS_TX_FIFO_EMPTY) in tegra114_spi_xfer()
306 if (fifo_status & SPI_FIFO_STS_RX_FIFO_FULL) in tegra114_spi_xfer()
308 if (fifo_status & SPI_FIFO_STS_RX_FIFO_EMPTY) in tegra114_spi_xfer()
314 if (!(fifo_status & SPI_FIFO_STS_RX_FIFO_EMPTY)) { in tegra114_spi_xfer()
335 writel(readl(®s->fifo_status), ®s->fifo_status); in tegra114_spi_xfer()
342 __func__, tmpdin, readl(®s->fifo_status)); in tegra114_spi_xfer()