Searched refs:txfifo_cnt (Results 1 – 2 of 2) sorted by relevance
202 u32 tx_data, txfifo_cnt; in xlp_spi_fill_txfifo() local205 txfifo_cnt = xlp_spi_reg_read(xspi, xspi->cs, XLP_SPI_FIFO_WCNT); in xlp_spi_fill_txfifo()206 txfifo_cnt &= XLP_SPI_TXFIFO_WCNT_MASK; in xlp_spi_fill_txfifo()207 txfifo_cnt >>= XLP_SPI_TXFIFO_WCNT_SHIFT; in xlp_spi_fill_txfifo()208 while (xspi->tx_len && (txfifo_cnt < XLP_SPI_FIFO_SIZE)) { in xlp_spi_fill_txfifo()218 txfifo_cnt++; in xlp_spi_fill_txfifo()
243 u8 txfifo_cnt; in fsl_lpspi_write_tx_fifo() local246 txfifo_cnt = readl(fsl_lpspi->base + IMX7ULP_FSR) & 0xff; in fsl_lpspi_write_tx_fifo()248 while (txfifo_cnt < fsl_lpspi->txfifosize) { in fsl_lpspi_write_tx_fifo()252 txfifo_cnt++; in fsl_lpspi_write_tx_fifo()255 if (txfifo_cnt < fsl_lpspi->txfifosize) { in fsl_lpspi_write_tx_fifo()