Searched refs:rx_fifo_avail (Results 1 – 2 of 2) sorted by relevance
290 int rx_fifo_avail; in tegra_i2c_empty_rx_fifo() local296 rx_fifo_avail = (val & I2C_FIFO_STATUS_RX_MASK) >> in tegra_i2c_empty_rx_fifo()301 if (words_to_transfer > rx_fifo_avail) in tegra_i2c_empty_rx_fifo()302 words_to_transfer = rx_fifo_avail; in tegra_i2c_empty_rx_fifo()308 rx_fifo_avail -= words_to_transfer; in tegra_i2c_empty_rx_fifo()314 if (rx_fifo_avail > 0 && buf_remaining > 0) { in tegra_i2c_empty_rx_fifo()320 rx_fifo_avail--; in tegra_i2c_empty_rx_fifo()323 BUG_ON(rx_fifo_avail > 0 && buf_remaining > 0); in tegra_i2c_empty_rx_fifo()
232 size_t rx_fifo_avail = readl(idev->base + MST_RX_FIFO); in axxia_i2c_empty_rx_fifo() local233 int bytes_to_transfer = min(rx_fifo_avail, msg->len - idev->msg_xfrd); in axxia_i2c_empty_rx_fifo()