Searched refs:tx_fifo_avail (Results 1 – 4 of 4) sorted by relevance
216 u32 tx_fifo_avail; in fsl_espi_fill_tx_fifo() local221 tx_fifo_avail = events ? SPIE_TXCNT(events) : FSL_ESPI_FIFO_SIZE; in fsl_espi_fill_tx_fifo()225 while (tx_fifo_avail >= min(4U, tx_left) && tx_left) { in fsl_espi_fill_tx_fifo()237 tx_fifo_avail -= 4; in fsl_espi_fill_tx_fifo()243 tx_fifo_avail -= 2; in fsl_espi_fill_tx_fifo()252 tx_fifo_avail -= 1; in fsl_espi_fill_tx_fifo()266 if (tx_fifo_avail) in fsl_espi_fill_tx_fifo()
797 unsigned int words_to_transfer, tx_fifo_avail; in tegra_i2c_fill_tx_fifo() local803 tx_fifo_avail = FIELD_GET(I2C_MST_FIFO_STATUS_TX, val); in tegra_i2c_fill_tx_fifo()806 tx_fifo_avail = FIELD_GET(I2C_FIFO_STATUS_TX, val); in tegra_i2c_fill_tx_fifo()819 if (words_to_transfer > tx_fifo_avail) in tegra_i2c_fill_tx_fifo()820 words_to_transfer = tx_fifo_avail; in tegra_i2c_fill_tx_fifo()830 tx_fifo_avail -= words_to_transfer; in tegra_i2c_fill_tx_fifo()848 if (tx_fifo_avail > 0 && buf_remaining > 0) { in tegra_i2c_fill_tx_fifo()
210 size_t tx_fifo_avail = idev->fifo_size - readl(idev->base + in altr_i2c_fill_tx_fifo() local212 int bytes_to_transfer = min(tx_fifo_avail, idev->msg_len); in altr_i2c_fill_tx_fifo()
305 size_t tx_fifo_avail = FIFO_SIZE - readl(idev->base + MST_TX_FIFO); in axxia_i2c_fill_tx_fifo() local306 int bytes_to_transfer = min(tx_fifo_avail, msg->len - idev->msg_xfrd); in axxia_i2c_fill_tx_fifo()