Searched refs:words_to_transfer (Results 1 – 1 of 1) sorted by relevance
737 unsigned int words_to_transfer, rx_fifo_avail; in tegra_i2c_empty_rx_fifo() local757 words_to_transfer = buf_remaining / BYTES_PER_FIFO_WORD; in tegra_i2c_empty_rx_fifo()758 if (words_to_transfer > rx_fifo_avail) in tegra_i2c_empty_rx_fifo()759 words_to_transfer = rx_fifo_avail; in tegra_i2c_empty_rx_fifo()761 i2c_readsl(i2c_dev, buf, I2C_RX_FIFO, words_to_transfer); in tegra_i2c_empty_rx_fifo()763 buf += words_to_transfer * BYTES_PER_FIFO_WORD; in tegra_i2c_empty_rx_fifo()764 buf_remaining -= words_to_transfer * BYTES_PER_FIFO_WORD; in tegra_i2c_empty_rx_fifo()765 rx_fifo_avail -= words_to_transfer; in tegra_i2c_empty_rx_fifo()797 unsigned int words_to_transfer, tx_fifo_avail; in tegra_i2c_fill_tx_fifo() local810 words_to_transfer = buf_remaining / BYTES_PER_FIFO_WORD; in tegra_i2c_fill_tx_fifo()[all …]