Searched refs:txfifo_cnt (Results 1 – 2 of 2) sorted by relevance
203 u32 tx_data, txfifo_cnt; in xlp_spi_fill_txfifo() local206 txfifo_cnt = xlp_spi_reg_read(xspi, xspi->cs, XLP_SPI_FIFO_WCNT); in xlp_spi_fill_txfifo()207 txfifo_cnt &= XLP_SPI_TXFIFO_WCNT_MASK; in xlp_spi_fill_txfifo()208 txfifo_cnt >>= XLP_SPI_TXFIFO_WCNT_SHIFT; in xlp_spi_fill_txfifo()209 while (xspi->tx_len && (txfifo_cnt < XLP_SPI_FIFO_SIZE)) { in xlp_spi_fill_txfifo()219 txfifo_cnt++; in xlp_spi_fill_txfifo()
225 u8 txfifo_cnt; in fsl_lpspi_write_tx_fifo() local228 txfifo_cnt = readl(fsl_lpspi->base + IMX7ULP_FSR) & 0xff; in fsl_lpspi_write_tx_fifo()230 while (txfifo_cnt < fsl_lpspi->txfifosize) { in fsl_lpspi_write_tx_fifo()234 txfifo_cnt++; in fsl_lpspi_write_tx_fifo()237 if (txfifo_cnt < fsl_lpspi->txfifosize) { in fsl_lpspi_write_tx_fifo()