Searched refs:written_words (Results 1 – 3 of 3) sorted by relevance
294 unsigned int written_words; in tegra_slink_fill_tx_fifo_from_client_txbuf() local303 written_words = min(fifo_words_left, tspi->curr_dma_words); in tegra_slink_fill_tx_fifo_from_client_txbuf()304 nbytes = written_words * tspi->bytes_per_word; in tegra_slink_fill_tx_fifo_from_client_txbuf()314 written_words = max_n_32bit; in tegra_slink_fill_tx_fifo_from_client_txbuf()315 nbytes = written_words * tspi->bytes_per_word; in tegra_slink_fill_tx_fifo_from_client_txbuf()324 tspi->cur_tx_pos += written_words * tspi->bytes_per_word; in tegra_slink_fill_tx_fifo_from_client_txbuf()325 return written_words; in tegra_slink_fill_tx_fifo_from_client_txbuf()
266 unsigned int written_words, fifo_words_left, count; in tegra_qspi_fill_tx_fifo_from_client_txbuf() local276 written_words = min(fifo_words_left, tqspi->curr_dma_words); in tegra_qspi_fill_tx_fifo_from_client_txbuf()277 len = written_words * tqspi->bytes_per_word; in tegra_qspi_fill_tx_fifo_from_client_txbuf()287 tqspi->cur_tx_pos += written_words * tqspi->bytes_per_word; in tegra_qspi_fill_tx_fifo_from_client_txbuf()293 written_words = max_n_32bit; in tegra_qspi_fill_tx_fifo_from_client_txbuf()294 len = written_words * tqspi->bytes_per_word; in tegra_qspi_fill_tx_fifo_from_client_txbuf()309 return written_words; in tegra_qspi_fill_tx_fifo_from_client_txbuf()
300 unsigned int written_words; in tegra_spi_fill_tx_fifo_from_client_txbuf() local309 written_words = min(fifo_words_left, tspi->curr_dma_words); in tegra_spi_fill_tx_fifo_from_client_txbuf()310 nbytes = written_words * tspi->bytes_per_word; in tegra_spi_fill_tx_fifo_from_client_txbuf()320 tspi->cur_tx_pos += written_words * tspi->bytes_per_word; in tegra_spi_fill_tx_fifo_from_client_txbuf()324 written_words = max_n_32bit; in tegra_spi_fill_tx_fifo_from_client_txbuf()325 nbytes = written_words * tspi->bytes_per_word; in tegra_spi_fill_tx_fifo_from_client_txbuf()341 return written_words; in tegra_spi_fill_tx_fifo_from_client_txbuf()