Home
last modified time | relevance | path

Searched refs:tx_fifo_avail (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/i2c/busses/
Di2c-tegra.c304 int tx_fifo_avail; in tegra_i2c_fill_tx_fifo() local
310 tx_fifo_avail = (val & I2C_FIFO_STATUS_TX_MASK) >> in tegra_i2c_fill_tx_fifo()
318 if (words_to_transfer > tx_fifo_avail) in tegra_i2c_fill_tx_fifo()
319 words_to_transfer = tx_fifo_avail; in tegra_i2c_fill_tx_fifo()
329 tx_fifo_avail -= words_to_transfer; in tegra_i2c_fill_tx_fifo()
345 if (tx_fifo_avail > 0 && buf_remaining > 0) { in tegra_i2c_fill_tx_fifo()
Di2c-axxia.c260 size_t tx_fifo_avail = FIFO_SIZE - readl(idev->base + MST_TX_FIFO); in axxia_i2c_fill_tx_fifo() local
261 int bytes_to_transfer = min(tx_fifo_avail, msg->len - idev->msg_xfrd); in axxia_i2c_fill_tx_fifo()