Searched refs:tx_fifo_avail (Results 1 – 2 of 2) sorted by relevance
1098 unsigned int words_to_transfer, tx_fifo_avail; in tegra_i2c_fill_tx_fifo() local1104 tx_fifo_avail = FIELD_GET(I2C_MST_FIFO_STATUS_TX, val); in tegra_i2c_fill_tx_fifo()1107 tx_fifo_avail = FIELD_GET(I2C_FIFO_STATUS_TX, val); in tegra_i2c_fill_tx_fifo()1120 if (words_to_transfer > tx_fifo_avail) in tegra_i2c_fill_tx_fifo()1121 words_to_transfer = tx_fifo_avail; in tegra_i2c_fill_tx_fifo()1131 tx_fifo_avail -= words_to_transfer; in tegra_i2c_fill_tx_fifo()1149 if (tx_fifo_avail > 0 && buf_remaining > 0) { in tegra_i2c_fill_tx_fifo()
302 size_t tx_fifo_avail = FIFO_SIZE - readl(idev->base + MST_TX_FIFO); in axxia_i2c_fill_tx_fifo() local303 int bytes_to_transfer = min(tx_fifo_avail, msg->len - idev->msg_xfrd); in axxia_i2c_fill_tx_fifo()