Searched refs:written_words (Results 1 – 2 of 2) sorted by relevance
291 unsigned int written_words; in tegra_spi_fill_tx_fifo_from_client_txbuf() local300 written_words = min(fifo_words_left, tspi->curr_dma_words); in tegra_spi_fill_tx_fifo_from_client_txbuf()301 nbytes = written_words * tspi->bytes_per_word; in tegra_spi_fill_tx_fifo_from_client_txbuf()312 written_words = max_n_32bit; in tegra_spi_fill_tx_fifo_from_client_txbuf()313 nbytes = written_words * tspi->bytes_per_word; in tegra_spi_fill_tx_fifo_from_client_txbuf()323 tspi->cur_tx_pos += written_words * tspi->bytes_per_word; in tegra_spi_fill_tx_fifo_from_client_txbuf()324 return written_words; in tegra_spi_fill_tx_fifo_from_client_txbuf()
308 unsigned int written_words; in tegra_slink_fill_tx_fifo_from_client_txbuf() local317 written_words = min(fifo_words_left, tspi->curr_dma_words); in tegra_slink_fill_tx_fifo_from_client_txbuf()318 nbytes = written_words * tspi->bytes_per_word; in tegra_slink_fill_tx_fifo_from_client_txbuf()328 written_words = max_n_32bit; in tegra_slink_fill_tx_fifo_from_client_txbuf()329 nbytes = written_words * tspi->bytes_per_word; in tegra_slink_fill_tx_fifo_from_client_txbuf()338 tspi->cur_tx_pos += written_words * tspi->bytes_per_word; in tegra_slink_fill_tx_fifo_from_client_txbuf()339 return written_words; in tegra_slink_fill_tx_fifo_from_client_txbuf()