Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/spi/
Dspi-tegra20-slink.c296 unsigned int written_words; in tegra_slink_fill_tx_fifo_from_client_txbuf() local
305 written_words = min(fifo_words_left, tspi->curr_dma_words); in tegra_slink_fill_tx_fifo_from_client_txbuf()
306 nbytes = written_words * tspi->bytes_per_word; in tegra_slink_fill_tx_fifo_from_client_txbuf()
316 written_words = max_n_32bit; in tegra_slink_fill_tx_fifo_from_client_txbuf()
317 nbytes = written_words * tspi->bytes_per_word; in tegra_slink_fill_tx_fifo_from_client_txbuf()
326 tspi->cur_tx_pos += written_words * tspi->bytes_per_word; in tegra_slink_fill_tx_fifo_from_client_txbuf()
327 return written_words; in tegra_slink_fill_tx_fifo_from_client_txbuf()
Dspi-tegra114.c299 unsigned int written_words; in tegra_spi_fill_tx_fifo_from_client_txbuf() local
308 written_words = min(fifo_words_left, tspi->curr_dma_words); in tegra_spi_fill_tx_fifo_from_client_txbuf()
309 nbytes = written_words * tspi->bytes_per_word; in tegra_spi_fill_tx_fifo_from_client_txbuf()
319 tspi->cur_tx_pos += written_words * tspi->bytes_per_word; in tegra_spi_fill_tx_fifo_from_client_txbuf()
323 written_words = max_n_32bit; in tegra_spi_fill_tx_fifo_from_client_txbuf()
324 nbytes = written_words * tspi->bytes_per_word; in tegra_spi_fill_tx_fifo_from_client_txbuf()
340 return written_words; in tegra_spi_fill_tx_fifo_from_client_txbuf()
Dspi-tegra210-quad.c309 unsigned int written_words, fifo_words_left, count; in tegra_qspi_fill_tx_fifo_from_client_txbuf() local
319 written_words = min(fifo_words_left, tqspi->curr_dma_words); in tegra_qspi_fill_tx_fifo_from_client_txbuf()
320 len = written_words * tqspi->bytes_per_word; in tegra_qspi_fill_tx_fifo_from_client_txbuf()
330 tqspi->cur_tx_pos += written_words * tqspi->bytes_per_word; in tegra_qspi_fill_tx_fifo_from_client_txbuf()
336 written_words = max_n_32bit; in tegra_qspi_fill_tx_fifo_from_client_txbuf()
337 len = written_words * tqspi->bytes_per_word; in tegra_qspi_fill_tx_fifo_from_client_txbuf()
352 return written_words; in tegra_qspi_fill_tx_fifo_from_client_txbuf()