Home
last modified time | relevance | path

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

/linux/drivers/i2c/busses/
H A Di2c-tegra.c798 unsigned int words_to_transfer, tx_fifo_avail; in tegra_i2c_fill_tx_fifo() local
804 tx_fifo_avail = FIELD_GET(I2C_MST_FIFO_STATUS_TX, val); in tegra_i2c_fill_tx_fifo()
807 tx_fifo_avail = FIELD_GET(I2C_FIFO_STATUS_TX, val); in tegra_i2c_fill_tx_fifo()
820 if (words_to_transfer > tx_fifo_avail) in tegra_i2c_fill_tx_fifo()
821 words_to_transfer = tx_fifo_avail; in tegra_i2c_fill_tx_fifo()
831 tx_fifo_avail -= words_to_transfer; in tegra_i2c_fill_tx_fifo()
849 if (tx_fifo_avail > 0 && buf_remaining > 0) { in tegra_i2c_fill_tx_fifo()