Home
last modified time | relevance | path

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

/linux/drivers/i2c/busses/
H A Di2c-tegra.c1098 unsigned int words_to_transfer, tx_fifo_avail; in tegra_i2c_fill_tx_fifo() local
1104 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()
H A Di2c-axxia.c302 size_t tx_fifo_avail = FIFO_SIZE - readl(idev->base + MST_TX_FIFO); in axxia_i2c_fill_tx_fifo() local
303 int bytes_to_transfer = min(tx_fifo_avail, msg->len - idev->msg_xfrd); in axxia_i2c_fill_tx_fifo()